0
$\begingroup$

I wish to change the time step in Gazebo for ROS 2. The /gazebo/set_parameter is shown by ros2 service list but upon calling, it shows waiting for service to become available.

I am running the following command:

ros2 service call /gazebo/setparameter rcl_interfaces/srv/SetParameters '{parameters: [{name: "max_time_step", value: {type: 3,double_value: 0.01}}]}'
  1. Can we call rcl_interfaces/srv/SetParameters service like this?
  2. What is the type for double data type.
$\endgroup$
1
  • 1
    $\begingroup$ Welcome to Robotics Stack Exchange! Your command is missing _ and using setparameter instead of set_parameter. Please confirm. $\endgroup$
    – ravi
    Commented Oct 20, 2023 at 10:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.