sakuraclamp / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Detect if autopilot is goind in wrong direction (compass error) #414

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Based on my total loss ar 3DR frame with APM2 into the sea:

http://diydrones.com/forum/topics/my-compass-is-reversed-how-can-that-be?comment
Id=705844%3AComment%3A847113&xg_source=msg_com_forum

If compass is bad, position hold or RTL can result in "get as fast as possible 
away from it" even "go in opposite direction"..

Logic: 
If AP decides to go "north" to get to desired direction, and distance to home 
does not decrease - verify that heading is correct  - change heading (big 
circle) until most effective way home is detected. (highest velocity to home) - 
compensate or "don't get confused" while doing so by stick input if any during 
this maneuver.

Original issue reported on code.google.com by andre.kj...@gmail.com on 29 Apr 2012 at 8:59

GoogleCodeExporter commented 8 years ago
Closing all issues on the old issues list by marking them WontFix.

If this is still a valid issue please re-raise it on the new GitHub issues 
list: https://github.com/diydrones/ardupilot/issues

Thanks!

Original comment by rmackay...@gmail.com on 21 Jul 2013 at 2:14