Andrew Tridgell
9e926eae51
APM: optional build with new controller libs
13 years ago
uncrustify
3bee769405
uncrustify ArduPlane/config.h
13 years ago
Andrew Tridgell
343f7d2de0
APM: removed DMP support from ArduPlane
...
Without centripetal correction the DMP code will almost certainly
crash a plane
13 years ago
Andrew Tridgell
6d11940ada
AHRS: removed Quaternion build support from APM/ACM/rover
13 years ago
Andrew Tridgell
2865434d02
APM: added 'OBC' failsafe module for ArduPlane
...
this adds FS_* parameters for setting up APM to follow the outback
challenge failsafe rules.
This includes:
- manual pin
- heartbeat pin
- waypoint for heartbeat failure
- waypoint for GPS failure
13 years ago
Andrew Tridgell
e2c8ec2c9e
APM: removed THROTTLE_REVERSE option
...
Better to use RC3_REV
13 years ago
Andrew Tridgell
e133900c68
APM: Added STICK_MIXING option
...
this replaces the compile time option. Disabling during long distance
flights when the transmitter may be out of range is useful.
13 years ago
Amilcar Lucas
d34549f386
Add an optional second mount to ArduPlane and ArduCopter
13 years ago
Andrew Tridgell
dcc50b5705
AP_Airspeed: removed values passed to constructor
13 years ago
Andrew Tridgell
2114acddf1
APM: fixed default flap speed
...
the default of 255 translates to -1 as a AP_Int8, so use zero to mean
no flaps
13 years ago
Andrew Tridgell
a823c9ceae
APM: removed cli slider and dipswitch options
...
use mavlink/eeprom for all config
13 years ago
Amilcar Lucas
50b5d33745
Enable camera triggering by default
13 years ago
Amilcar Lucas
82b82283be
ATmega1280 does not have enough memory for mount support so disable AUTO GPS support, to allow mount support to fit.
...
This should almost have no side effects, because the most users use MTK anyways.
If the user defined a GPS protocol, than we will NOT overwrite it
13 years ago
rmackay9
06e35820e5
ArduPlane: allow MPU6000's DMP to be used for attitude estimation.
...
Enable by adding this line to APM_Config.h:
#define DMP_ENABLED ENABLED
13 years ago
Andrew Tridgell
6bcfe913f7
APM: added a SCALING_SPEED parameter
...
this allows users to adjust the base speed used for scaling roll/pitch
PIDs. This can be used to make PIDs work for both airspeed and
non-airspeed control
13 years ago
Andrew Tridgell
f6d7d1bc59
APM: changed PID library to do automatic deltat calculation
...
this fixes a problem with the HDNG2RLL PID, which was using the wrong
time base and prevents similar bugs from happening in the future
13 years ago
Andrew Tridgell
60caaa4b04
MAVLink: remove MAVLink 0.9 protocol support
...
this simplifies the code a lot. We're not going back to 1.0
13 years ago
Amilcar Lucas
07a18904fc
With CLI and MOUNT active, the linker says: region `text' overflowed by 3858 bytes
...
So disable CLI when MOUNT is active. Sorry I did not detect it before, but the APM_Camera branch worked in a different way.
13 years ago
Amilcar Lucas
1906e06b69
Added camera trigger functionality
13 years ago
Jason Short
4e50db2f6e
Added missing Manual_level config
13 years ago
Michael Oborne
a71ed6c5ce
enable mavlink10 by default
13 years ago
Andrew Tridgell
f43f5900bc
Telemetry: make it possible to use UART2 on APM2
...
building with TELEMETRY_UART2=ENABLED allows you to use the solder
bridge on the APM2 to enable telemetry on UART2. This allows both USB
telemetry and a radio at the same time.
13 years ago
Andrew Tridgell
8fab91e063
APM-nav: set NAV I value defaults to 0.1
...
a small I value is good on most planes, so I think this is a better
default than 0. Thanks to Chris for asking about this.
13 years ago
James Goppert
0e7e77760a
Updated ArduPlane/ArduCopter cmake options.
13 years ago
Andrew Tridgell
86cc7a5e1d
APM: enable AP_Declination by default
13 years ago
Andrew Tridgell
168c45ab12
AP_Declination: enabled auto declination by default in APM
13 years ago
Amilcar Lucas
6e9ffb4249
correct small typos in comments
13 years ago
Adam M Rivera
2524f9c8df
AP_Declination: Added new config value to allow the user to have the declination overwritten on every 3D fix.
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
13 years ago
Andrew Tridgell
9a06d35772
make 'ENABLE' and 'ENABLED' mean the same things
...
users get this wrong far too often!
13 years ago
Andrew Tridgell
e39c3cb9d2
APM: make it possible to build ArduPlane with quaternion support
13 years ago
Andrew Tridgell
35badbb97d
APM: the CLI fits nicely on the 1280 again now
...
I find the CLI very useful for testing, so enable it by default on the
1280. Logging is still off by default.
13 years ago
Doug Weibel
4b24d865bf
Stashing some battery monitoring ratio values in the comments for future use.
13 years ago
Doug Weibel
6e8ac99ed6
Fix airspeed sensor support for APM2.
...
Airspeed sensor should be attached to Analog input 0
13 years ago
Doug Weibel
69c7598db2
Update battery monitoring code for ArduPlane
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
13 years ago
Michael Oborne
e1a544cc78
fix relay on apm 1 AP
13 years ago
Andrew Tridgell
d0245b206a
APM2: default magnetometer to enabled
...
all APM2s have a MAG at the moment
thanks to Chris for the suggestion
13 years ago
Andrew Tridgell
e99db6526f
APM: added RST_SWITCH_CH parameter
...
This is useful for switching back to the mode indicated by the control
switch after a failsafe or fence breach. I was just changing modes
each time, but it is far more elegant to have a spring loaded switch
for "I am ready to take control again", rather than continually
changing modes.
13 years ago
Andrew Tridgell
df094ce463
fixed airspeed sensor for ArduPlane on APM2
...
we were trying to use a non-existant ADC chip!
13 years ago
Andrew Tridgell
b9a88aac32
geofence: added FENCE_TRIGGERED_PIN
...
this allows for a digital pin to be set high when the geofence
triggers. This pin can be connected to an external failsafe device
13 years ago
Michael Oborne
28d280562a
apm 1280 disables
13 years ago
Andrew Tridgell
82b615df50
geofence: added geo-fencing control parameters
13 years ago
Pat Hickey
d7f77aec93
ArduCopter & ArduPlane: Added support for apm2beta build via APM2_BETA_HARDWARE define
...
* This enables the BMA085 driver for compatibility with beta boards.
* The CLI_SLIDER_ENABLED=DISABLED line does not need to be in the makefile.
config.h takes care of this default.
13 years ago
Pat Hickey
1b2ebdff44
ArduPlane: added config.h and defines.h to support CONFIG_BARO
13 years ago
Doug Weibel
2ef4c79a7c
Minimum ground speed patch from Claudio Natoli. Thanks Claudio!
...
This patch will boost the target airspeed as necessary to keep the ground speed above a parameter value - param_min_groundspeed. Airspeed is still limited to FBW-max. Setting min_groundspeed to zero (default) disables the feature.
13 years ago
Andrew Tridgell
86927ac0a5
ArduPlane: rename purple to APM2
13 years ago
Andrew Tridgell
7def0e98e8
USB-MUX: auto-switch telemetry port based on UXB mux for ArduPlane
...
when USB is unplugged, switch baud rate to the SERIAL3_BAUD rate from
EEPROM
13 years ago
Andrew Tridgell
6093db948b
compass: added AP_COMPASS_APM2_SHIELD
...
this makes the orientation clearer
13 years ago
Andrew Tridgell
40459653b5
purple: fixed LED and IO pin defintitions
13 years ago
Andrew Tridgell
ca76f6d0ec
purple: add the remaining hw defines for purple hardware
13 years ago
Pat Hickey
08675a91d8
purple: added config options for purple/APM1 hardware
13 years ago