Skip to content
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 Precision Loiter to Copter #3344

Closed
Chambana opened this issue Dec 17, 2015 · 7 comments
Closed

Add Precision Loiter to Copter #3344

Chambana opened this issue Dec 17, 2015 · 7 comments
Labels

Comments

@Chambana
Copy link
Contributor

Copter would benefit from a Precision Loiter capability in Loiter mode, similar to the Precision Landing capability in Landing mode. Perhaps Precision Loiter could be implemented with a LOITER_TARGET message, similar to how Precision Landing uses LANDING_TARGET messages?

A "Precision Loiter" capability can be demonstrated in 3.4 master by simply setting the parameter LAND_SPEED to 0 while in Land Mode and sending a LANDING_TARGET message. The copter will loiter over the ground position defined in the LANDING_TARGET message.

@rmackay9
Copy link
Contributor

indeed a few people have asked for this. Txs for the request!

@R-Lefebvre
Copy link
Contributor

Interesting. So does the loiter end up being more precise than it would be just on GPS alone? ie: less movement? Or is it more about loitering over an exact location, but possibly with some position dithering?

@squilter
Copy link
Member

@R-Lefebvre It could also be used for hovering over a moving object.

Maybe we could just rename the PRECISION_LAND message to PRECISION_SOMETHING and use it for both.

@govsux
Copy link

govsux commented Dec 17, 2015

Is landing more precise in holding it's location than loiter / pos hold? The only thing the FC can use is gps unless it has optical flow right? Or maybe that's what's being suggested?

@R-Lefebvre
Copy link
Contributor

I think part of the problem here is that using the terminology "Precision-Whatever" might lead to the assumption that this control method is more precise than others. I'm not sure it is.

What we are really talking about here, is controlling position relative to an optical target on the ground. The relative precision of that operation is not certain.

@Chambana
Copy link
Contributor Author

Yes, I'm looking to control position relative to an optical target on the ground.

Basically, my companion computer is already calculating my x-offset and y_offset for the LANDING_TARGET messages that get sent to flight controller at ~10Hz. It works really well and it would be nice if I could just send those same offsets in some kind of message that updates the Loiter target (for a static or moving target and in loiter mode not land mode).

Yes, I am using Optical Flow not GPS.

@rmackay9
Copy link
Contributor

rmackay9 commented Jan 3, 2017

Peter's implemented this so it will go out with AC3.5 which will start beta testing in January.

@rmackay9 rmackay9 closed this as completed Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants