下载资源后端资源详情
livox_ros_driver2.zip
大小:2.66MB
价格:13积分
下载量:0
评分:
5.0
上传者:qq_40301351
更新日期:2024-09-16

hku-mars 时间同步-MID360驱动修改

资源文件列表(大概)

文件名
大小
livox_ros_driver2/
-
livox_ros_driver2/package.xml
3.32KB
livox_ros_driver2/.gitignore
37B
livox_ros_driver2/CHANGELOG.md
1.54KB
livox_ros_driver2/CMakeLists.txt
10.71KB
livox_ros_driver2/LICENSE.txt
19.46KB
livox_ros_driver2/README.md
12.83KB
livox_ros_driver2/build.sh
1.6KB
livox_ros_driver2/package_ROS1.xml
3.32KB
livox_ros_driver2/package_ROS2.xml
1.1KB
livox_ros_driver2/.git/
-
livox_ros_driver2/.git/config
310B
livox_ros_driver2/.git/description
73B
livox_ros_driver2/.git/index
9.55KB
livox_ros_driver2/.git/HEAD
23B
livox_ros_driver2/.git/packed-refs
570B
livox_ros_driver2/.git/info/
-
livox_ros_driver2/.git/info/exclude
240B
livox_ros_driver2/.git/branches/
-
livox_ros_driver2/.git/hooks/
-
livox_ros_driver2/.git/hooks/prepare-commit-msg.sample
1.46KB
livox_ros_driver2/.git/hooks/pre-applypatch.sample
424B
livox_ros_driver2/.git/hooks/update.sample
3.53KB
livox_ros_driver2/.git/hooks/fsmonitor-watchman.sample
3.01KB
livox_ros_driver2/.git/hooks/pre-merge-commit.sample
416B
livox_ros_driver2/.git/hooks/pre-receive.sample
544B
livox_ros_driver2/.git/hooks/pre-rebase.sample
4.78KB
livox_ros_driver2/.git/hooks/applypatch-msg.sample
478B
livox_ros_driver2/.git/hooks/pre-commit.sample
1.6KB
livox_ros_driver2/.git/hooks/pre-push.sample
1.32KB
livox_ros_driver2/.git/hooks/commit-msg.sample
896B
livox_ros_driver2/.git/hooks/post-update.sample
189B
livox_ros_driver2/.git/refs/
-
livox_ros_driver2/.git/refs/heads/
-
livox_ros_driver2/.git/refs/heads/master
41B
livox_ros_driver2/.git/refs/tags/
-
livox_ros_driver2/.git/refs/remotes/
-
livox_ros_driver2/.git/refs/remotes/origin/
-
livox_ros_driver2/.git/refs/remotes/origin/HEAD
32B
livox_ros_driver2/.git/objects/
-
livox_ros_driver2/.git/objects/pack/
-
livox_ros_driver2/.git/objects/pack/pack-490f3b9ceb677a487c693aeb08474d9595b0ce2f.pack
2.36MB
livox_ros_driver2/.git/objects/pack/pack-490f3b9ceb677a487c693aeb08474d9595b0ce2f.idx
43.68KB
livox_ros_driver2/.git/objects/info/
-
livox_ros_driver2/.git/logs/
-
livox_ros_driver2/.git/logs/HEAD
191B
livox_ros_driver2/.git/logs/refs/
-
livox_ros_driver2/.git/logs/refs/remotes/
-
livox_ros_driver2/.git/logs/refs/remotes/origin/
-
livox_ros_driver2/.git/logs/refs/remotes/origin/HEAD
191B
livox_ros_driver2/.git/logs/refs/heads/
-
livox_ros_driver2/.git/logs/refs/heads/master
191B
livox_ros_driver2/3rdparty/
-
livox_ros_driver2/3rdparty/rapidjson/
-
livox_ros_driver2/3rdparty/rapidjson/allocators.h
10.19KB
livox_ros_driver2/3rdparty/rapidjson/cursorstreamwrapper.h
2.18KB
livox_ros_driver2/3rdparty/rapidjson/document.h
115.2KB
livox_ros_driver2/3rdparty/rapidjson/encodedstream.h
10.38KB
livox_ros_driver2/3rdparty/rapidjson/encodings.h
29.13KB
livox_ros_driver2/3rdparty/rapidjson/filereadstream.h
2.89KB
livox_ros_driver2/3rdparty/rapidjson/filewritestream.h
3KB
livox_ros_driver2/3rdparty/rapidjson/fwd.h
4.02KB
livox_ros_driver2/3rdparty/rapidjson/istreamwrapper.h
4.02KB
livox_ros_driver2/3rdparty/rapidjson/license.txt
5.03KB
livox_ros_driver2/3rdparty/rapidjson/memorybuffer.h
2.51KB
livox_ros_driver2/3rdparty/rapidjson/memorystream.h
2.61KB
livox_ros_driver2/3rdparty/rapidjson/ostreamwrapper.h
2.29KB
livox_ros_driver2/3rdparty/rapidjson/pointer.h
58.82KB
livox_ros_driver2/3rdparty/rapidjson/prettywriter.h
10.01KB
livox_ros_driver2/3rdparty/rapidjson/rapidjson.h
23.72KB
livox_ros_driver2/3rdparty/rapidjson/reader.h
87.2KB
livox_ros_driver2/3rdparty/rapidjson/schema.h
98.89KB
livox_ros_driver2/3rdparty/rapidjson/stream.h
6.54KB
livox_ros_driver2/3rdparty/rapidjson/stringbuffer.h
3.89KB
livox_ros_driver2/3rdparty/rapidjson/writer.h
25.56KB
livox_ros_driver2/3rdparty/rapidjson/error/
-
livox_ros_driver2/3rdparty/rapidjson/error/en.h
3.65KB
livox_ros_driver2/3rdparty/rapidjson/error/error.h
6.32KB
livox_ros_driver2/3rdparty/rapidjson/internal/
-
livox_ros_driver2/3rdparty/rapidjson/internal/biginteger.h
8.1KB
livox_ros_driver2/3rdparty/rapidjson/internal/clzll.h
1.99KB
livox_ros_driver2/3rdparty/rapidjson/internal/diyfp.h
11.12KB
livox_ros_driver2/3rdparty/rapidjson/internal/dtoa.h
7.54KB
livox_ros_driver2/3rdparty/rapidjson/internal/ieee754.h
2.92KB
livox_ros_driver2/3rdparty/rapidjson/internal/itoa.h
9.05KB
livox_ros_driver2/3rdparty/rapidjson/internal/meta.h
6.57KB
livox_ros_driver2/3rdparty/rapidjson/internal/pow10.h
3.86KB
livox_ros_driver2/3rdparty/rapidjson/internal/regex.h
22.69KB
livox_ros_driver2/3rdparty/rapidjson/internal/stack.h
6.65KB
livox_ros_driver2/3rdparty/rapidjson/internal/strfunc.h
2.13KB
livox_ros_driver2/3rdparty/rapidjson/internal/strtod.h
8.45KB
livox_ros_driver2/3rdparty/rapidjson/internal/swap.h
1.39KB
livox_ros_driver2/3rdparty/rapidjson/msinttypes/
-
livox_ros_driver2/3rdparty/rapidjson/msinttypes/inttypes.h
7.64KB
livox_ros_driver2/3rdparty/rapidjson/msinttypes/stdint.h
8.94KB
livox_ros_driver2/cmake/
-
livox_ros_driver2/cmake/version.cmake
990B
livox_ros_driver2/config/
-
livox_ros_driver2/config/HAP_config.json
863B
livox_ros_driver2/config/MID360_config.json
883B
livox_ros_driver2/config/display_point_cloud_ROS1.rviz
5.52KB
livox_ros_driver2/config/display_point_cloud_ROS2.rviz
4.72KB
livox_ros_driver2/config/mixed_HAP_MID360_config.json
1.63KB
livox_ros_driver2/launch_ROS1/
-
livox_ros_driver2/launch_ROS1/msg_HAP.launch
1.7KB
livox_ros_driver2/launch_ROS1/msg_MID360.launch
1.7KB
livox_ros_driver2/launch_ROS1/msg_mixed.launch
1.71KB
livox_ros_driver2/launch_ROS1/rviz_HAP.launch
1.88KB
livox_ros_driver2/launch_ROS1/rviz_MID360.launch
1.89KB
livox_ros_driver2/launch_ROS1/rviz_mixed.launch
1.9KB
livox_ros_driver2/launch_ROS2/
-
livox_ros_driver2/launch_ROS2/msg_HAP_launch.py
1.92KB
livox_ros_driver2/launch_ROS2/msg_MID360_launch.py
1.86KB
livox_ros_driver2/launch_ROS2/rviz_HAP_launch.py
2.13KB
livox_ros_driver2/launch_ROS2/rviz_MID360_launch.py
2.14KB
livox_ros_driver2/launch_ROS2/rviz_mixed.py
2.15KB
livox_ros_driver2/msg/
-
livox_ros_driver2/msg/CustomMsg.msg
341B
livox_ros_driver2/msg/CustomPoint.msg
353B
livox_ros_driver2/src/
-
livox_ros_driver2/src/driver_node.cpp
1.45KB
livox_ros_driver2/src/driver_node.h
2.42KB
livox_ros_driver2/src/lddc.cpp
23.52KB
livox_ros_driver2/src/lddc.h
5.83KB
livox_ros_driver2/src/lds.cpp
5.81KB
livox_ros_driver2/src/lds.h
2.63KB
livox_ros_driver2/src/lds_lidar.cpp
6.34KB
livox_ros_driver2/src/lds_lidar.h
2.67KB
livox_ros_driver2/src/livox_ros_driver2.cpp
7.71KB
livox_ros_driver2/src/call_back/
-
livox_ros_driver2/src/call_back/lidar_common_callback.cpp
2.22KB
livox_ros_driver2/src/call_back/lidar_common_callback.h
1.54KB
livox_ros_driver2/src/call_back/livox_lidar_callback.cpp
15KB
livox_ros_driver2/src/call_back/livox_lidar_callback.h
3.22KB
livox_ros_driver2/src/comm/
-
livox_ros_driver2/src/comm/cache_index.cpp
3.77KB
livox_ros_driver2/src/comm/cache_index.h
2.01KB
livox_ros_driver2/src/comm/comm.cpp
2.16KB
livox_ros_driver2/src/comm/comm.h
8.38KB
livox_ros_driver2/src/comm/ldq.cpp
4.57KB
livox_ros_driver2/src/comm/ldq.h
2.28KB
livox_ros_driver2/src/comm/lidar_imu_data_queue.cpp
2.2KB
livox_ros_driver2/src/comm/lidar_imu_data_queue.h
2.57KB
livox_ros_driver2/src/comm/pub_handler.cpp
15.74KB
livox_ros_driver2/src/comm/pub_handler.h
4.36KB
livox_ros_driver2/src/comm/semaphore.cpp
1.44KB
livox_ros_driver2/src/comm/semaphore.h
1.58KB
livox_ros_driver2/src/include/
-
livox_ros_driver2/src/include/livox_ros_driver2.h
1.69KB
livox_ros_driver2/src/include/ros1_headers.h
2.16KB
livox_ros_driver2/src/include/ros2_headers.h
2.42KB
livox_ros_driver2/src/include/ros_headers.h
1.31KB
livox_ros_driver2/src/parse_cfg_file/
-
livox_ros_driver2/src/parse_cfg_file/parse_cfg_file.cpp
2.33KB
livox_ros_driver2/src/parse_cfg_file/parse_cfg_file.h
1.68KB
livox_ros_driver2/src/parse_cfg_file/parse_livox_lidar_cfg.cpp
5.17KB
livox_ros_driver2/src/parse_cfg_file/parse_livox_lidar_cfg.h
2KB

