TF/Gazebo not working how I wanted... [closed]

asked 2013-05-06 06:44:21 -0500

azalutsky gravatar image

updated 2013-05-06 13:11:04 -0500

I have a *.xacro file which assembles my robot.

I have it do something for the sort:

base_link -> sensor_yaw_joint -> sensor_yaw_link -> sensor_pitch_joint -> sensor_pitch_link -> sensor_joint -> sensor_link

sensor_yaw_joint is a continuous joint. sensor_pitch_joint is a revolute joint.

There is an actual coordinate transformation from the base_link to the sensor_yaw_joint. I have a problem where when I run the simulator, gazebo shows the object and appears to work... where rviz just shows the object at 0,0,0 and there is no tf. I don't understand how to write attach a controller to a joint, either. I wrote the controller that should control the sensor_yaw_joint and sensor_pitch_joint with no luck of figuring out how to control these.

Rviz is saying my tree is: -sensor_pitch_link -sensor_link -world -base_link -(other links)

Don't understand where sensor_yaw_link went and what is going on.

Any help would be appreciated.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2013-08-25 20:25:20

Comments

Please provide enough information for us to try to reproduce your issue otherwise we'll just be guessing in the dark. http://ros.org/wiki/Support

tfoote gravatar image tfoote  ( 2013-05-06 13:21:45 -0500 )edit