Skip to content

getting ros nxt out of the closet

 

https://github.com/NXT-ROS/nxt

This package isn’t installed by default

sudo apt-get install python-nxt

make sure quotes are there. should probably just be 660, i changed it while i was having issues

cat /etc/udev/rules.d/70-lego.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0694", GROUP="lego", MODE="0666"

reading from the sensor

rostopic echo my_touch_sensor

moving the motor

rostopic pub -1 joint_command nxt_msgs/JointCommand -- motor_joint 0.9

To use the base nxt packages with the nxt_robots package you will need to chain together the catkin workspaces

https://github.com/NXT-ROS/nxt_robots

 

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*