Hi all,
is there a way to control the yaw orientation / heading of the copter during a mission? As far as I have tested, the copter always points to the next mission waypoint and flies "forward". Even though you can enable "simple mode" with auto it seems to have no effect.
It would also be nice to be able to set the yaw orientation for every waypoint. The MAVLink protocol has a field for that.
Anyways having the copter maintain a fixed yaw orientation during a mission would help me a lot. Is there a way this can be done?
Greetings
Niklas
Replies
Dear all,
after sometime I am giving this another try. However, I am having not much success. Is there any way to keep the orientation during the execution of a mission? Is there some parameter I can change to keep arducopter from orientating toward the next waypoint?
Any hint is welcome!
Niklas
Thank you very much for the help. I have been playing with the CONDITION_YAW command quite a bit. The DO_SET_ROI command has disappeared in the current version of mission planner.
My findings for CONDITION_YAW are however that no matter what I set, only 0s get written to APM. The result is that the copter always points north.
Wouldn't it be the best to use the yaw angle parameter in the waypoint command for this purpose? This if course only works for copters and needs to be ignored by fixed wings.
Yes, you need to add a command called MAV_CMD_DO_SET_ROI.
the main value to set is MAV_ROI_NONE, or 0 if you need to enter a number.
Hi Niklas
There are two commands in the Flight Planner section of the Mission Planner software which look like they do what you need.
DO_SET_ROI
and
CONDITION_YAW
I have no experience using it but plan to soon. You can find the manual for Mission Planner here.
NOTE: The current version of Mission Planner (1.0.94) pops up the following warning when starting up ...
... so use the scripting with caution. Micheal Obourne releases several updates per week (Thanks Micheal, fantastic software!) at the moment so shouldn't have to wait long for a version without this warning ;o)
Good luck, let us know how it goes... Perhaps a video too!
Very interesting point, i didn't tried to change Yaw orientation during auto fly yet. The Yaw stick has no effect ?
This would be very usefull for video filming.