Jaeyoung-Lim / mavros_controllers

Aggressive trajectory tracking using mavros for PX4 enabled vehicles
BSD 3-Clause "New" or "Revised" License
400 stars 164 forks source link

Auto-tuning #206

Closed brunopinto900 closed 2 years ago

brunopinto900 commented 2 years ago

Hello,

Do you think its possible to write a script to tune the geometric controller automatically with logs? The idea is to tune the controller gains for any quadrotor, update them on the respective config files. What do you think? I am looking for a self-contained project and this seems like a good idea.

Thank you.

Jaeyoung-Lim commented 2 years ago

@brunopinto900 Sounds cool! And should be doable. If your interested, we already worked on a system identification pipeline through flight logs: https://github.com/ethz-asl/data-driven-dynamics and you can take advantage of the infrastructure (log parsing etc)

brunopinto900 commented 2 years ago

@brunopinto900 Sounds cool! And should be doable. If your interested, we already worked on a system identification pipeline through flight logs: https://github.com/ethz-asl/data-driven-dynamics and you can take advantage of the infrastructure (log parsing etc)

Haha, found that work literally 5 minutes later. One question. I noticed this #188 How is this related to auto-tune the geometric controller?

Jaeyoung-Lim commented 2 years ago

@brunopinto900 So lissajous trajectories are just a nice way to excite the system and this is what I used for https://github.com/ethz-asl/data-driven-dynamics

Could be used for autotuning, but not necessarily required.

Jaeyoung-Lim commented 2 years ago

Closing as stale