资源内容介绍

hku-mars 时间同步-MID360驱动修改
# Livox ROS Driver 2Livox ROS Driver 2 is the 2nd-generation driver package used to connect LiDAR products produced by Livox, applicable for ROS (noetic recommended) and ROS2 (foxy or humble recommended). **Note :** As a debugging tool, Livox ROS Driver is not recommended for mass production but limited to test scenarios. You should optimize the code based on the original source to meet your various needs.## 1. Preparation### 1.1 OS requirements * Ubuntu 18.04 for ROS Melodic; * Ubuntu 20.04 for ROS Noetic and ROS2 Foxy; * Ubuntu 22.04 for ROS2 Humble; **Tips:** Colcon is a build tool used in ROS2. How to install colcon: [Colcon installation instructions](https://docs.ros.org/en/foxy/Tutorials/Beginner-Client-Libraries/Colcon-Tutorial.html)### 1.2 Install ROS & ROS2For ROS Melodic installation, please refer to:[ROS Melodic installation instructions](https://wiki.ros.org/melodic/Installation)For ROS Noetic installation, please refer to:[ROS Noetic installation instructions](https://wiki.ros.org/noetic/Installation)For ROS2 Foxy installation, please refer to:[ROS Foxy installation instructions](https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html)For ROS2 Humble installation, please refer to:[ROS Humble installation instructions](https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html)Desktop-Full installation is recommend.## 2. Build & Run Livox ROS Driver 2### 2.1 Clone Livox ROS Driver 2 source code:```shellgit clone https://github.com/Livox-SDK/livox_ros_driver2.git ws_livox/src/livox_ros_driver2``` **Note :** Be sure to clone the source code in a '[work_space]/src/' folder (as shown above), otherwise compilation errors will occur due to the compilation tool restriction.### 2.2 Build & install the Livox-SDK2 **Note :** Please follow the guidance of installation in the [Livox-SDK2/README.md](https://github.com/Livox-SDK/Livox-SDK2/blob/master/README.md)### 2.3 Build the Livox ROS Driver 2:#### For ROS (take Noetic as an example):```shellsource /opt/ros/noetic/setup.sh./build.sh ROS1```#### For ROS2 Foxy:```shellsource /opt/ros/foxy/setup.sh./build.sh ROS2```#### For ROS2 Humble:```shellsource /opt/ros/humble/setup.sh./build.sh humble```### 2.4 Run Livox ROS Driver 2:#### For ROS:```shellsource ../../devel/setup.shroslaunch livox_ros_driver2 [launch file]```in which, * **livox_ros_driver2** : is the ROS package name of Livox ROS Driver 2;* **[launch file]** : is the ROS launch file you want to use; the 'launch_ROS1' folder contains several launch samples for your reference; An rviz launch example for HAP LiDAR would be:```shellroslaunch livox_ros_driver2 rviz_HAP.launch```#### For ROS2:```shellsource ../../install/setup.shros2 launch livox_ros_driver2 [launch file]```in which, * **[launch file]** : is the ROS2 launch file you want to use; the 'launch_ROS2' folder contains several launch samples for your reference.A rviz launch example for HAP LiDAR would be:```shellros2 launch livox_ros_driver2 rviz_HAP_launch.py```## 3. Launch file and livox_ros_driver2 internal parameter configuration instructions### 3.1 Launch file configuration instructionsLaunch files of ROS are in the "ws_livox/src/livox_ros_driver2/launch_ROS1" directory and launch files of ROS2 are in the "ws_livox/src/livox_ros_driver2/launch_ROS2" directory. Different launch files have different configuration parameter values and are used in different scenarios:| launch file name | Description || ------------------------- | ------------------------------------------------------------ || rviz_HAP.launch | Connect to HAP LiDAR device<br>Publish pointcloud2 format data<br>Autoload rviz || msg_HAP.launch | Connect to HAP LiDAR device<br>Publish livox customized pointcloud data|| rviz_MID360.launch | Connect to MID360 LiDAR device<br>Publish pointcloud2 format data <br>Autoload rviz|| msg_MID360.launch | Connect to MID360 LiDAR device<br>Publish livox customized pointcloud data || rviz_mixed.launch | Connect to HAP and MID360 LiDAR device<br>Publish pointcloud2 format data <br>Autoload rviz|| msg_mixed.launch | Connect to HAP and MID360 LiDAR device<br>Publish livox customized pointcloud data |### 3.2 Livox ros driver 2 internal main parameter configuration instructionsAll internal parameters of Livox_ros_driver2 are in the launch file. Below are detailed descriptions of the three commonly used parameters :| Parameter | Detailed description | Default || ------------ | ------------------------------------------------------------ | ------- || publish_freq | Set the frequency of point cloud publish <br>Floating-point data type, recommended values 5.0, 10.0, 20.0, 50.0, etc. The maximum publish frequency is 100.0 Hz.| 10.0 || multi_topic | If the LiDAR device has an independent topic to publish pointcloud data<br>0 -- All LiDAR devices use the same topic to publish pointcloud data<br>1 -- Each LiDAR device has its own topic to publish point cloud data | 0 || xfer_format | Set pointcloud format<br>0 -- Livox pointcloud2(PointXYZRTLT) pointcloud format<br>1 -- Livox customized pointcloud format<br>2 -- Standard pointcloud2 (pcl :: PointXYZI) pointcloud format in the PCL library (just for ROS) | 0 | **Note :** Other parameters not mentioned in this table are not suggested to be changed unless fully understood.&ensp;&ensp;&ensp;&ensp;***Livox_ros_driver2 pointcloud data detailed description :***1. Livox pointcloud2 (PointXYZRTLT) point cloud format, as follows :```cfloat32 x # X axis, unit:mfloat32 y # Y axis, unit:mfloat32 z # Z axis, unit:mfloat32 intensity # the value is reflectivity, 0.0~255.0uint8 tag # livox taguint8 line # laser number in lidarfloat64 timestamp # Timestamp of point``` **Note :** The number of points in the frame may be different, but each point provides a timestamp.2. Livox customized data package format, as follows :```cstd_msgs/Header header # ROS standard message headeruint64 timebase # The time of first pointuint32 point_num # Total number of pointcloudsuint8 lidar_id # Lidar device id numberuint8[3] rsvd # Reserved useCustomPoint[] points # Pointcloud data```&ensp;&ensp;&ensp;&ensp;Customized Point Cloud (CustomPoint) format in the above customized data package :```cuint32 offset_time # offset time relative to the base timefloat32 x # X axis, unit:mfloat32 y # Y axis, unit:mfloat32 z # Z axis, unit:muint8 reflectivity # reflectivity, 0~255uint8 tag # livox taguint8 line # laser number in lidar```3. The standard pointcloud2 (pcl :: PointXYZI) format in the PCL library (only ROS can publish):&ensp;&ensp;&ensp;&ensp;Please refer to the pcl :: PointXYZI data structure in the point_types.hpp file of the PCL library.## 4. LiDAR configLiDAR Configurations (such as ip, port, data type... etc.) can be set via a json-style config file. Config files for single HAP, Mid360 and mixed-LiDARs are in the "config" folder. The parameter naming *'user_config_path'* in launch files indicates such json file path.1. Follow is a configuration example for HAP LiDAR (located in config/HAP_config.json):```json{ "lidar_summary_info" : { "lidar_type": 8 # protocol type index, please don't revise this value }, "HAP": { "device_type" : "HAP", "lidar_ipaddr": "", "lidar_net_info" : { "cmd_data_port": 56000, # command port "push_msg_port": 0, "point_data_port": 57000, "imu_data_port": 58000, "log_data_port": 59000 }, "host_net_info" : { "cmd

