nmea_navsat_driver
nmea_navsat_driver copied to clipboard
[bug] Using UDP communication, some statements fail to match because line breaks are not cleanly filtered.
settled
- [x] brach: ros2
- [x] commit: 861323c
- [x] Already read the document
- [x] Debugging the code to make sure it's a code bug
- [x] Tested TCP and UDP against each other: no problems with TCP, problems with UDP line breaks `\r
- [x] Grab packets via wireshark:
- [x] Make sure there are no problems with the data
- [x] Determine that TCP and UDP are receiving the same data
Description of the problem
UDP test: match failed because a statement line break was not filtered cleanly
https://github.com/ros-drivers/nmea_navsat_driver/blob/b168f499349e5f26e3aed9982deb44ed2f41f8e2/src/libnmea_navsat_driver/parser.py#L288
Possible causes
https://github.com/ros-drivers/nmea_navsat_driver/blob/861323c83c04ca02454187c85528ddca9a7ef94d/src/libnmea_navsat_driver/nodes/nmea_socket_driver.py#L81