septentrio-gnss / septentrio_gnss_driver

ROS 1 & 2 driver for Septentrio GNSS & INS receivers
BSD 3-Clause "New" or "Revised" License
82 stars 39 forks source link

[FEATURE] Handling and publishing from PCAP files #37

Closed winwinashwin closed 3 years ago

winwinashwin commented 3 years ago

Description

Driver is now able to handle pcap files as device parameters, process data and publish in ROS topics

Dependency updates

Driver package now depends on pcap Packet Capture library. The package README, CMakeLists.txt and package.xml has been appropriately updated.

Brief implementation details

An auxiliary class for handling PCAP files was created that writes the raw data to a specified buffer. Rest of the pipeline follows the same steps as for the SBF log file handling.

Testing

Package compiled and tested on a Debian (stretch) based docker container running ROS Melodic using PCAP captures from the Mosaic-X5 GNSS module. Pcap file used for testing can be found here