Wednesday, July 15, 2009

Controlling Nero with Playerjoy

Great news comrades!

We could control Nero with the playerjoy util using the usb-serial cable. What we did was simply creating a nero.cfg file using the "p2os" driver for Activmedia robots. This is the code:

driver
(
name "p2os"
provides ["position2d:0" "power:0" "sonar:0"]
port "/dev/ttyUSB0"
safe 1
)

We then just executed playerjoy succesfully. Tomorrow we are going use Nero's serial port to control Nero with a bluetooth device and see him roaming in the lab's floor for the first time :).

See you!

No comments:

Post a Comment