Skip to content

The objective of this project is to design the optimal control law of a fictitious bicycle.

Notifications You must be signed in to change notification settings

SimoCene/Optimal-Control-of-a-Vehicle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Optimal-Control-of-a-Vehicle

Final exam of the course "Optimal Control" at the university of Bologna. Professor Notarstefano G. and toutor Sforni L.

The objective of this project is to design the optimal control law of a fictitious bicycle. In order to absolve this task, the trajectories of the bicycle must be optimized through the Newton’s method algorithm. Then an optimal feedback controller has to be defined using the LQR (Linear Quadratic Regulator) algorithm. An additional constraint for the input control is added in order to simulate input saturation. Finally, the bicycle movement will be shown in an animation.

[OPTCON2022} Group 19 - Alma Mater Studiorum UNIBO - Execution of the code:

-Task_1: Open file 'Task_1-2.py' In order to launch this task, you have to select 'Step' curve in "TO DO section". To visualize the Armijo's plot set to True the flag 'visu-armijo'

-Task_2: Open file 'Task_1-2.py' In order to launch this task, you have to select 'Skidpad' curve in "TO DO section". To visualize the Armijo's plot set to True the flag 'visu-armijo'

-Task_3: Open file 'Task_3-4.py' Is possibile to select between 'Step' and 'Skidpad' which trajectory will be tracked.

-Task_4: Open file 'Task_3-4.py' Is possibile to select between 'Step' and 'Skidpad' which trajectory will be tracked. The animation will start automatically at the end of the execution.

-Task_5: Open file 'Task_1-2-5.py' In order to launch this task, you have to select between 'Step' and 'Skidpad' curve in "TO DO section". Automatically some constrain in the input control are set, is possible to see the output degradation.

About

The objective of this project is to design the optimal control law of a fictitious bicycle.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages