Help with using Condition_Yaw in Mission Planner


I have a little problem with understanding the Condition_Yaw command. The copter should fly beside the street first on the left than on the right side of the street. The copter and camera should always point to the street and take any x meters a picture.

I created this little example, but the problem I have is, that the copter will turn 90° for the first waypoint but goes back straight forward when it reaches the second waypoint. I tried to use this command on every waypoint, but it turns the copter again 90°. What I didn´t try yet, use this command on every waypoint but leave it with 0. Would that help?

Hope someone can clear this up for me. Thanks for the help!

What setting do you have for WP_YAW_BEHAVIOR ?
If it is “face next waypoint” it could be having an effect.
We always explicitly set the angle at each waypoint, so I would expect a ‘0’ to reset it to North.
I may be wrong, and zero might mean no change, or does no change revert to the WP_YAW_BEHAVIOR setting?

I always have WP_YAW_BEHAVIOR set to ‘No Change’ so it stays on the heading it takes off at, unless changed, by stick input or Mission Command.

Hello Mike,

thank you so much for the info!!

It was set to “2”, changed it to 0 it will test it tomorrow