Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trajectory Tracking Controller #2

Open
4 tasks
xXBasti opened this issue May 27, 2019 · 1 comment
Open
4 tasks

Trajectory Tracking Controller #2

xXBasti opened this issue May 27, 2019 · 1 comment
Assignees
Labels
help wanted Extra attention is needed ROS software

Comments

@xXBasti
Copy link
Collaborator

xXBasti commented May 27, 2019

Objective: Trajectory Tracking Controller

Implement a trajectory tracking controller for the new ROS based car. There are controller available in LMS from our previous models. The related Issue can be found here:
https://github.com/tum-phoenix/drive_project_management/issues/23
lms-org/config_auto_drive#83

The implementation of the controller can be found here:
https://github.com/lms-org/trajectory_controller/blob/master/src/trajectory_point_follower.cpp

The main Idea is firstly to port the controller from LMS to ROS. We still have contract to the developer of the controller, so that we can get some information about the implementation, which is a model predictive controller.

Tasks:

  • Read the description of the old controller
  • Port the existing controller to ROS and check if all sensor inputs are available at the new car.
  • Adjust the parameters of the controller to the new model.
  • Compare the approach with different control approaches, like a flatness based controller and get more information about model predictive controller.
@xXBasti xXBasti added help wanted Extra attention is needed software ROS labels May 27, 2019
@xXBasti xXBasti self-assigned this May 27, 2019
@Phibedy
Copy link
Member

Phibedy commented May 29, 2019

One mpc controller was written by Tobi (don't know his github name). The second one was from Michi (@mp4096). The simple pid was added by me. To get started I would go with the pid first. It is easy to debug, you know what happens and when we tuned the pid parameters it outperformed the mpc controllers.
We moved the "Regelpunkt" depending on the current velocity. This really improved the mpcs/pid, but if you move it to far it will short-cut S-curves

Fun-fact:
I am quite sure that there is a mistake in the mpc model from tobi which we ignored as it worked well, but I can't remember what exactly. But it worked better than the one from michi (maybe because of the moving "Regelpunkt" and velocity "hack"). You don't have to call it hack, it just looks like a hack but it describes the reality better, so maybe one can call it mpc model with improvements :)

@MaslinuPoimal MaslinuPoimal changed the title Trajectory Trajectory Controller Trajectory Tracking Controller May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed ROS software
Projects
None yet
Development

No branches or pull requests

2 participants