ArduPilot/ardupilot

Copter: POSITION_TARGET_LOCAL_NED doesn't correctly reflect SET_POSITION_TARGET_LOCAL_NED

Aperta

#13.932 aperta il 30 mar 2020

 (3 commenti) (0 reazioni) (0 assegnatari)C++ (15.603 fork)batch import
CopterEnhancementgood first issue

Metriche repository

Star
 (9336 stelle)
Metriche merge PR
 (Merge medio 26g 16h) (166 PR mergiate in 30 g)

Descrizione

Bug report

Issue details

POSITION_TARGET_LOCAL_NED doesn't correctly reflect SET_POSITION_TARGET_LOCAL_NED. It always returns MAV_FRAME_LOCAL_NED, regardless of what was specified in SET. The type mask is also incorrect - it can only return 3 different masks, when there are many more possible combinations. Finally, yaw and yaw_rate are always zero.

Version 4.03

Platform [ ] All [ ] AntennaTracker [x] Copter [ ] Plane [ ] Rover [ ] Submarine

Guida contributor