0
$\begingroup$

Rosanswers logo

Hello I would like to have loop over the following command

rostopic pub /joint_angles nao_msgs/JointAnglesWithSpeed -- '[ 1, now, Head]' '[HeadYaw,HeadPitch]' '[1,-1]' 1.0 0

It means I would like NAO continuously with certain frequency can moves its head.

I will appreciate if you help me


Originally posted by Mohsen 2013 on ROS Answers with karma: 3 on 2013-07-29

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You should probably write a ROS node to do this, rather than try to script the command-line tools. You may want to start with the ROS python tutorial


Originally posted by ahendrix with karma: 47576 on 2013-07-29

This answer was ACCEPTED on the original site

Post score: 3

$\endgroup$

Your Answer

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