Git Product home page Git Product logo

livox_laser_simulation's Introduction

Livox Laser Simulation

A package to provide plug-in for Livox Series LiDAR.

Requirements

  • ROS(=Kinectic/Melodic)
  • Gazebo (= 7.0/9.0)

Results

Branchs

main branch

  • enviroment: ROS kinetic + gazebo7
  • pointcloud type:
    • sensor_msg::pointcloud
    • sensor_msg::pointcloud2(pcl::Pointcloud<pcl::PointXYZ>)
    • sensor_msg::pointcloud2(pcl::Pointcloud<pcl::LivoxPointXyzrtl>)
    • livox_ros_driver::CustomMsg

gazebo9

  • enviroment: ROS melodic + gazebo7
  • pointcloud type: sensor_msg::pointcloud2(pcl::Pointcloud<pcl::PointXYZ>)

Dependence

Usage

If you use gazebo 9, checkout to "gazebo-9-ver" branch. The gazebo-9 version is maintained by jp-ipu.

Before you write your urdf file by using this plugin, catkin_make/catkin build is needed.

A simple demo is shown in livox_simulation.launch

Run

    roslauch livox_laser_simulation livox_simulation.launch

to see.

Change sensor by change the following lines in the robot.xacro into another xacro file.

  <xacro:include filename="$(find livox_laser_simulation)/urdf/livox_horizon.xacro"/>
  <Livox_Horizon name="livox" visualize="true" publish_pointcloud_type="2"/>
  • avia.csv
  • horizon.csv
  • mid40.csv
  • mid70.csv
  • tele.csv

Parameters(example by avia)

  • laser_min_range: 0.1 // min detection range
  • laser_max_range: 200.0 // max detection range
  • horizontal_fov: 70.4 //°
  • vertical_fov: 77.2 //°
  • ros_topic: scan // topic in ros
  • samples: 24000 // number of points in each scan loop
  • downsample: 1 // we can increment this para to decrease the consumption
  • publish_pointcloud_type: 0 // 0 for sensor_msgs::PointCloud, 1 for sensor_msgs::Pointcloud2(PointXYZ), 2 for sensor_msgs::PointCloud2(LivoxPointXyzrtl) 3 for livox_ros_driver::CustomMsg.

Simulation for mapping

Currently Fast-LIO is tested when publish_pointcloud_type = 3。

Enjoy it and feel free to report bugs.

This repository is now maintained by EpsAvlc and LvFengchi.

livox_laser_simulation's People

Contributors

livox-sdk avatar winsleo avatar

Forkers

takeshiakehi

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.