用户评论 (0)

发表评论

captcha

相关资源

电力系统静态稳定性仿真Matlab编程 simulink仿真1.用Matlab编程,把转子运动方程(摇摆方程)在运行点处线性化

电力系统静态稳定性仿真Matlab编程 simulink仿真1.用Matlab编程,把转子运动方程(摇摆方程)在运行点处线性化,采用小信号分析法,对线性化之后状态方程的系数矩阵求解特征值,根轨迹,通过特征值的特点来判断系统稳定性。2.用simulink搭建搭建单机无穷大系统,对其静态稳定性进行仿真分析。

139.86KB33积分

光伏三相并网:1.光伏10kw+MPPT控制+两级式并网逆变器(boost+三相桥式逆变)2.坐标变换+锁相环+dq功率控制

光伏三相并网:1.光伏10kw+MPPT控制+两级式并网逆变器(boost+三相桥式逆变)2.坐标变换+锁相环+dq功率控制+解耦控制+电流内环电压外环控制+spwm调制3.LCL滤波仿真结果:1.逆变输出与三项380V电网同频同相2.直流母线电压800V稳定3.d轴电压稳定311V;q轴电压稳定为0V,有功功率高效输出

274.74KB34积分

基于stm32多路温室大棚监测 容易制作 主要功能:1OLED屏可以实时显示四路温湿度数据2手机APP可以远程监控

基于stm32多路温室大棚监测 容易制作 主要功能:[1]OLED屏可以实时显示四路温湿度数据[2]手机APP可以远程监控四路温湿度数据[3]温度湿度阈值均可手动通过按键设置温度或者湿度超过阈值上限打开排气扇温度低于阈值打开加热器湿度低于阈值打开加湿器原理图pcb使用立创eda 软件Keil5主控芯片是stm32f103c8t6 WIFI模块使用 esp 8266 云平台使用阿里云

680.79KB29积分

三菱电梯主板地址表参数三菱电梯地址码,KCD-116主板地址参数,MAXIEZ电梯主板地址参数,VFGLC电梯主板地址参

三菱电梯主板地址表参数三菱电梯地址码,KCD-116主板地址参数,MAXIEZ电梯主板地址参数,VFGLC电梯主板地址参数,可以修改电梯楼层显示、基站、强迫关门、消防功能、开关门时间等参数,如B1层显示改成-1等

840.58KB20积分