ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Copter: Yaw to Initial Heading during Landing Near Home

Open R-Lefebvre opened this issue 13 years ago • 9 comments

Currently, when doing an RTL, the copter will automatically yaw to face the initial heading that was saved when the copter was armed. This is a nice feature that makes for a really professional looking landing, and can help pilot maintain orientation during this critical phase.

However, if running a mission using the Land command, the yaw does not yaw back to face initial location.

It would be nice if we could do a check, whereby, if we are doing a Land command where the landing location is maybe 5 or 10m from the Home position, then we can assume the pilot would like to yaw back to initial heading.

Alternatively, could this be an option in the Landing command? 0 for Yaw Hold, 1 to return to initial heading on any landing?

R-Lefebvre avatar Aug 19 '13 13:08 R-Lefebvre

I agree, although personally I'll leave the "yaw free" in any situation. It would be very useful instead to return the yaw (nose) to the original position case of RTL or Land, also have the possibility of a "yaw lock to the original position of takeoff" (temp disable yaw stick input) during Auto, useful in case of photogrammetry.

robustini avatar Aug 28 '13 05:08 robustini

hmm....you may be able to accomplish this by adding:

  1. a waypoint above where you plan to land which includes a delay
  2. a condition_yaw command with the direction you'd like the copter to face
  3. another waypoint at the same position which includes another delay which is at least 3 seconds long (to give the condition_yaw command from #2 time to spin around)
  4. land command

rmackay9 avatar Aug 28 '13 08:08 rmackay9

Randy, yes, but would it be possible to do this automatically? It seems like a common desire.

R-Lefebvre avatar Aug 28 '13 11:08 R-Lefebvre

Robert and i mean this function without a mission (without the Planner). The "yaw to face" do not need to own anything imho, if you want to take off again you must rotated manually the drone on the ground (absurd) or move it 180°, this is why I fly always with "free yaw". The drone should land with the nose exactly in the direction of take-off. The "nose to home during RTL" is normal for a plane, not for a quad. All those to whom I have recommended APM Copter in their early flights contact me for ask: "why the drone turns his nose up at me when it's RTL? There's a way to disable this nonsense function?". We should listen more to the needs of its users, caring about some of our opinions... :-)

robustini avatar Aug 28 '13 12:08 robustini

Hasn't this been done?

lthall avatar Jan 11 '18 07:01 lthall

Echoing @IamPete1, checking if this can be closed.

Naterater avatar Jan 17 '19 23:01 Naterater

I'm guessing its still the manual waypoint way to achieve such a landing behavior?

Otherwise we could use an RTL but we'd have to make sure the RTL is set to happen at the height of the mission or at the desired RTL height.

CetINV avatar Sep 22 '22 21:09 CetINV

You can get the desired effect on modern ArduPilot by setting WP_YAW_BEHAVE to the value 1, "point to next waypoint".

The default value for this is "point to next waypoint except when doing the RTL" a value of 4.

I think we can close this one. Does anyone disagree?

peterbarker avatar Jul 17 '24 01:07 peterbarker

I think it's OK to close this

rmackay9 avatar Jul 17 '24 02:07 rmackay9