GithubHelp home page GithubHelp logo

abusa1101 / rrtplanner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from naivehobo/rrtplanner

0.0 0.0 0.0 1.08 MB

ROS package for a 2D path planner using the Rapidly Exploring Random Trees (RRT) algorithm

CMake 6.90% C++ 93.10%

rrtplanner's Introduction

Rapidly Exploring Random Tree (RRT) Planner

ROS package for a 2D path planner using the Rapidly Exploring Random Trees (RRT) algorithm. This repository contains two packages.

roslaunch planner rrt_planner.launch

Installation

Clone this repository in a catkin workspace and run the following command to build the packages:

catkin build

Mapping

The mapping package provides a minimalistic GUI to draw obstacles in a 2D environment and choose starting position and goal.

Map

To run the mapping node:

roslaunch mapping mapping_node.launch

The following parameters can be set in the launch file:

  • map_topic (default: "/map"): Topic where the map should be published (type: nav_msgs/OccupancyGrid)
  • goal_topic (default: "/goal"): Topic where goal should be published (type: geometry_msgs/Pose2D)
  • pose_topic (default: "/pose"): Topic where starting position should be published (type: geometry_msgs/Pose2D)
  • height (default: 500): Height of map
  • width (default: 500): Width of map
  • resolution (default: 0.05): Resolution of map
  • save_map (default: "none"): If this parameter is set, the created map will be stored to this path
  • load_map (default: "none"): If this parameter is set, map will be loaded from an image file at this path

When running the mapping node:

  • Press 'q' to quit
  • Press 's' to save and move on
  • Press numbers to the keyboard to change width of paint brush
  • Right-click to toggle between eraser and paint brush

Planner

The planner package provides an implementation of the RRT algorithm.

Path

To run the rrt planner node:

roslaunch planner rrt_planner_node.launch

The following parameters can be set in the launch file:

  • map_topic (default: "/map"): Topic where the map is published (type: nav_msgs/OccupancyGrid)
  • goal_topic (default: "/goal"): Topic where goal is published (type: geometry_msgs/Pose2D)
  • pose_topic (default: "/pose"): Topic where starting position is published (type: geometry_msgs/Pose2D)
  • max_vertices (default: 1500): Maximum vertices to be added to graph after which goal search should be stopped
  • step_size (default: 20): Size of steps. Bigger steps means smaller graphs but more time and vice versa

rrtplanner's People

Contributors

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