ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I think gazebo would react to a service call, not to a parameter change on the parameter server
maybe try using the
rosservice call /gazebo/set_physics_properties
and copy the current properties that you get with
rosservice call /gazebo/get_physics_properties
something like
rosservice call /gazebo/set_physics_properties "time_step: 0.001
max_update_rate: 1000.0
gravity:
x: 0.0
y: 0.0
z: 0.0
ode_config:
auto_disable_bodies: False
sor_pgs_precon_iters: 0
sor_pgs_iters: 50
sor_pgs_w: 1.3
sor_pgs_rms_error_tol: 0.0
contact_surface_layer: 0.001
contact_max_correcting_vel: 100.0
cfm: 0.0
erp: 0.2
max_contacts: 100"