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

ros gazebo plugin : joint state topic frame_id is blank [closed]

asked 2013-08-22 16:30:11 -0500

rnunziata gravatar image

I am running the gazebo plugin that publishes "/rrbot/joint1_position_controller/state" topics for defined joint transmissions.

The data is published but the frame_id is blank.

Should the frame id be present? And should it in the above case "Joint1" or whatever name is given in the yaml file.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rnunziata
close date 2013-08-23 03:08:19

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-22 21:01:30 -0500

Adolfo Rodriguez T gravatar image

The frame_id field represents the "frame this data is associated with" (source: std_msgs/Header). Messages carrying joint-space information (like in your case) have no frame associated to their data.

Note that the message definition states that the special value zero represents no frame, but in practice it's much more common to leave the field unspecified than to set it to zero.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-08-22 16:30:11 -0500

Seen: 448 times

Last updated: Aug 22 '13