windows/linux SDK and Demo programs for LDS-M300-E lidar
EXE file explain:
PointCloudAndImu: Output point cloud data of each frame of lidar and real-time imu data CommandControl: Output lidar supported commands and return values Upgrade: lidar Firmware Upgrade (motor)
Prerequisite: g++ and gcc must be installed
cmake CMakeList.txt
make
./${EXE file} EXE file{PointCloudAndImu,CommandControl,Upgrade}
use cmake_gui build ,open project and compile with visual stdioxx,then enerate a solution
PACECAT ROS driver is specially designed to connect to the lidar products produced by our company. The driver can run on operating systems with ROS installed, and mainly supports ubuntu series operating systems (14.04LTS-20.04LTS). The hardware platforms that have been tested to run the ROS driver include: Intel x86 mainstream CPU platform, and some ARM64 hardware platforms (such as NVIDIA, Rockchip, Raspberry Pi, etc., which may need to update the cp210x driver).
Please ensure that the path does not contain Chinese characters, otherwise the compilation will fail!
git clone https://github.com/BlueSeaLidar/m300.git
cd m300/M300-ROS
catkin_make
source devel/setup.sh
roslaunch pacecat_m300 LDS-M300_E.launch
PACECAT ROS2 driver is specially designed to connect to the lidar products produced by our company. The driver can run on operating systems with ROS2 installed, and mainly supports ubuntu series operating systems (18.04LTS-now). The hardware platforms that have been tested to run the ROS2 driver include: Intel x86 mainstream CPU platform, and some ARM64 hardware platforms (such as NVIDIA, Rockchip, Raspberry Pi, etc., which may need to update the cp210x driver).
Please ensure that the path does not contain Chinese characters, otherwise the compilation will fail!
git clone https://github.com/BlueSeaLidar/m300.git
cd m300/M300-ROS2
colcon build
source install/setup.sh
ros2 launch pacecat_m300_driver LDS-M300-E.launch
frame_id : Name of the flag coordinate system topic_pointcloud : pointcloud topic print output_pointcloud: pointcloud topic print enable topic_custommsg : custom msg topic print output_custommsg : custom msg topic print enable topic_imu : imu topic output_imu :imu topic enable lidar_ip :lidar ip lidar_port :lidar port local_port :listen port ptp_enable :ptp enable -1 not set 0 off 1 on timemode :timestamp format 0:lidar start up time 1:system timestamp(default)
#shadows filter param sfp_enable :enable/unable window :check windows size min_angle :min angle max_angle :max angle effective_distance :compare distance
#dirty filter param dfp_enable: enable/unable continuous_times: continuous frame rate dirty_factor: threshold
#matrix rotate roll/pitch/yaw: angle value(not radian value) x/y/z:distance unit m mr_enable: roll pitch yaw x y z