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

Revision history [back]

click to hide/show revision 1
initial version

In the example you posted, it shows that you used /dev/ttyS0 instead of /dev/ttyUSB0 in your attempt to connect, so make sure that you use the correct syntax. I use an AmigoBot, not a P3-AT, but it sounds like the connection process is similar when using the serial port. I usually use the following process to connect with RosAria.

-Turn on the robot and laptop and connect them with the RS-232 cable -Run 'roscore' on laptop terminal (1) -Run 'sudo chmod 666 /dev/ttyUSB0' on a new laptop terminal (2) -Run 'rosrun rosaria RosAria _port:=/dev/ttyUSB0' on laptop terminal (2)

Additionally, if you are using an RS-232 extension cable, you should verify that it is the correct type. The AmigoBot uses a straight through, not a null modem. Null modem cables have a different wiring configuration; I'm not sure which the P3AT uses, but you should double check. Additionally, some cables don't have all of the pins connected, so that could also be causing problems.

In the example you posted, it shows that you used /dev/ttyS0 instead of /dev/ttyUSB0 in your attempt to connect, so make sure that you use the correct syntax. I use an AmigoBot, not a P3-AT, but it sounds like the connection process is similar when using the serial port. I usually use the following process to connect with RosAria.

-Turn on the robot and laptop and connect them with the RS-232 cable cable

-Run 'roscore' on laptop terminal (1) (1)

-Run 'sudo chmod 666 /dev/ttyUSB0' on a new laptop terminal (2) (2)

-Run 'rosrun rosaria RosAria _port:=/dev/ttyUSB0' on laptop terminal (2)

Additionally, if you are using an RS-232 extension cable, you should verify that it is the correct type. The AmigoBot uses a straight through, not a null modem. Null modem cables have a different wiring configuration; I'm not sure which the P3AT uses, but you should double check. Additionally, some cables don't have all of the pins connected, so that could also be causing problems.