PX4 / PX4-Autopilot

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

Orange Cube 1.14 FW RTL goes to GF_MAX_VERT_DIST rather than RTL_RETURN_ALT #22788

Open autoflightlab opened 7 months ago

autoflightlab commented 7 months ago

Describe the bug

Engaged RTL from RC Tx twice while in manual mode. Both times target altitude was set to GF_MAX_VERT_DIST rather than RTL_RETURN_ALT

To Reproduce

RTL_TYPE = 1 RTL_RETURN_ALT = 60.96 (200 feet) Single Rally point Takeoff in manual, switch to RTL from RC Tx

Expected behavior

Expected climb to RTL_RETURN_ALT if below or stay at current altitude if above when RTL engaged

Screenshot / Media

image

Flight Log

https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.px4.io%2Fplot_app%3Flog%3D1181fc5e-721b-4a0a-8c56-760c11c681b2&data=05%7C02%7Cmark.a.motter%40nasa.gov%7Cac54b712352c4bf8fb0708dc32f3570c%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C638441267919948797%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=FuC7cmLNmiMBEvHRU94lyZ%2Bg1I%2FA%2FZr1nQ35P6OzA1Q%3D&reserved=0

Software Version

1.14.0

Flight controller

Orange Cube

Vehicle type

Fixed Wing

How are the different components wired up (including port information)

Ailerons Flaps Rudder Elevator Throttle

Additional context

Also had huge pitch command wind up, seems like a separate bug

autoflightlab commented 7 months ago

Went back to V1.13.3, no issues