GPS error receiving data [closed]
Hi,
I am running ROS noetic on a Odroid N2+ board. a board with a main CPU based on big.Little architecture which integrates a quad-core ARM Cortex-A73 CPU cluster and a dual core Cortex-A53 cluster with a Mali-G52 GPU.
Im using a GPS GARMIN 18XPC, with an RS232-USB adapter, to read data from it.
Also, I am using both: nmea_navsat and gps_umd ROS packages
When i read data with the comand:
rosrun nmea_navsat_driver nmea_serial_driver _port:=/dev/ttyUSB0 _baud:=38400
The topic /fix is empty. But when i use
rosrun nmea_navsat_driver nmea_serial_driver _port:=/dev/ttyUSB0 _baud:=19200
I got and instanteneous meesage with this output:
[WARN] [1631765620.672708]: Received a sentence with an invalid checksum. Sentence was: '\x12\x14\x15\x14\x15'
[WARN] [1631765620.678080]: Received a sentence with an invalid checksum. Sentence was: '\x02\t\x1a\x02\t\x13\t\x02\x02'
[WARN] [1631765620.682416]: Received a sentence with an invalid checksum. Sentence was: '\x13'
[WARN] [1631765620.688410]: Received a sentence with an invalid checksum. Sentence was: '\x02\t\x12\x02\t\x13\x19\t\t\t\t\t\x12\t\x02'
[WARN] [1631765620.699708]: Received a sentence with an invalid checksum. Sentence was: '\x12\t\x13'
[WARN] [1631765620.705498]: Received a sentence with an invalid checksum. Sentence was: '\x12\t\x13\t\x04'
[WARN] [1631765620.711216]: Received a sentence with an invalid checksum. Sentence was: '\x12\x14\x15\x14\x05\x15\t\x02'
[WARN] [1631765620.715642]: Received a sentence with an invalid checksum. Sentence was: '\x02\x19\x0c\x0c\t\x1a\x02\t\x13'
[WARN] [1631765620.721294]: Received a sentence with an invalid checksum. Sentence was: '\x13\t\r\x19\x13\t\x13\x13'
and topic /fix is still empty.
I also used gtkterm to evaluate the port and I received this "binary Xff " characters. BUt when i tried gtkterm on the pc, it shows coherent mesages.
¿Can you recomend me a solution? . .
Additional info:
My Env Variables:
- ROS_VERSION=1
- ROS_PYTHON_VERSION=3
- ROS_PACKAGE_PATH=/home/odroid/catkin_ws/src:/opt/ros/noetic/share
- ROSLISP_PACKAGE_DIRECTORIES=/home/odroid/catkin_ws/devel/share/common-lisp
- ROS_ETC_DIR=/opt/ros/noetic/etc/ros
- ROS_MASTER_URI=http://localhost:11311
- ROS_ROOT=/opt/ros/noetic/share/ros
- ROS_DISTRO=noetic
It was the SERIAL-USB cable. I recomend to use FTDI or PROLIFIC standard in order to get more secure results. I changed the cable and all works fine