0
$\begingroup$

Rosanswers logo

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,


Originally posted by imageryeel on ROS Answers with karma: 5 on 2013-01-24

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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


Originally posted by dornhege with karma: 31395 on 2013-01-24

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.