Caio Marcelo de Oliveira Filho
ccd03bcf60
AC_Fence: use millis/micros/panic functions
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Gustavo Jose de Sousa
d030e817d9
AC_Fence: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
aa1bfb1ca7
AC_Fence: revert AP_Math class change
10 years ago
Tom Pittenger
94ffc9b942
AC_Fence: compiler warnings: apply is_zero(float) or is_equal(float)
10 years ago
Randy Mackay
f06c859d93
AC_Fence: add comment re check_fence method
10 years ago
Jonathan Challinger
05fda4ee4c
AC_Fence: accept curr_alt parameter instead of getting alt from inav
10 years ago
Jonathan Challinger
f06cc5d0c1
AC_Fence: change inav to const reference
10 years ago
Randy Mackay
9aba885231
AC_Fence: fix prearm check
...
before arming the EKF's pred_horiz_pos_abs flag should be used
10 years ago
Randy Mackay
4754ecc9e2
AC_Fence: remove example sketch
...
This only tested compiling anyway
10 years ago
Randy Mackay
99046ebda6
AC_Fence: fix example sketch
10 years ago
Randy Mackay
c24e997fb2
AC_Fence: use inertial nav's get_filter_status
10 years ago
Andrew Tridgell
55ec316718
AC_Fence: updates for new AP_Baro API
10 years ago
Andrew Tridgell
4fcf46005b
AC_Fence: fixed example build
10 years ago
Andrew Tridgell
f721e020f5
AC_Fence: fixed example build
11 years ago
Randy Mackay
71df1eb94f
AC_Fence: fix example sketch
11 years ago
Andrew Tridgell
2b3becd252
AC_Fence: fixed example build
11 years ago
Randy Mackay
0c0521a555
AC_Fence: append f to floating point constants
11 years ago
Randy Mackay
cc9c3bb5aa
AC_Fence: increase default radius to 300m
...
300m is still within line of sight and this should reduce the number of
false breaches due to bad GPS positions
11 years ago
Randy Mackay
e855cfec02
AC_Fence: add 10sec manual recovery
...
This resolves issue #461 by giving the pilot a minimum of 10 seconds to
attempt to manually recover before the autopilot will attempt to retake
control to bring the copter home or land.
11 years ago
Andrew Tridgell
7b2d56a8cb
AC_Fence: disable example build
...
fails to build with compiler error
11 years ago
Andrew Tridgell
4507c0fc4c
AC_Fence: fixed example build
11 years ago
Randy Mackay
4484a4232a
AC_Fence: fix example sketch
11 years ago
Randy Mackay
4c02212404
AC_Fence: minor comment fix
11 years ago
Randy Mackay
c4df3ea187
Fence: parameter display name fix
11 years ago
Andrew Tridgell
979c6ae3b6
AC_Fence: update for AHRS API changes
11 years ago
Randy Mackay
c602f7da0c
AC_Fence: fix example sketch
11 years ago
Tobias
b94d6848de
AC_Fence: replace "_ina->geT_position().z" with more efficent
...
"_inav->get_altitude()"
11 years ago
Tobias
596c7a25b7
AC_Fence: make member pointer to AP_InertialNav const, remove unused
...
gps-pointer member
11 years ago
Randy Mackay
f144de21b4
AC_Fence: fix example sketch
12 years ago
Andrew Tridgell
e1aa6e3ff1
libraries: fixed examples for no flash_leds() callback
12 years ago
Andrew Tridgell
9be02fb493
AC_Fence: changed to AP_Vehicle.h
12 years ago
Andrew Tridgell
e6794239ca
AC_Fence: fixed example build
12 years ago
Randy Mackay
04b84664e5
AC_Fence: add safety margin parameter
...
This will allow auto modes to proactively avoid breaching the fence
12 years ago
Randy Mackay
47f5c9b7a4
AC_Fence: remove unused gps pointer
12 years ago
Randy Mackay
de59ea3ddc
Copter Fence: reduce circle @Range to 30m
12 years ago
Andrew Tridgell
04835b095f
AC_Fence: fixed examples build
12 years ago
Andrew Tridgell
56694fd9b1
AC_Fence: fixed example build
12 years ago
Randy Mackay
bd75de6a22
AC_Fence: reduce to 150m radius and 100m high
...
100m high,
12 years ago
Randy Mackay
2d17688363
AC_Fence: add backup fence
...
Also includes fixes from code review with Tridge
12 years ago
Randy Mackay
9910d6d1cd
AC_Fence: first implemenation of library
12 years ago