Skip to content

how to change the topic publish frequency of imu or other sensor? #919

Open
@lkx8421

Description

@lkx8421

When I use webots to publish imu topic, the urdf infomation such as this
image
and in my code i set TIME_STEP = 5 use
WbFieldRef field = wb_supervisor_node_get_field(time_node, "basicTimeStep"); wb_supervisor_field_set_sf_float(field, TIME_STEP);
but the topic frequecy is always like
image
image
i dont know how to change it in 5ms to publish

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions