Coder Social home page Coder Social logo

clcbs_ros's Introduction

clcbs_ros

ROS wrapper for CL-CBS with some extra functionality like parameter reconfiguration and the ability to drive through multiple waypoints. Follows the structure and format of MuSHR Coordination.

Installing

If you don't already have a full installation of ROS, follow the instructions at https://wiki.ros.org/Installation to install ROS on your system.

Install OMPL:

sudo apt-get install libompl-dev

Clone this repo and build:

cd ~/catkin_ws/src/  
git clone --recurse-submodules https://github.com/arnavthareja/clcbs_ros.git
cd ~/catkin_ws
catkin_make

If you want to launch the map server in launch/init_clcbs.launch, install the MuSHR platform. To disable the map server, edit the map_server arg in launch/init_clcbs.launch to have a value of 0.

Running

Open 3 terminals.

Terminal 1:

roscore

Terminal 2:

roslaunch clcbs_ros clcbs_ros.launch

Terminal 3:

roslaunch clcbs_ros init_clcbs.launch

Visualizing with rviz

In a new terminal:

rviz -d ~/catkin_ws/src/clcbs_ros/rviz/clcbs.rviz

Make sure to start rviz before launching init_clcbs.launch.

API

Subscribed Topics

/{car_n's name}/init_pose (geometry_msgs/PoseStamped)

The initial position of car_n. car_n's name is taken from the config file used in both clcbs_ros.launch and init_clcbs.launch.

/clcbs_ros/obstacles (geometry_msgs/PoseArray)

A list of obstacles in the environment to avoid.

/clcbs_ros/goals (clcbs_ros/GoalPoseArray)

The goal poses for the cars to drive to.

Published Topics

/{car_n's name}/waypoints (geometry_msgs/PoseArray)

The navigation plan outputted for car_n. car_n's name is taken from the config file used in both clcbs_ros.launch and init_clcbs.launch.

/{car_n's name}/marker (visualization_msgs/Marker)

Markers for visualization of car_n's inputted goal poses. car_n's name is taken from the config file used in both clcbs_ros.launch and init_clcbs.launch.

/clcbs_ros/border (visualization_msgs/Marker)

The boundary of the environment for visualization.

Message Definition

clcbs_ros/GoalPoseArray

std_msgs/Header Header
float64 scale
float64 minx
float64 miny
float64 maxx
float64 maxy
geometry_msgs/PoseArray[] goals

clcbs_ros's People

Contributors

arnavthareja avatar

Stargazers

 avatar Robotelligence avatar  avatar  avatar zxr avatar  avatar  avatar mumuxi avatar  avatar  avatar Ziqi Han avatar ming chen avatar  avatar  avatar  avatar Wen Licheng avatar Edwin avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

clcbs_ros's Issues

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.