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

Turtlesim Pose theta

asked 2013-01-24 05:52:46 -0600

imageryeel gravatar image

Hi all,

I'm trying to get the theta (or any) float variable from the turtlesim.msg Pose, and not having any luck.

I've been trying things like;

subscribing directly to theta, rospy.Subscriber("turtle1/pose", turtlesim.msg.Pose('theta'))

or by subscribing to pose and pulling theta out of the pose msg

Thanks for any help,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-01-24 06:02:44 -0600

dornhege gravatar image

Subscribing to the pose and retrieving values from the message is the way to do it and does work.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-24 05:52:46 -0600

Seen: 1,434 times

Last updated: Jan 24 '13