How arthurqi0825/nlink_parser works
NLink Parser is a ROS package that reads Nooploop device frames over serial, extracts and unpacks product protocols, and publishes corresponding ROS messages. The principal workflow is represented for LinkTrack, LinkTrack AOA, TOFSense, TOFSense-M, and IOT; LinkTrack also accepts data-transmission messages and has an RViz converter. The shared serial setup, protocol extractor, NLink protocol layer, and C unpackers are shown as internal layers. Some variant wiring is documented or indexed rather than excerpted, so those relationships cite the README or SOURCE INDEX evidence.
Main entry points: init_serial.cpp Serial setup · nlink_protocol.cpp NLink protocol layer · nprotocol_extracter.cpp Frame extractor · main.cpp LinkTrack node
Components 20
Product nodes
- LinkTrack node
src/linktrack/main.cpp - LinkTrack handlers
src/linktrack/init.cpp - AOA node
src/linktrack_aoa/main.cpp - AOA handlers
src/linktrack_aoa/init.cpp - TOFSense node
src/tofsense/main.cpp - TOFSense handlers
src/tofsense/init.cpp - TOFSense-M node
src/tofsensem/main.cpp - TOFSense-M handlers
src/tofsensem/init.cpp - IOT node
src/iot/main.cpp - IOT handlers
src/iot/init.cpp - RViz converter
src/linktrack/main_rviz_converter.cpp
Shared runtime
- Serial setup
src/utils/init_serial.cpp - Serial library
extern/serial/src/serial.cc
Protocol parsing
- Frame extractor
src/utils/protocol_extracter/nprotocol_extracter.cpp - NLink protocol layer
src/utils/nlink_protocol.cpp - LinkTrack protocols
src/linktrack/protocols.cpp - Product frame unpackers
src/utils/nlink_unpack
ROS outputs
- ROS product topics
- Data transmission topic
Other components
- Nooploop device
Connections 33
- Nooploop device → Serial setup: sends serial data
README.md - LinkTrack node → Serial setup: configures serial
src/linktrack/main.cpp - AOA node → Serial setup: configures serial
src/linktrack_aoa/main.cpp - TOFSense node → Serial setup: configures serial
src/tofsense/main.cpp - TOFSense-M node → Serial setup: configures serial
src/tofsensem/main.cpp - IOT node → Serial setup: configures serial
src/iot/main.cpp - Serial setup → Serial library: uses
src/utils/init_serial.cpp - LinkTrack node → Frame extractor: feeds received bytes
src/linktrack/main.cpp - AOA node → Frame extractor: feeds received bytes
src/linktrack_aoa/main.cpp - TOFSense node → Frame extractor: feeds received bytes
src/tofsense/main.cpp - TOFSense-M node → Frame extractor: feeds received bytes
src/tofsensem/main.cpp - IOT node → Frame extractor: feeds received bytes
src/iot/main.cpp - LinkTrack node → LinkTrack handlers: constructs handler
src/linktrack/main.cpp - AOA node → AOA handlers: constructs handler
src/linktrack_aoa/main.cpp - TOFSense node → TOFSense handlers: constructs handler
src/tofsense/main.cpp - TOFSense-M node → TOFSense-M handlers: constructs handler
src/tofsensem/main.cpp - IOT node → IOT handlers: constructs handler
src/iot/main.cpp - LinkTrack handlers → LinkTrack protocols: uses protocols
src/linktrack/init.cpp - LinkTrack protocols → NLink protocol layer: extends
- LinkTrack handlers → NLink protocol layer: registers protocols
- AOA handlers → NLink protocol layer: uses protocol layer
src/linktrack_aoa/init.cpp - TOFSense handlers → NLink protocol layer: uses protocol layer
src/tofsense/init.cpp - TOFSense-M handlers → NLink protocol layer: uses protocol layer
src/tofsensem/init.cpp - IOT handlers → NLink protocol layer: uses protocol layer
src/iot/init.cpp - NLink protocol layer → Frame extractor: participates in extraction
- LinkTrack protocols → Product frame unpackers: uses frame types
- LinkTrack handlers → ROS product topics: publishes frames
README.md - AOA handlers → ROS product topics: publishes frames
README.md - TOFSense handlers → ROS product topics: publishes frames
README.md - TOFSense-M handlers → ROS product topics: publishes frames
README.md - IOT handlers → ROS product topics: publishes frames
README.md - LinkTrack node → Data transmission topic: subscribes
README.md - RViz converter → ROS product topics: converts messages
README.md