PX4 / PX4-Autopilot

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

ROI not performed in v1.9.2 #12510

Open hangmann opened 5 years ago

hangmann commented 5 years ago

Hi all, I am using a holybro pixhawk 4 with px4 version 1.9.2 (px4_fmu-v5_multicopter.px4). I wanted to try ROI by yawing the copter instead of a gimbal.

Describe the bug I noticed that ROI is not performed between two waypoints. Hence, the copter's nose is not pointing towards ROI, but instead towards the next waypoint.

To Reproduce Steps to reproduce the behavior (with Airsim simulation):

  1. Uploaded mission in QGC (see attachment mission.txt)
  2. Started mission
  3. Took off
  4. See if ROI works Observations:
  5. Waypoint 1 is reached.
  6. Copter is oriented towards Waypoint 2
  7. Copter flies towards Waypoint 2 (nose headed towards it)
  8. Waypoint 2 is reached.
  9. Mission ended -> RTL

Expected behavior The ROI from the exact same mission is performed as intended with the firmware 1.8.2: The copter's nose is pointing towards ROI while flying to Waypoint 2. Hence Reproduce step 6 should be "oriented towards ROI"

Drone (please complete the following information):

Log File I will simulate the mission again, and hand in the log file asap

julianoes commented 5 years ago

Thanks for reporting. @MaEtUgR @bresch

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.