ArduPilot/ardupilot

Copter: POSITION_TARGET_LOCAL_NED doesn't correctly reflect SET_POSITION_TARGET_LOCAL_NED

Open

#13,932 opened on Mar 30, 2020

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (15,603 forks)batch import
CopterEnhancementgood first issue

Repository metrics

Stars
 (9,336 stars)
PR merge metrics
 (Avg merge 26d 16h) (166 merged PRs in 30d)

Description

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

Contributor guide