GithubHelp home page GithubHelp logo

yiyunevin / rl-rrt-global-planner Goto Github PK

View Code? Open in Web Editor NEW
22.0 1.0 3.0 80 KB

A ROS package of a path-planning method based on Bidirectional RRT*, which use the intermidiate points as the global information instead of the full path.

CMake 1.80% C++ 72.51% C 1.59% Python 24.10%
ros ros-noetic global-planner path-optimization path-planning rrt rrt-star b-rrt-star sampling-based-planning

rl-rrt-global-planner's Introduction

Globla Planner Based on Bidirectional-RRT*

  • A global planner based on Bidirectional-RRT*
  • Use intermidiate points as the global information
  • Use ROS Occupancy Map

System

  • Ubuntu 20.04
  • ROS Noetic (Read Map)

Usage

Environment setting

  1. Build a ROS package named rrt_planner
  2. Replace with the files of this repository
  3. $ catkin_make

Run the test program

$ roslaunch rrt_planner global_planner.launch test:=true
$ python3 ~/rrt_rl_review_ws/src/rrt_planner/script/rrt_planner_test.py --planner

Files

  • node.h: structure of each node
  • grid_map.h & grid_map.cpp: map processing, including collision-checking
  • rrt_planner.h & rrt_planner.cpp: main part of the algorithm
  • rrt_planner_client.py: API to use the function of the algorithm through ROS Service (path-planning & map info.)
  • rrt_planner_test.py: the main file (test file)
  • base_global_planner_params.yaml: parameters setting

Result

  • red: start
  • green: destination
  • cyan: intermediate points.

rl-rrt-global-planner's People

Contributors

yiyunevin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rl-rrt-global-planner's Issues

simulation

Can the simulation robot use both Turtlebot3 and KUKAyoubot?

how to finish the planning test ?

I have followed the instructions:
$ roslaunch rrt_planner global_planner.launch test:=true
$ python3 src/rrt_planner/script/rrt_planner_test.py --planner

now, I am stuck on here:


Open Map [stage_1][ INFO] [1688117531.975530249]: Loading map from image "./src/rrt_planner/maps/stage_1/map.pgm"
[ INFO] [1688117531.976247768]: Read a 97 X 97 map @ 0.050 m/cell
Done.
Preparing Global Service Client ... Done.

====================================
Given-Start-Goal Path


Click start point:

################################################

I clicked and input several x,y values, don't know how to keep going.

how to input start point and end point? to finish the planning.

Please give detailed example.

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.