Git Product home page Git Product logo

ldlidar's Introduction

LD06 Lidar ROS2 driver

This is an attempt to fix and improve the driver provided by LDRobots in their website

Installation

cd <your_ws> 
git clone -b ros2 https://github.com/linoroot/ldlidar src/ldlidar
rosdep update && rosdep install --from-path src --ignore-src -y
colcon build
source install/setup.bash

Run the driver

ros2 launch ldlidar ldlidar.launch.py

Optional Parameters:

  • serial_port used to override the autodetect and select a specific port.
  • lidar_frame used to override the default laser frame_id.
  • topic_name used to override the default scan topic name.

For example:

ros2 launch ldlidar ldlidar.launch.py serial_port:=/dev/ttyUSB0

---- Original readme ----

编译方法

使用catkin编译,执行如下操作

catkin_make

运行方法

source devel/setup.bash
roslaunch ldlidar LD06.launch 

or

rosrun ldlidar ldlidar 

rviz的配置在rviz文件夹下面。

测试

代码在ubuntun16.04 kinetic版本下测试,使用rviz可视化。

ldlidar's People

Contributors

grassjelly avatar alessiomorale avatar pylgos avatar

Watchers

 avatar

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.