Giter VIP home page Giter VIP logo

cem_batch_projection_vis_planner's Introduction

cem_vis_planner

The repository is associated with our RAL + IROS 2022 submission Visibility-Aware Navigation with Batch Projection Augmented Cross-Entropy Method over a Learned Occlusion Cost.

Dependecies:

Demo Video

Watch the video

Installation procedure

After installing the dependencies, you can build our propsed MPC package as follows:

cd your_catkin_ws/src
git clone https://github.com/Houman-HM/cem_batch_projection_vis_planner
cd .. && catkin build
source your_catkin_ws/devel/setup.bash

Running the algorithm

In order to run the MPC for tracking a target in a world with 6 obstacles, follow the procedure below:

In the first terminal:

roslaunch cem_vis_planner 6_wall_world.launch

This launches a Gazebo environment with 6 walls spawned.

In the second terminal:

For Algorithm 1:

rosrun cem_vis_planner main_base_line.py

For Algorithm 2:

rosrun cem_vis_planner main_projection.py

In the third terminal:

There are two bag files available for moving the target with speeds of 0.5 and 1 m/s in the 6_wall environment. You can play either of them to test the algorithms.

roscd cem_vis_planner && cd target_trajectory_bag_files

rosbag play 6_wall_target_vel_05.bag // or

rosbag play 6_wall_target_vel_1.bag

You can also start teleoperating the target by publishing velocities on /target/cmd_vel topic. The drone should start following it as you are teleoperating the target.

Hyper parameters used in Algorithms 1 and 2

Algorithm 1:

Parameter Occlusion weight CEM batch size Target tracking weight Smoothness weight Velocity bound weight Acceleration bound weight
Value 10000 500 100 10 1 1

Algorithm 2:

Parameter Occlusion weight CEM batch size projection batch size ρ Smoohtness weight
Value 10000 500 100 1 10

Running Nageli implmentation using ACADO

Running generated ACADO code

  • Edit global variables in test.c: maker position, obstacles initial position and velocity, quadrotor's initial position, weights
  • Run make clean all only for the first time otherwise just make followed by ./test.
  • To visualize, run python quad_plot.py

Look into code_gen.cpp file for acado settings, cost terms, constraints, etc.

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.