how to get the data from subscriber
Hi,
In python I have this:
self.cmd_vel_sub = rospy.Subscriber('cmd_vel', Twist, self.cmd_vel)
and I need to access the angular velocity of this subscriber. How can I do it?
I've tried:
self.cmd_vel_sub[1][2]
self.cmd_vel_sub.angle.z
But non work.
Thanks.