-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FW position control add takeoff minimum pitch parameter #9243
Conversation
Agree. Once this goes in place, then QGC could hide the takeoff pitch value in the waypoint editor which is a big flight safety improvement. People fat figure the wrong pitch into that field and cause the vehicle to crash on launch -- i've done it a couple times and I've seen others do it too. This also makes Takeoff mode actually useful for PX4 Fixed Wing since the pitch can be set appropriately for each vehicle, instead of some previously hard-coded value. Was it hard coded to 10 degrees previously for Takeoff mode? actually... is that being fixed here? |
original issue post here: #6787 |
9bed1d2
to
3814a9c
Compare
3814a9c
to
5b9b2cc
Compare
5b9b2cc
to
b5afbb9
Compare
b5afbb9
to
22e605c
Compare
Conflicts resolved and rebased on master. |
we should make a scan for all launch mode features for both mission takeoff and QGC button takeoff behaviors. e.g. how does this fit in #9858 (comment) |
aa9d1fc
to
8bdb9cd
Compare
can we add this to the Fixed Wing project board? |
I totally agree that this needed to be changed/fixed. I did a quick review and found no issues with the code changes related to the pitch min parameter. However, there is also a lot of variable name changes mixed into this one commit that i thus did not review... |
8bdb9cd
to
f9db41c
Compare
Rebased on master (and simplified). |
f9db41c
to
52b658e
Compare
52b658e
to
b425b3b
Compare
b425b3b
to
0b3be0e
Compare
Simpler version of this PR without the other FW position controller changes. #11373 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hmmmm. @dagar this is the version we’ve been flying for months. Works great. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
@RomanBapst This still looks sensible. Any reason why it hasn't gone in? |
@hamishwillee Yes, looks sensible. I'll have to rebase it and merge. |
This will be good to have. No reason to really ever change takeoff pitch per mission unless testing something. I have enjoyed an accidental 35 degree full flap takeoff instead of a 25 deg test (that should be essentially impossible unless very deliberate) which this will help users not do. |
Thanks @RomanBapst - I hope soon :-0 |
guess what happens when someone thinks they are typing in their takeoff altitude into the pitch field! yep, done it.... that is why we rolled in something nearly identical to this PR a year ago. |
Ping @RomanBapst - rebasing and merging reminder :-) |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
This (or something similar) should really go into to upstream. We’ve been running this PR for well over a year now. Many 1000’s of flights. As both I and @ryanjAA have pointed out there is a safety concern about the current requirement to type in a Takeoff pitch value into each mission. Are there know users this would negatively impact? @dagar @RomanBapst |
I agree. Takeoff pitch really should be set either as a parameter or harder to access mission setting since it shouldn’t be easily accessible to the point of accidentally changing it. I never change it unless it’s a test but I do like knowing I see it when planning a mission as it validates the planning is correct (although I don’t need to see cruise speed and that’s a parameter so it’s just getting used to it I suppose). This does make sense to have as parameter or possibly viewable in qgc mission planning so if there are negative reasons not known maybe we approach this from the qgc side and make it simply harder to change than a simple text box but one way or another too easy of access isn’t ideal. |
Closing as stale. |
This is currently passed through via mavlink, but I don't think it makes sense to set per mission. This is a vehicle parameter.
@Antiheavy