ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

reload urdf for robot_state_publisher?

asked 2015-07-03 02:31:02 -0600

NEngelhard gravatar image

I am currently improving the calibration procedure for my robot and create an urdf-file according to some calibration values. After I have measured a new value (e.g. maximal position for an axis), I update the urdf file and upload it to the parameter server. However, the robot_state_publisher does not reload this parameter regularly so that a change of the robot-description-Parameter is not reflected e.g. in RVIZ.

I currently just kill the robot_state_publisher (and launch it with respawn), but that it's a bit ugly. I don't care if the frames are jumping after the reload, I'd just be happy to have a possibility to specify and update-intervall so that the param is read regularly.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-07-03 03:04:50 -0600

mgruhler gravatar image

This is not possible another way at the moment. However, I'd like to see a way to reload this as well (e.g. by calling a service or something).

You could either send a feature request or implement it yourself and send a PR (which might be preferable as currently I don't know who is actually working on this).

edit flag offensive delete link more

Comments

Thanks. I'll open a feature request and if others also need it, I\m going to implement it. Issue can be found here

NEngelhard gravatar image NEngelhard  ( 2015-07-03 03:24:30 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2015-07-03 02:31:02 -0600

Seen: 804 times

Last updated: Jul 03 '15