Git Product home page Git Product logo

valetparking-mpc's Introduction

MPC for Automated Valet Parking

Build Status

Our EECS 561 (Digital Controls) final project.

Setup

Make a python virtual environment (to exit the venv, deactivate):

cd ${your virtual environment directory}
python3 -m venv eecs561
source eecs561/bin/activate

Install dependencies:

cd ${your desired directory for this project}
git clone https://github.com/stevenliu216/EECS561-final-project.git
pip install -r requirements.txt

Run the code

python main.py

Diagram

Diagram

References

We referenced Atsushi Sakai's PythonRobotics repository for example codes for implementing MPC control in python.

@misc{PythonRobotics,
Author = {Atsushi Sakai and Daniel Ingram and Joseph Dinius and Karan Chawla and Antonin Raffin and Alexis Paques},
Title = {PythonRobotics: a Python code collection of robotics algorithms},
Year = {2018},
Eprint = {arXiv:1808.10703},
}

valetparking-mpc's People

Contributors

amcrean avatar stevenliu216 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

valetparking-mpc's Issues

simulator

  • calc_nearest_index
  • calc_reference_trajectory
  • iterate_mpc
  • update_state

adaptive control

Think about how to adjust the optimization weights and constraints as car approaches the destination, and implement it so that the controller better reaches the goal configuration.

  • Implement path planner indication that we are close to the goal (distance_to_goal())
  • Adjust the weights and constraints based on above (if distance_to_goal(): ...)
  • Evaluate the results (with and without this adjustment)
  • Error metrics on pose (x,y), heading angle (phi), velocity and steering angle
  • Evaluate various weights in Q, Qf, R, Rd matrices
  • Constraint on the distance to goal?
  • Fix random MPC divergence
  • More test tracks from satellite images

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.