Git Product home page Git Product logo

mit-acl / mppi_numba Goto Github PK

View Code? Open in Web Editor NEW
161.0 5.0 16.0 39.48 MB

A GPU implementation of Model Predictive Path Integral (MPPI) control that uses a probabilistic traversability model for planning risk-aware trajectories.

Home Page: https://arxiv.org/abs/2210.00153

License: MIT License

Jupyter Notebook 98.56% Python 1.44%
gpu motion-planning mppi numba python traversability robotics sampling-based-planning

mppi_numba's People

Contributors

xiaoyi-cai-acl avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

mppi_numba's Issues

Lambda update missing?

Going through the barebones notebook seems like the lamba is set to 1 throughout the whole run of MPPI. Any specific reasons to not update lambda?

Why there are two clamping function for control limits?

Hello, and thank you for making this amazing work available on GitHub.

I have a question regarding to the clamping of control inputs in the #mppi.py and also #barebone_mppi_numba.ipynb notebook

I understand from the paper of MPPI usually they clamp the control sequence before it passes through the dynamics, which is in the mppi.py code file, it is inside the #rollout_numba function

v_noisy = max(vrange_d[0], min(vrange_d[1], v_nom))
w_noisy = max(wrange_d[0], min(wrange_d[1], w_nom))

My confusion is why there is another clamping function again after we weight the control sequence inside of the #update_useq_numba function?,

# Blocks crop the control together
tgap = int(math.ceil(timesteps / num_threads))
starti = min(tid*tgap, timesteps)
endi = min(starti+tgap, timesteps)
for ti in range(starti, endi):
u_cur_d[ti, 0] = max(vrange_d[0], min(vrange_d[1], u_cur_d[ti, 0]))
u_cur_d[ti, 1] = max(wrange_d[0], min(wrange_d[1], u_cur_d[ti, 1]))

Isn't it enough to just clamp it inside the rollout function?, I am looking forward to hearing from you Thank you

ROS costmap

Hi there,

Thank you for sharing your amazing work!
I am trying to change your unicycle model to ackermann-based vehicle model.
Also, I want to deploy robot for the real-world test.

To do this, I am looking into your test code, and found "use_costmap" parameter.
After your first release, is there any progress for ROS costmap version?

Again, thank you very much!

Best,

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.