How thyaen/xtrack works
XTRACK-A combines a host-side sensor stack, client-side LiDAR odometry/SLAM and ROS navigation, a browser interface, and manual track control. The documented operator workflow is to start the host sensors and client mapping/navigation, inspect the map in RViz2, then set a goal; joystick input can interrupt autonomous driving. The README documents these system-level relationships, while sampled KISS-ICP sources show the odometry-to-estimator boundary and estimator internals. Unsampled launch and navigation wiring is represented only where documented, not inferred from filenames.
Main entry points: KissICP.hpp KISS-ICP estimator · OdometryServer.cpp ROS odometry server · pcps_navigation.launch.py ROS navigation · motor_control_node.py Motor control
Components 21
Host Sensing
- LiDAR service
app/host/ros2_ws/src/pcps_ros/scripts/server_scan.py - IMU service
app/host/ros2_ws/src/pcps_ros/scripts/server_imu.py - VN100 processing
app/host/ros2_ws/src/aspn_vn100/src/vn100_processing.cpp
Odometry and SLAM
- ROS odometry server
app/client/ros2_ws/src/kiss-icp/ros/src/OdometryServer.cpp - KISS-ICP estimator
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/pipeline/KissICP.hpp - Scan preprocessing
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/core/Preprocessing.cpp - Point registration
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/core/Registration.cpp - Adaptive threshold
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/core/Threshold.cpp - Voxel map
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/core/VoxelHashMap.cpp
Navigation and Interface
- ROS navigation
app/client/ros2_ws/src/pcps_ros/launch/pcps_navigation.launch.py - SLAM launch
app/client/ros2_ws/src/pcps_ros/launch/pcps_slam.launch.py - Web interface
app/client/app.py
Vehicle Control
- Gamepad bridge
motor_control/gamepad_bridge.py - Motor control
motor_control/ros2_ws/src/xtrack_control/xtrack_control/motor_control_node.py
Other components
- Operator
- LiDAR sensor
- IMU sensor
- Browser
- RViz2 operator
- Joystick
- Tracked vehicle
Connections 20
- LiDAR sensor → LiDAR service: supplies scans
README.md - IMU sensor → IMU service: supplies measurements
README.md - IMU sensor → VN100 processing: feeds processing
README.md - LiDAR service → ROS odometry server: provides LiDAR data
- IMU service → ROS odometry server: provides IMU data
- ROS odometry server → KISS-ICP estimator: constructs estimator
app/client/ros2_ws/src/kiss-icp/ros/src/OdometryServer.cpp - KISS-ICP estimator → Scan preprocessing: configures preprocessing
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/pipeline/KissICP.hpp - KISS-ICP estimator → Point registration: configures registration
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/pipeline/KissICP.hpp - KISS-ICP estimator → Adaptive threshold: configures threshold
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/pipeline/KissICP.hpp - KISS-ICP estimator → Voxel map: configures map
app/client/ros2_ws/src/kiss-icp/cpp/kiss_icp/pipeline/KissICP.hpp - ROS odometry server → ROS navigation: provides odometry
- Operator → Web interface: opens interface
README.md - Web interface → ROS navigation: supports navigation
- Operator → RViz2 operator: sets goal pose
README.md - RViz2 operator → ROS navigation: dispatches goal
README.md - Operator → Joystick: steers manually
README.md - Joystick → Gamepad bridge: provides input
- Gamepad bridge → Motor control: forwards controls
- Motor control → Tracked vehicle: drives tracks
- ROS navigation → Motor control: commands vehicle