Robotics StackExchange | Archived questions

Can't execute ROSARIA in p3dx

Hello,

I have a P3DX with an onboard computer running ubuntu 14.04.

I installed ROS indigo, libaria and ROSARIA following this tutorial. It seems that everything have been installed correctly, and I launched successfuly the ros master, but when I try to execute this command :

rosrun rosaria RosAria

I got this error message :

[ INFO] [1429803945.413642802]: RosAria: using port: [/dev/ttyUSB0] Could not connect to simulator, connecting to robot through serial port /dev/ttyUSB0. ArSerialConnection::open: Could not open serial port '/dev/ttyUSB0' | ErrorFromOSNum: 2 ErrorFromOSString: No such file or directory Could not connect, because open on the device connection failed. Failed to connect to robot.

[ERROR] [1429803945.444559301]: RosAria: ARIA could not connect to robot! (Check ~port parameter is correct, and permissions on port device.)

[FATAL] [1429803945.444686971]: RosAria: ROS node setup failed...

Can you help me please ?

Asked by Horse-man on 2015-04-24 05:09:49 UTC

Comments

Is the robot connected to onboard computer using serial cable or usb cable? cross check that first. If its a serial connection the port parameter should be /dev/ttyS0.

Asked by AlexR on 2015-04-28 13:50:15 UTC

As "onboard computer" I refer to the internal computer integrated inside the p3dx. I've used the /dev/ttyS0 port and that works fine, thanks. So I figure out that the internal computer of the p3dx is connected to the robot hardware throught the serial port !

Asked by Horse-man on 2015-04-29 08:23:23 UTC

Glad that you could solve the problem. Please mark the comment as answer if it helped you. Cheers.

Asked by AlexR on 2015-04-29 09:35:57 UTC

Answers