Giter Site home page Giter Site logo

lucasnolasco / pointcloud_to_laserscan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ros-perception/pointcloud_to_laserscan

0.0 1.0 0.0 58 KB

Converts a 3D Point Cloud into a 2D laser scan.

Home Page: http://wiki.ros.org/pointcloud_to_laserscan

CMake 4.91% C++ 95.09%

pointcloud_to_laserscan's Introduction

ROS pointcloud <-> laserscan converters

Fork from ros-perception/pointcloud_to_laserscan. This fork adds a feature for correcting the pointcloud height based on IMU data, which allows undesired points to be discarded even if the robot is inclinated. This package provides components to convert sensor_msgs/PointCloud2 messages to sensor_msgs/LaserScan messages and back.

pointcloud_to_laserscan::PointCloudToLaserScanNode

This component projects sensor_msgs/PointCloud2 messages into sensor_msgs/LaserScan messages.

Published Topics

  • scan (sensor_msgs/LaserScan) - The output laser scan.

Subscribed Topics

  • cloud_in (sensor_msgs/PointCloud2) - The input point cloud. No input will be processed if there isn't at least one subscriber to the scan topic.

  • imu/data (sensor_msgs/imu) - Data provided by the IMU module. If no information is published on this topic, the correction on the pointcloud height won't be applied.

Parameters

  • min_height (double, default: 0.0) - The minimum height to sample in the point cloud in meters.
  • max_height (double, default: 1.0) - The maximum height to sample in the point cloud in meters.
  • angle_min (double, default: -π/2) - The minimum scan angle in radians.
  • angle_max (double, default: π/2) - The maximum scan angle in radians.
  • angle_increment (double, default: π/360) - Resolution of laser scan in radians per ray.
  • queue_size (double, default: detected number of cores) - Input point cloud queue size.
  • scan_time (double, default: 1.0/30.0) - The scan rate in seconds. Only used to populate the scan_time field of the output laser scan message.
  • range_min (double, default: 0.45) - The minimum ranges to return in meters.
  • range_max (double, default: 4.0) - The maximum ranges to return in meters.
  • target_frame (str, default: none) - If provided, transform the pointcloud into this frame before converting to a laser scan. Otherwise, laser scan will be generated in the same frame as the input point cloud.
  • transform_tolerance (double, default: 0.01) - Time tolerance for transform lookups. Only used if a target_frame is provided.
  • use_inf (boolean, default: true) - If disabled, report infinite range (no obstacle) as range_max + 1. Otherwise report infinite range as +inf.
  • imu_around_pi(boolean, default: false) - Indicates if the IMU is placed on a way which its pitch floats around 180°.
  • imu_offset (double, default: 0.0) - Approx. IMU pitch error.

pointcloud_to_laserscan::LaserScanToPointCloudNode

This component re-publishes sensor_msgs/LaserScan messages as sensor_msgs/PointCloud2 messages.

Published Topics

  • cloud (sensor_msgs/PointCloud2) - The output point cloud.

Subscribed Topics

  • scan_in (sensor_msgs/LaserScan) - The input laser scan. No input will be processed if there isn't at least one subscriber to the cloud topic.

Parameters

  • queue_size (double, default: detected number of cores) - Input laser scan queue size.
  • target_frame (str, default: none) - If provided, transform the pointcloud into this frame before converting to a laser scan. Otherwise, laser scan will be generated in the same frame as the input point cloud.
  • transform_tolerance (double, default: 0.01) - Time tolerance for transform lookups. Only used if a target_frame is provided.
  • use_inf (boolean, default: true) - If disabled, report infinite range (no obstacle) as range_max + 1. Otherwise report infinite range as +inf.

pointcloud_to_laserscan's People

Contributors

paulbovbel avatar lucasnolasco avatar reinzor avatar hidmic avatar mikaelarguedas avatar robograffitti avatar

Watchers

James Cloos 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.