Hardware and drivers
On-robot devices, udev, driver packages, EKF fusion, and the TF tree.
Hardware
| Device | Role | udev node |
|---|---|---|
| Mecanum chassis | Omnidirectional motion | /dev/carserial |
| Wit IMU | Attitude and angular rate | /dev/imu |
| Leishen N10_P | 2D lidar | /dev/lslidar |
| Gimbal and water-pellet gun | Aim and fire | /dev/gun |
| USB camera | People and mines (on the gimbal) | /dev/video* |
| Orbbec DCW2 | Anti-tank RGB and depth | USB 2bc5 |

Driver packages
| ROS package | Node | Output |
|---|---|---|
chassis_driver | base_controller.py | Serial chassis |
imu_driver | wit_multi_ros.py | /imu |
leishen/lslidar_driver | Lidar node | /scan |
car_bringup | base_node | odom_raw |
orbbec_camera | SDK driver | /camera/color/*, /camera/depth/* |
robot_bringup | bringup_robot.launch | Brings up the rows above, plus EKF and URDF |
Bringup chain
The main launch pulls this in with <include>.
EKF
| Item | Notes |
|---|---|
| Node | robot_localization / ekf_localization_node |
| Input | odom_raw + /imu |
| Output | /odom |
Parameters: robot_localization.yaml
URDF and TF
The webcam sits on the gimbal and has no TF frame of its own. Detection uses the servo angles.
Gimbal serial port
/dev/gun can be opened by only one process. gimbal_server.py owns it.