Skip to content

Hardware and drivers

Chassis, IMU, Leishen lidar, Orbbec camera, and the driver chain started by nav_multi.

Hardware

DeviceRoleNode
ChassisMotion/dev/carserial, 115200
Wit IMUAttitude/dev/imu, 9600
Leishen N10_P2D lidar /scan/dev/lslidar
Orbbec Dabai DCW2Color image for every vision task/camera/color/image_raw

The body model is community_nav/urdf/mowen.urdf.xacro. The mesh is meshes/base_link.STL.

In this package, and outside it

Nodes that community_nav starts itself:

NodeRole
wit_multi_ros.pyIMU, publishes /imu
base_controller.pyChassis serial port
robot_state_publisherTF from the URDF
ekf_localization_nodeodom_raw + /imu → /odom

Three other packages are included from launch files. Their source is not in community_nav:

ROS packageRole
lslidar_driverLidar, lslidar_serial_multi.launch
car_bringupbase_node turns wheel speed into odom_raw
orbbec_cameradabai_dcw2.launch

Bringup chain

nav_multi.launch starts map_server first, includes bringup_robot.launch and move_base_multi.launch, then includes the Orbbec camera.

Order inside bringup_robot.launch:

lslidar → imu → base_controller → car_bringup/base_node
       → static TF → robot_state_publisher → EKF

Static TF:

TransformNotes
base_footprint → laser_link0.1 0 0.05, yaw of π
base_footprint → base_linkIdentity transform, for the IMU

EKF parameters are param/robot_localization.yaml. Inputs are remapped to odom_raw and imu. The output is remapped to odom. odom_frame and world_frame are both odom. base_link_frame is base_footprint.

Lidar angle mask

In lslidar_serial_multi.launch, truncated_mode is 1 and the masked sector is about 90° to 270°. Change that launch when the lidar mask changes. Do not change the vision script.