PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.6k stars 13.56k forks source link

[Project Tracker] Control Allocation User experience improvement #19444

Open junwoo091400 opened 2 years ago

junwoo091400 commented 2 years ago

Description

This is an issue to track tasks & have discussions on improving the Control Allocation user experience. I previously had a google doc to keep these tracked, but now making it public on Github repo to make it more transparent!

Why

The Control Allocation is already implemented : #18776 and after the upcoming release of PX4 v1.13.0, it will be the main controller. So making the user experience as smooth as possible is important, so that every user can set it up without confusion.

PRs from this Project

TODOs

Relevant Links

Jaeyoung-Lim commented 2 years ago

@junwoo091400 There is actually a fixedwing model in Gazebo SITL missing for control allocation. Would be great if we can have this as an example while addressing this :smile:

junwoo091400 commented 2 years ago

If you could point me to where I could check, that would be great! @Jaeyoung-Lim

Jaeyoung-Lim commented 2 years ago

@junwoo091400 We can currently test control allocation models in SITL with the following two models: https://github.com/PX4/PX4-Autopilot/tree/master/ROMFS/px4fmu_common/init.d-posix/airframes

e.g.

make px4_sitl gazebo_iris_ctrlalloc

However, we are missing a fixedwing model as an example

bkueng commented 2 years ago

@Jaeyoung-Lim you can enable it here: https://github.com/PX4/PX4-Autopilot/blob/master/ROMFS/px4fmu_common/init.d-posix/airframes/1030_plane#L46=

junwoo091400 commented 2 years ago

Control Surfaces & Servo Documentation done in https://github.com/PX4/PX4-user_guide/pull/1858/commits/a81088a3c65bfa18632c7fcf8bbe6045f9070f55

junwoo091400 commented 2 years ago

Added TODOs on Control Surface explanation, as the user was having trouble setting it up

image

Tiktiki commented 2 years ago

Having the ability to select which servo/gear output gets enable in pre-arm would be great. I have issues with landing gears moving when already set in pre-arm. For example I have a plane with gear that can be catapult-launched or take-off from a runway. Depending on the situation the gear need to be up or down at pre-arm/arming.

junwoo091400 commented 2 years ago

A lot of the QGC improvements would be possible after my Frames metadata QGC PR goes in, as I would have way more Qt knowledge & good idea on how to implement the changes in the TODO list 😉

https://github.com/mavlink/qgroundcontrol/pull/10472