-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MAV_CMD_CONDITION_YAW #8228
Comments
Also Mavlink spec is not specific enough. Should be updated for this: |
Hmm, now that I have this coded on the QGC side I realize this isn't quite what I want. Normally the vehicle points forward along the flight path (param controlled). But what I want is instead for it to point 90 degrees clockwise to the flight path as it flies the mission. Not quite sure how to do that. This keeps it pointed at the structure as it flies the polygon path. |
What's the interpretation of these CONDITION commands? |
They do both, change to the yaw but they don't move to the next command until the yaw requested is reached. It need something which is yaw 90 degrees to the mission flight path though which this doesn't do. |
We could also do it by extending MIS_YAWMODE, but I think it would be better with mavlink commands. Thinking out loud here, but would it make sense to do it with a new ROI? That way it could be done with either a gimbal or turning the vehicle if the camera is fixed. |
It's only sort of an ROI. Since the flight path really determines it, just with a 90 degreee offset. A paramater won't work since you don't want to futz a param just to get a misison to work. |
Yes I agree we shouldn't do it with a parameter. I meant adding a new ROI type for a particular yaw. Telling the vehicle higher level what you want (look at yaw 90 degrees) rather than specific moves to do it. Then based on the particular vehicle and configuration the firmware can do it either with the gimbal or yawing during the mission. |
So it would be something like: |
So if I used 90 degress with MAV_ROI_WPNEXT_YAW_OFFSET and flew a clockwise pattern it would always point to the structure. |
That sounds good to me, but probably needs a bit more thought overall. |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
We need this for QGC structure scan.
http://mavlink.org/messages/common#MAV_CMD_CONDITION_YAW
The text was updated successfully, but these errors were encountered: