Skip to content

AlexKaravaev/rust_mpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPC racing controller made in ros2-rust

Alt Text

This is an example package of using ros2-rust client library to do some applied robotics task.

Dependencies

Quickstart

Make sure that you install deps in your workspace.

cd ws/src
git clone https://github.com/AlexKaravaev/rust_mpc
cd .. && colcon build

You can tune mpc controller(for example to include laserscan and obstacles) by changing file src/create_solver.py and running python3 create_solver.py

Also there are couple of racing maps included in this repo:

  • Monza
  • Silverstone

To change the map simply change the name in config/sim.yaml. You can download more race tracks from f1tenth racing repo