reedhedges / AriaCoda

Fork and continuation of the old ARIA library for use with Pioneer-compatible mobile robots. AriaCoda is based on the GPL-licensed ARIA library from MobileRobots Inc, which is no longer maintained. Various bug fixes, changes and improvements have been made. See README.md for more infor
Other
30 stars 25 forks source link

Bad packet and Bad checksum #7

Open khuechuong opened 3 years ago

khuechuong commented 3 years ago

I got this error and I am not sure what packet 0x20 or 0x32 means. Is it a hardware issue? Any help is appreciated! Thank you!

[ INFO] [1625177470.016575528]: RosAria: set port: [/dev/ttyUSB0] Connnecting to robot using TCP connection to localhost:8101... Could not connect to simulator, connecting to robot through serial port /dev/ttyUSB0. Syncing 0 Syncing 1 Syncing 2 Connected to robot. Name: UNR_63 Type: Pioneer Subtype: seekurjr ArConfig: Config version: 2.0 Loaded robot parameters from /usr/local/Aria/params/seekurjr.p ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x20) Robot Serial Number: SKRJ0063 ArRobotConnector: Connecting to MTX batteries (if neccesary)... ArRobotConnector: Connecting to MTX sonar (if neccesary)... [ INFO] [1625177471.122501187]: This robot's TicksMM parameter: 0 [ INFO] [1625177471.124512468]: This robot's DriftFactor parameter: 0 [ INFO] [1625177471.126114300]: This robot's RevCount parameter: 0 [ INFO] [1625177471.175764378]: rosaria: Setup complete ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) [ INFO] [1625177471.312259232]: RosAria: publishing new recharge state 0. [ INFO] [1625177471.312405153]: RosAria: publishing new motors state 0. ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobot::myPacketReader: Timed out (4) at 7368 (200 into cycle after sleeping 200) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobot::myPacketReader: Timed out (4) at 12277 (200 into cycle after sleeping 200) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobotPacketReceiver::receivePacket: Warning: bad packet, bad checksum (received packet type ID 0x32) ArRobot::myPacketReader: Timed out (4) at 17187 (200 into cycle after sleeping 200)