Andrew Tridgell
772f93ea10
Plane: fixed config for 1280
12 years ago
Andrew Tridgell
41272614ce
Plane: simplify board config defines
12 years ago
Andrew Tridgell
e82deca305
Plane: updates to support AP_HAL SITL
12 years ago
Pat Hickey
f8dec9ae4a
ArduPlane: fixes to use CONFIG_HAL_BOARD instead of CONFIG_APM_HARDWARE
12 years ago
Andrew Tridgell
805a340350
Plane: enable attitude and raw logging in HIL modes
12 years ago
Andrew Tridgell
24e1af1c82
Plane: fixed sensors and attitude HIL
...
we now use the Stub version of the InertialSensor driver. In sensors
HIL we can now correctly drive the AHRS code.
12 years ago
Andrew Tridgell
a6d8dbeac2
Plane: update ArduPlane for new ins interface
12 years ago
Andrew Tridgell
8f108e2eb3
APM: added AMP_OFFSET option
...
thanks to Alexey Kozin!
12 years ago
rmackay9
ef727bbb3c
ArduPlane: move to use new INS library instead of IMU library
12 years ago
Andrew Tridgell
8652bfee8d
APM: added RSSI_PIN option for receiver RSSI
...
this allows you to configure the pin for receiver RSSI without
recompiling
12 years ago
rmackay9
775489d658
ArduPlane: added BATT_VOLT_PIN and BATT_CURR_PIN parameters to allow support for new 3DR IV battery monitor
13 years ago
rmackay9
41fbb19cf5
AP_InertialSensor_MPU6000: replaced _cs_pin parameter with #define and saved 1 byte of memory
...
Updated ArduCopter, ArduPlane and example sketches in AP_InertialSensor, AP_IMU and AP_AHRS libraries because they no longer need to pass in cs_pin to the constructor
13 years ago
Andrew Tridgell
68f1b6336f
APM: tweak the default options for an APM1 1280 board
...
this allows a few more things to fit in
13 years ago
Andrew Tridgell
cebb67e1df
APM: removed the unused sonar code
...
when we start supporting a sonar we'll add a AP_Sonar library, like
AP_Airspeed
13 years ago
Andrew Tridgell
5f3ffe4839
APM: switch to Randys new IMU rate control method
...
this drives the speed of the 50Hz loop by the number of samples
accumulated in the IMU. This should give much more consistent timing
in DCM.
Thanks to Randy for introducing this scheme in ArduCopter!
13 years ago
Andrew Tridgell
a446a7a9ed
APM: allow serial buffer size to be configured
...
very useful for packet forwarding setups
13 years ago
Andrew Tridgell
f6c3197cd2
APM: added new TELEM_DELAY parameter
...
number of seconds to delay telemetry
13 years ago
Craig Elder
4ad516c445
Arducopter: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
...
Arduplane: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
Ardurover: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
13 years ago
Amilcar Lucas
b48a1f1fc4
ArduPlane: Fix 1280 builds
...
Added fine-granular features in the AP_Mount class to reduce code size on 1280 chips
Remove camera trigger support on 1280 chips
13 years ago
Amilcar Lucas
769f04b7d6
Improve comments, no functional changes
13 years ago
Andrew Tridgell
c0c0b8c976
APM: added RECEIVER_RSSI_PIN option
...
this allows for the receiver RSSI to be sent over MAVLink
Thanks to Burt Green for the suggestion
13 years ago
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