Git Product home page Git Product logo

fusion-lidar-camera-ros's Introduction

fusion-lidar-camera-ROS

一、介绍

1.1 仓库目录

本仓库是一个ROS工作空间,其中ws_fusion_camera/src有一个工具包color_pc

ws_fusion_camera
│   README.md
│   
└───src
     │
     └───package: color_pc
                     │    node: color_pc_node   (fusion get colored point cloud)
                     │    node: intetral_node   (intetral colored point cloud)
                     │    node: color_pc_sync_node (use ROS message_filters::Synchronizer)
                     │
                     └───launch
                               launch file: fusion.launch(color_pc & rviz)
                               launch file: integral.launch(integral & rviz)
                               launch file: sync_fusion.launch(color_pc_sync & rviz)

1.2 环境与依赖

1.3硬件

Item Pics Shopping Link
Livox Horizon Lidar
Hikvision DS-2ZMN2007(C) Camera

注意:由于Hikvision网络相机不支持SDK软触发,因此两个设备无法做时间同步,硬件配置适用于对时间同步性要求较低的任务

二、使用方法

  1. 安装ROS
  2. 安装livox和hikvision ROS驱动[1, 2, 3]
  3. 安装本仓库
mkdir -p ~/xxx/src
cd ~/xxx/src
catkin_init_workspace
git clone https://github.com/GCaptainNemo/fusion-lidar-camera-ROS.git
mv ./fusion-lidar-camera-ROS/ws_fusion_camera/src/color_pc  ./
mv ./fusion-lidar-camera-ROS/ws_fusion_camera/src/launch_file  ./
cd ..
catkin_make

  1. 运行相机和激光雷达设备驱动
roslaunch livox_ros_driver livox_lidar.launch
roslaunch hikvision_ros hik.launch ip_addr:=192.168.1.64 password:=xxx

或者下载ROS-bag测试数据 地址: https://pan.baidu.com/s/1Uh-TypdW2ZP8HlXjTGw11w 提取码: s2pi

  1. 运行color_pc数据融合节点,并在rviz中显示
rosbag play static.bag
roslaunch color_pc fusion.launch

or 增加点云滤波节点

rosbag play static_msg.bag
roslaunch color_pc fusion_filter.launch

三、效果

单帧融合效果

点云时间积分效果

四、参考资料

[1] hikvision相机装ROS驱动

[2] livox 驱动安装

[3] livox SDK安装

fusion-lidar-camera-ros's People

Contributors

gcaptainnemo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fusion-lidar-camera-ros's Issues

yaml file

how to get the yaml file ?by autoware?or what?

colors not projected

Hey, I am using this same code on ROS noetic but when i run the command "roslaunch color_pc sync_fusion.launch" and even when i lauch the fusion.launch command, the colors seem to not get projected. The output that I get looks like this:
Screenshot from 2024-04-18 16-27-47

I am not sure what is the issue here.....could you help me here? Even when I run it on the bag that you have, the colors are not projected (I use Livox mid-360 )...so tried it with the bag you had shared and still the colors were not projected.

bag error

when i run the fuse_node,the terminal tell that
[ERROR] [1655797891.195600078]: Client [/color_pc_node] wants topic /livox/lidar to have datatype/md5sum [sensor_msgs/PointCloud2/1158d486dd51d683ce2f1be655c3c181], but our version has [livox_ros_driver/CustomMsg/e4d6829bdfe657cb6c21a746c86b21a6]. Dropping connection.
how can i fix the problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.