Can't execute ROSARIA in p3dx [closed]

asked 2015-04-24 05:09:49 -0500

Horse-man gravatar image


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 ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Horse-man
close date 2015-04-29 10:22:43.813305



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.

AlexR gravatar image AlexR  ( 2015-04-28 13:50:15 -0500 )edit

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 !

Horse-man gravatar image Horse-man  ( 2015-04-29 08:23:23 -0500 )edit

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

AlexR gravatar image AlexR  ( 2015-04-29 09:35:57 -0500 )edit