GithubHelp home page GithubHelp logo

xjtueducation / velodyne_puck Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kumarrobotics/velodyne_puck

0.0 2.0 0.0 110 KB

A simplified driver for Velodyne VLP16 (PUCK) based on the official ROS velodyne driver.

License: Other

CMake 8.24% C++ 91.76%

velodyne_puck's Introduction

velodyne_puck

Build Status

Picture of Velodyne Puck

The velodyne_puck package is a linux ROS driver for velodyne puck only of VELODYNE LIDAR. The user manual for the device can be found here or the LTE version here.

The major difference between this driver and the ROS velodyne driver is that the start of each revolution is detected using azimuth.

The package is tested on Ubuntu 14.04 with ROS indigo.

License

This driver is developed based on ROS velodyne driver, which originally has the BSD license. The COPYING file is kept in this package. However, the changed files have the GNU General Public License V3.0.

Compling

This is a Catkin package. Make sure the package is on ROS_PACKAGE_PATH after cloning the package to your workspace. And the normal procedure for compling a catkin package will work.

cd your_work_space
catkin_make --pkg velodyne_puck_driver velodyne_puck_decoder --cmake-args -DCMAKE_BUILD_TYPE=Release

Example Usage

velodyne_puck_driver

Parameters

device_ip (string, default: 192.168.1.201)

By default, the IP address of the device is 192.168.1.201.

frame_id (string, default: velodyne)

The frame ID entry for the sent messages.

Published Topics

velodyne_packets (velodyne_puck_msgs/VelodynePuckPacket)

Each message corresponds to a velodyne packet sent by the device through the Ethernet. For more details on the definition of the packet, please refer to the user manual.

velodyne_puck_decoder

Parameters

min_range (double, 0.3)

max_range (double, 100.0)

Points outside this range will be removed.

frequency (frequency, 20.0)

Note that the driver does not change the frequency of the sensor. If needed, the RPM of the sensor should be set through the brower (see user manual for more details). And the frequency parameter in the launch file should be set accordingly.

publish_point_cloud (bool, false)

If set to true, the decoder will additionally send out a local point cloud consisting of the points in each revolution.

Published Topics

velodyne_sweep (velodyne_puck_msgs/VelodynePuckSweep)

The message arranges the points within each sweep based on its scan index and azimuth.

velodyne_point_cloud (sensor_msgs/PointCloud2)

This is only published when the publish_point_cloud is set to true in the launch file.

Node

roslauch velodyne_puck_decoder velodyne_puck_decoder_nodelet.launch

Note that this launch file launches both the driver and the decoder, which is the only launch file needed to be used.

FAQ

Bug Report

Prefer to open an issue. You can also send an E-mail to [email protected].

velodyne_puck's People

Contributors

ke-sun avatar

Watchers

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