PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

[Fixedwings] Instantaneous path setpoint for vertical axis

Open Jaeyoung-Lim opened this issue 1 year ago • 6 comments

Describe problem solved by the proposed feature

For fixed-wing vehicles, it is only possible to either specify a height setpoint or a height rate setpoint for TECS.

This is enough for most use cases in waypoint-based missions but is insufficient to guide the vehicle along a glide slope.

It would be very useful if one can guide the vehicle along a (feasible)glide slope for various use cases such as landing, navigation from a path planner.

Describe your preferred solution

Currently, the longitudinal axis is completely decomposed. It would be great if we can specify the height as closest point on the glide path and the height rate, which would be the projected speed the vehicle is expected to descend along the path.could

Describe possible alternatives

We could also introduce full 3D position setpoints and output acceleration setpoints to track the path. However, this might be less energy efficient compared to using TECS.

Additional context

No response

Jaeyoung-Lim avatar Feb 19 '24 15:02 Jaeyoung-Lim

Would it also allow to use px4 with unpowered gliders?

vacoff avatar Feb 20 '24 06:02 vacoff

@vacoff You can already use px4 for unpowered gliders, if you want to stay on an arbitrary glide slope by regulating airspeed

Jaeyoung-Lim avatar Feb 20 '24 07:02 Jaeyoung-Lim

What about gliders dropped from mr platforms with 0 airspeed at the start? I think px4 would have a hard time trying to level up the flight.

vacoff avatar Feb 20 '24 07:02 vacoff

@KonradRudin @tstastny food for thought

sfuhrer avatar Feb 20 '24 12:02 sfuhrer

Yes we should do this.

closest point on the glide path and the height rate

except i would recommend not "true" closest point, but rather closest point in height axis -- see longitudinal guidance implementation in Section 2.3, Paper VI of https://tstastny.github.io/pdf/tstastny_phd_thesis_wcover.pdf (you can ignore the wind considerations if we dont have 3d wind estimate anyway)

@KonradRudin and I have a refactor diagram somewhere which considers this input. Just time has not been on our side for prioritizing the necessary interfaces.

tstastny avatar Feb 20 '24 12:02 tstastny

What about gliders dropped from mr platforms with 0 airspeed at the start? I think px4 would have a hard time trying to level up the flight.

@vacoff I think this is not related to the feature we are discussing here. This would be about regulating airspeed using TECS, irrespective of being on a 3D path. If you think there is something missing in PX4 for this use case, I would suggest opening a new issue.

Jaeyoung-Lim avatar Feb 20 '24 13:02 Jaeyoung-Lim

Great idea!

ryanjAA avatar Feb 29 '24 03:02 ryanjAA