Andrew Tridgell
3b148c87d5
geofence: main geo-fence code
...
this implements the primary logic of geo-fencing
2011-12-16 20:11:51 +11:00
Andrew Tridgell
82b615df50
geofence: added geo-fencing control parameters
2011-12-16 20:11:51 +11:00
Andrew Tridgell
9b6bab8904
AP_Math: better polygon algorithm
...
this one seems to do better with single precision floating point
2011-12-16 20:11:51 +11:00
Andrew Tridgell
dc20d89375
MAVLink: update to latest mavlink XML
...
this includes the geo-fencing messages
2011-12-16 20:11:51 +11:00
Andrew Tridgell
882b4cd739
autotest: fixed prog name
2011-12-16 20:10:12 +11:00
Andrew Tridgell
b1f912a355
autotest: fixed working directory in sample scripts
2011-12-16 20:10:07 +11:00
Andrew Tridgell
960d6ee38a
removed an unused variable
2011-12-16 20:09:49 +11:00
Andrew Tridgell
9591317dbc
ADC: added an enable_channel() API
...
enable_channel() must be used before the Ch6() method is called to
enable gathering of data on the required channels
2011-12-16 20:09:40 +11:00
Andrew Tridgell
c41e7c505b
timer: enable interrupts during timer processing
...
this prevents us losing serial bytes when we call sensor drivers that
take more than 100usec to read.
We also prevent timer recursion by re-enabling the timer after all
callbacks are complete
2011-12-16 20:09:38 +11:00
Andrew Tridgell
09947dace1
ADC: only read channels that are actually being used
...
on the APM2 we usually use none of the ADC channels, although we may
use the airspeed sensor. This change means we detect which channels
are being read, and only do the SPI transfers for those ones. That
saves us about 100usec per timer interrupt (ie. about 10% of our CPU)
2011-12-16 20:09:35 +11:00
Andrew Tridgell
84a694efb9
only check for "enter 3 times" in first 20s after boot
...
we don't want stray bytes on serial3 to make us enter the CLI during
flight!
2011-12-16 20:09:32 +11:00
Andrew Tridgell
f125f6619a
fixed formatting of ADC driver
...
it was a nasty mix of DOS and UNIX
2011-12-16 20:09:29 +11:00
Andrew Tridgell
b484411c41
timers: change to 1kHz timer by default
...
we were using a 227Hz timer, which is far too slow
2011-12-16 20:09:25 +11:00
Andrew Tridgell
e187ff149f
desktop: fixed type of dword eeprom read
2011-12-16 20:09:18 +11:00
Andrew Tridgell
62e92f406e
AP_Math: make out vector and matrix elements used types with fixed sizes
...
this prevents differences between CPU types
2011-12-16 20:09:11 +11:00
Jason Short
2fc25d963d
renamed super simple, added framework for auto calc of throttle cruise
2011-12-15 20:51:41 -08:00
Jason Short
3019c35364
turned off iterm for traverse
2011-12-15 20:51:41 -08:00
Jason Short
f11f2c6d97
added some more throttle imax range
...
renamed Super Simple
2011-12-15 20:51:41 -08:00
Jason Short
72605f846c
renamed super simple
2011-12-15 20:51:41 -08:00
Jason Short
e6fd8a689e
added SuperSimple and notes
2011-12-15 20:51:41 -08:00
Jason Short
ced4cf1538
testing updates
2011-12-15 20:51:41 -08:00
Jason Short
6e81b1a6f8
Added new tests
2011-12-15 20:51:41 -08:00
Jason Short
da8d342a08
Added Land control_mode
2011-12-15 20:51:41 -08:00
Jason Short
88b3708dcf
added altitude to circle mission
2011-12-15 20:51:40 -08:00
Jason Short
0ba8a9f30b
Allows user to specify just an altitude for Circle Mode
2011-12-15 20:51:40 -08:00
Jason Short
4e280bb0dc
More power to descend
2011-12-15 20:51:40 -08:00
Michael Oborne
bfab9f52e9
APM Planner 1.1.6
...
fix updater for recursive dirs
add network kml = google earth 3d display
remove ]]> from kml
swap geo ref from ms image parse to custom
2011-12-16 08:17:13 +08:00
Pat Hickey
d6a8440ef2
APM_RC_APM2: Remove OutputCh from ::Init()
...
* These calls were off by one anyway, by using the channel numbers
as ints ant not CH_n macros, and that caused an ESC cal problem.
2011-12-15 13:47:43 -08:00
Michael Oborne
33e62e1fd0
APM Planner 1.1.5
...
fix bat % overflow
fix tlog > kml for ac
modify georef image
2011-12-15 21:44:31 +08:00
Jason Short
3446744ae9
Addition of nav mode that tries to maintain level
2011-12-14 22:08:42 -08:00
Jason Short
4d90058c90
dupe of landing logic for scripting
2011-12-14 22:08:41 -08:00
Jason Short
f48e394511
made the last step of landing stop navigating so we can drop straight down.
2011-12-14 22:08:41 -08:00
Jason Short
1251e8105d
Added failsafe check
2011-12-14 22:08:41 -08:00
Jason Short
c6657f4a93
updated Loiter control to provide an alternative to GPS rate control for users with circling issues. Works in SIM, needs flight testing
2011-12-14 22:08:41 -08:00
Jason Short
d2fd6c5ee5
added loiter control to reset nav
2011-12-14 22:08:41 -08:00
Jason Short
8691b10ee9
added failsafe check,
...
enable loiter repositioning
2011-12-14 22:08:41 -08:00
Andrew Tridgell
85e295332f
AP_Math: added Polygon_complete() function
...
used to veryify user supplied boundaries
2011-12-15 14:42:34 +11:00
Andrew Tridgell
117a98f9a2
AP_Math: added a Polygon_outside() function
...
this tests if a point is outside of a polygon. This will be used as
part of our geo-fencing support, and also for a new 'fenced mode'
2011-12-15 14:34:58 +11:00
Doug Weibel
5d197ae337
Change logging to default on for 2560
2011-12-13 20:53:44 -07:00
Doug Weibel
ca89857854
Changes to logging file system to avoid problems with 0 and 1 page logs
2011-12-13 20:09:07 -07:00
Doug Weibel
8b78c4a4c5
Changes to logging file system to avoid problems with 0 and 1 page logs
2011-12-13 20:09:07 -07:00
Michael Oborne
e20d3a3676
add method of detecting if motors are armed
2011-12-14 06:18:29 +08:00
Pat Hickey
2c73d89400
gitignore: ignore mavproxy log files
2011-12-13 11:24:05 -08:00
Randy Mackay
e8cc5219ed
Merge remote-tracking branch 'origin/master'
2011-12-13 22:12:43 +09:00
Randy Mackay
7f64080877
Arducopter - Attitude.pde - fixed small bug in pitch stabilise
2011-12-13 22:10:51 +09:00
Michael Oborne
6cbe133e52
Planner remove some unused files
2011-12-13 20:56:38 +08:00
Michael Oborne
cdcec84194
APM Planner 1.1.4
...
add plane location to planner
add more serial port detection for linux
modify tlog>kml to include times, + markers
add elevon setup to radio input
2011-12-13 20:52:54 +08:00
Andrew Tridgell
eac97725f5
autotest: fgrate option has been removed from mavproxy
2011-12-13 21:34:53 +11:00
Andrew Tridgell
1998908a05
DCM: reset the DCM matrix after a ground start
2011-12-13 21:33:07 +11:00
Andrew Tridgell
0147c7b6c6
DCM: added matrix_reset() method
2011-12-13 21:32:50 +11:00