Giter VIP home page Giter VIP logo

bluesea-ros2's Introduction

bluesea2

ROS2 driver for Lanhai USB/Network 2D LiDAR

How to build Lanhai ros driver

1) Clone this project to your workspace src folder
2) cd  ..
3) Running `colcon build` to build  (The following commands are executed in this directory)

How to run Lanhai ros node (Serial Port Version)

  1. Copy UDEV rule file : sudo cp src/LHLiDAR.rules /etc/udev/rules.d/
  2. or Run : sudo chmod 666 /dev/ttyUSB0 # make usb serial port readable

if your lidar model is LDS-50C-2 :

  • ros2 launch bluesea2 LDS-50C-2.py

if your lidar model is LDS-50C-C30E :

  • ros2 launch bluesea2 LDS-50C-C30E.py

if your lidar model is LDS-50C-C20E :

  • ros2 launch bluesea2 LDS-50C-C20E.py

if your lidar model is LSS-40D-C20E :

  • ros2 launch bluesea2 LDS-40D-C20E.py
  1. optional : ros2 topic hz /scan

  2. optional : rviz2 #

How to control Lanhai ros node start and stop

  • client:

      ros2 run bluesea2  bluesea_node_client start 
    
      ros2 run bluesea2 bluesea_node_client stop 
    
  • server:

      ros2 launch  bluesea2  xxxx.launch 
    

bluesea-ros2's People

Contributors

bluesealidar avatar johnrayn 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.