GithubHelp home page GithubHelp logo

pointcloud2_to_costmap's Introduction

pointcloud2_to_costmap

ABOUT

This repository contains pointcloud2_to_costmap node that takes PointCloud2 and decomposes it to classes related to Class Definitions. Then, each group is sent to its own PointCloud2 topic for the costmap layer (costmap_2d).

test

You can configure the segmentation of data to several groups in the config file. The number of groups and their composition might be chosen on behalf of the task and related to the data consumer. There is a config file structure example:

types:
    - {name:   sidewalk,
       value:  1,
       group:  example_road}

    - {name:   human,
       value:  11,
       group:  example_human}

    - ...
  • name is a description of the class by Class Definitions.
  • value is the numeric description of the class.
  • group is the name of the group you can set by yourself.

HOW TO INSTALL

You have to have installed ROS1 (The software was written for ROS Melodic) and contains such packages as navigation/costmap_2d and RViz.

Copy this repository to your cantkin_ws/src directory and do catkin_make command:

~ cd catkin_ws/src/
~ git clone https://github.com/Krenshow/pointcloud2_to_costmap.git
~ cd .. && catkin_make

HOW TO RUN

To run the node you have to run pointcloud2_to_costmap node + run costmap_2d modul + rviz to see the result. As well as the rosbag file or the other source of data has to be started.

pointcloud2_to_costmap node

roslaunch pointcloud2_to_costmap pointcloud2_to_costmap.launch 

costmap_2d module + rviz

roslaunch pointcloud2_to_costmap costmap.launch

rosbag file

cd path_to_rosbag_file/
rosbag play file_name

CONFIGURE

To configure the poincloud2_to_costmap node you can edit config file. Also, params file might be changed to set the costmap layer. You can change observation sources (choose groups of PointCloud2 you want to see at the costmap) or set other parameters of the costmap.

RVIZ

If you run costmap.launch RViz is started automatically. You should see footprint, costmap and /example_human PointCloud2 data. You can switch on other PointCloud2 groups (topics) just by putting a tick in the boxes in the left corner.

pointcloud2_to_costmap's People

Contributors

krenshow avatar

Stargazers

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