[ros-users] Moving NXT's motor

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: ros-users
Subject: [ros-users] Moving NXT's motor
Hi, I've been playing with ROS+Lego NXT and after successfully playing
with the sensors I got stuck trying to move one motor.

The only parameter I found on nxt_msgs related to that is
JointCommand, but JointCommand only has "effort".

So I tried:
rostopic pub /joint_command nxt_msgs/JointCommand '{name: 'motor', effort: 10}'

And confirmed that this value changed with:
rostopic echo joint_command
---
name: motor
effort: 10.0
--

But no movement. I also tried the nxt_teleop demo, but no matter the
arrow key I press, none of the motor move.

Any ideas?

thanks

[]s Rafael.
Linux User #56352