tokyo-drift / todos

Tasks for the tokyo drift team
1 stars 0 forks source link

DBW: Tuning of DBW node PID #21

Closed Deborah-Digges closed 7 years ago

Deborah-Digges commented 7 years ago

We can also consider using MPC

zerepolbap commented 7 years ago

We may also tune linear PID, to reduce throttle/brake cycles.

zerepolbap commented 7 years ago

Note from the specs:

As in the Path Planning project, acceleration should not exceed 10 m/s^2 and jerk should not exceed 10 m/s^3

zerepolbap commented 7 years ago

Also from the project description:

Note that throttle values passed to publish should be in the range 0 to 1. Brake values passed to publish should be in units of torque (N*m). The correct values for brake can be computed using the desired acceleration, weight of the vehicle, and wheel radius.

zerepolbap commented 7 years ago

In my view, as of today, steering is quite OK. Acceleration/braking works OK too. Some suggestions for "improvement":

In twist_controller.py:

But I have tried this approach and the result was worst that what we have today, so it'll probably require some more tuning. Or just leaving as it is :-)

Deborah-Digges commented 7 years ago