P2os and rosaria not connecting to Pioneer P3-AT
I have pioneer p3-at robot and a separate laptop with Ubuntu 14.04 and Ros Indigo properly installed in it.
I downloaded p2os from https://github.com/allenh1/p2os and rosaria from https://github.com/amor-ros-pkg/rosar...
I am connecting robot to laptop via serial(robot) to usb(laptop) converter with RS-232 cable
But every time I run command
sudo usermod -a -G dialout $USER
Then I logged out and again logged in
sudo chmod 777 -R /dev/ttyUSB0
rosrun rosaria RosAria _port:=/dev/ttyUSB0
But I get this error
shivam@shivam-Inspiron-3542:~$ : rosrun rosaria RosAria
[ INFO] [1422444061.117081691]: RosAria: using port: [/dev/ttyS0]
Could not connect to simulator, connecting to robot through serial port /dev/ttyS0.
Syncing 0
No packet.
Syncing 0
No packet.
Trying to close possible old connection
Syncing 0
No packet.
Syncing 0
No packet.
Robot may be connected but not open, trying to dislodge.
Syncing 0
No packet.
Robot may be connected but not open, trying to dislodge.
Syncing 0
No packet.
Could not connect, no robot responding.
Failed to connect to robot.
[ERROR] [1422444067.613784823]: RosAria: ARIA could not connect to robot! (Check ~port parameter is correct, and permissions on port device.)
[FATAL] [1422444067.613882512]: RosAria: ROS node setup failed...
And when I run p2os it shows this
[ERROR] [1349087058.764888277]: Error reading packet header from robot connection: P2OSPacket():Receive():read():
.
.
[ERROR] [1349087114.446749752]: Error reading packet header from robot connection: P2OSPacket():Receive():read():
[ERROR] [1349087114.447846009]: p2os setup failed...
[p2os-1] process has died [pid 12089, exit code 255]
Robot is working properly. I tried it with Aria Library which comes with p3-at. Actually robot has windows-7 installed in its onboard pc which I think should not be a problem because I am connecting it using the serial port of the robot. And no where it mentions that robot's OS is important