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

Path Following with this geometric control #232

Closed maulanaazhari closed 1 year ago

maulanaazhari commented 1 year ago

Hi! I am wondering if this geometric controller can track well if we don't have the target velocity or acceleration (in this case just a path). My use case is that I am planning to use path planner similar to A* which usually just provide the path to track.

I know that the performance maybe reduced due to the missing information from the trajectory. But compared to PID position controller, what do you think will work better?

Thanks~

Jaeyoung-Lim commented 1 year ago

@maulanaazhari You can still do path following control with the geometric controls. You just need a way to generate acceleration from the path geometry

maulanaazhari commented 1 year ago

I see, do you have any references on how to generate velocity and acceleration from the path geometry? do you think method like min-snap trajectory generator would be good?

Jaeyoung-Lim commented 1 year ago

@maulanaazhari No, if you use a trajectory generator, you are tracking trajectory again, not a path

https://www.sciencedirect.com/science/article/pii/S1474667016419853

maulanaazhari commented 1 year ago

got it! I am closing this comment, thanks!