Skip to content

Hardware and drivers

On-robot devices, udev, driver packages, EKF fusion, and the TF tree.

Hardware

DeviceRoleudev node
Mecanum chassisOmnidirectional motion/dev/carserial
Wit IMUAttitude and angular rate/dev/imu
Leishen N10_P2D lidar/dev/lslidar
Gimbal and water-pellet gunAim and fire/dev/gun
USB cameraPeople and mines (on the gimbal)/dev/video*
Orbbec DCW2Anti-tank RGB and depthUSB 2bc5
Hardware and drivers

Driver packages

ROS packageNodeOutput
chassis_driverbase_controller.pySerial chassis
imu_driverwit_multi_ros.py/imu
leishen/lslidar_driverLidar node/scan
car_bringupbase_nodeodom_raw
orbbec_cameraSDK driver/camera/color/*, /camera/depth/*
robot_bringupbringup_robot.launchBrings up the rows above, plus EKF and URDF

Bringup chain

bringup_robot.launch:

lslidar → imu → base_controller → odom_raw → EKF → /odom
       → static TF → robot_state_publisher

The main launch pulls this in with <include>.

EKF

ItemNotes
Noderobot_localization / ekf_localization_node
Inputodom_raw + /imu
Output/odom

Parameters: robot_localization.yaml

URDF and TF

map → odom → base_footprint → base_link → laser_link
                           → camera_link → camera_color_optical_frame

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.