Code Monkey home page Code Monkey logo

map_gen's Introduction

Quick Start

Now we two version:1.0 and 2.0. We introduce version 1.0 firstly and the version 2.0 will be shown in section ##Version2.0

You can run this project with the following command:

./run.sh

Then rviz will start, and you can use 2D Nav Goal to set the position of points (independent of direction). After using 2D Nav Goal twice, it will generate a point cloud wall.

Features

Save

After finishing the map drawing, you can save the map with the following order,

./save.sh

then the pcd file will save to ~/res.pcd

undo

./undo.sh

clear

./clear.sh

reference

it is hard to loacate the coordinate of the point, so you can modify reference_points.py and then run

python3 reference_points.py

to publish the reference points

Parameter

you can modify the parameter in the ~/map_gen/src/map_generator/launch/map_generator.launch

<!-- pc wall param -->
<param name="~width" value="0.15"/>
<param name="~height" value="2.4"/>

<!-- pc step -->
<param name="~step_length" value="0.05"/>
<param name="~step_width" value="0.05"/>
<param name="~step_height" value="0.02"/>

<param name="frame" value="world" />
<remap from="/click_map" to="/map_generator/click_map"/>

Example

how_to_use

VERSION2

Quick Start

./v2_run.sh

Feature

It is very similar to v1.0.

If you want to publish some reference points, such as the coordinates (0,0) and (0,50), you can modify the file reference.py and then run:

python3 reference.py

Example

how_to_use2

Reference

This project was inspired by FUEL.

map_gen's People

Contributors

dwl2021 avatar

Stargazers

 avatar panda avatar  avatar Xiaodao-chen 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.