PX4 / PX4-Autopilot

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

[fixed wing]nose down after mission mode #14313

Open jinchengde opened 4 years ago

jinchengde commented 4 years ago

Describe the bug When I switch the flight mode from stablize to mission, the plane have a strange nose down and power max immidately, I haven't see that before, and the speed is enough to level flight, but I think maybe some problem about airspeed because I haven't airspeed sensor, the speed is depend on the groundspeed from GPS. the flight log is below: https://logs.px4.io/plot_app?log=1a3116dd-d687-470f-8cb3-31740f9e0ac6 speed: image

nose down immidately image

jinchengde commented 4 years ago

I changed ASPD_PRIMARY from disable to Groundspeed minus windspeed and solve this issue.

LorenzMeier commented 4 years ago

Could you send a PR for your fix?

jinchengde commented 4 years ago

@LorenzMeier I just modify the parameter and solve the problem, but actually I don't know the root cuase for this issue, so that's why I wish to simulator the fixed wing without airspeed in gazebo. If the plane haven't install airspeed sensor, no thread will public the topic of airspeed in uORB, but only airspeed_validated will be public to uORB by airspeed selector. I suppose that maybe some confuse to these two topics. but in gazebo, I can't simulator this scenario, does anyone could figure out how to modify the gazebo plugin to disable the airspeed sensor?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.