Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 26

How can I subscribe joint_controller/state from dynamixel

$
0
0
Hi, I write the following code to subscribe . How can I get the current pos data. import rospy from dynamixel_msgs import JointState def callback(data): print "callback" print data def listener(): rospy.init_node('starter', anonymous=True) rospy.Subscriber("/joint6_controller/state", current_pos, callback) rospy.spin() if __name__ == '__main__': listener()

Viewing all articles
Browse latest Browse all 26

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>