ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi @Rizqa,

If you are using the current version of the robotis package from here http://code.google.com/p/gt-ros-pkg/source/browse/ repo=hrl#git%2Fhrl_hardware_drivers%2Frobotis, then it appears that it is no longer reading ROS parameters to set the baudrate and port. The defaults are 57600 for baudrate and /dev/ttyUSB0 for the port. You probably need to change the baudrate to 1000000 which you can do by editing the lib_robotis.py file:

$ roscd robotis/src/robotis

Then edit the file lib_robotis.py and change the baud rate to 1000000. This worked for me.

--patrick

click to hide/show revision 2
Fixed URL so it doesn't break due to line wrap

Hi @Rizqa,

If you are using the current version of the robotis package from here http://code.google.com/p/gt-ros-pkg/source/browse/ repo=hrl#git%2Fhrl_hardware_drivers%2Frobotishere, then it appears that it is no longer reading ROS parameters to set the baudrate and port. The defaults are 57600 for baudrate and /dev/ttyUSB0 for the port. You probably need to change the baudrate to 1000000 which you can do by editing the lib_robotis.py file:

$ roscd robotis/src/robotis

Then edit the file lib_robotis.py and change the baud rate to 1000000. This worked for me.

--patrick