eborghi10 / jps_global_planner

Jump Point Search global planner for ROS 1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jps_global_planner : Jump Point Search

A global planner for ROS based on Jump Point Search algorithm.

Build status

Build Status GitHub issues GitHub

Install dependencies

/catkin_ws/src $ git clone https://github.com/KumarRobotics/jps3d.git

cd /catkin_ws && catkin_make_isolated --install --install-space /opt/ros/$ROS_DISTRO -DCMAKE_BUILD_TYPE=Release

Usage

To buid this ROS package, just compile it normally with catkin_make.

Create a planner parameter file for move_base with this information:

base_global_planner: "jps/JumpPointSearchROS"

JumpPointSearchROS:
  debug: true

Backtrace with gdb

  • Build move_base from source

  • Install gdb:

sudo apt-get install -y gdb
  • Compile the workspace with debug symbols:
catkin_make -DCMAKE_BUILD_TYPE=RelWithDebInfo
break /catkin_ws/src/jps_global_planner/src/jps_ros.cpp:180

GDB Cheat sheet

Testing

rosrun jps_global_planner test_jps_global_planner `rospack find jps_global_planner`/test/data/corridor.yaml

About

Jump Point Search global planner for ROS 1

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 93.3%Language:CMake 6.7%