Andrew Tridgell
fe54329de2
MAVLink: remove MAVLink 0.9 protocol support
...
this simplifies the code a lot. We're not going back to 1.0
2012-07-05 13:00:46 +10:00
Amilcar Lucas
2cebd44313
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.
2012-06-13 21:08:09 +02:00
Amilcar Lucas
a12cb8fd9a
Added camera trigger functionality
2012-06-13 21:00:20 +02:00
Jason Short
1eb2d0e485
Added missing Manual_level config
2012-06-10 13:08:48 -07:00
Michael Oborne
7d2532450a
enable mavlink10 by default
2012-06-04 08:02:08 +08:00
Andrew Tridgell
78d273fa34
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.
2012-05-04 10:39:44 +10:00
Andrew Tridgell
1017b0f6a3
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.
2012-04-30 12:27:30 +10:00
James Goppert
0a38e2b8d4
Updated ArduPlane/ArduCopter cmake options.
2012-04-18 15:16:02 -04:00
Andrew Tridgell
5dbd2a2b60
APM: enable AP_Declination by default
2012-03-30 14:25:27 +11:00
Andrew Tridgell
a98a092a59
AP_Declination: enabled auto declination by default in APM
2012-03-30 14:25:27 +11:00
Amilcar Lucas
a203282779
correct small typos in comments
2012-03-11 21:30:09 +01:00
Adam M Rivera
566bbed7ad
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>
2012-03-11 20:59:47 +11:00
Andrew Tridgell
4f739ea28f
make 'ENABLE' and 'ENABLED' mean the same things
...
users get this wrong far too often!
2012-03-10 10:34:33 +11:00
Andrew Tridgell
aa4beb9753
APM: make it possible to build ArduPlane with quaternion support
2012-03-10 10:34:29 +11:00
Andrew Tridgell
c6f3f7065c
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.
2012-02-14 08:33:49 +11:00
Doug Weibel
3b2196354f
Stashing some battery monitoring ratio values in the comments for future use.
2012-01-15 16:35:46 -07:00
Doug Weibel
17b31d0b5b
Fix airspeed sensor support for APM2.
...
Airspeed sensor should be attached to Analog input 0
2012-01-15 16:12:08 -07:00
Doug Weibel
fd8dc84fac
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.
2012-01-15 16:10:28 -07:00
Michael Oborne
5d5800ee1f
fix relay on apm 1 AP
2012-01-05 07:51:01 +08:00
Andrew Tridgell
968ad78df0
APM2: default magnetometer to enabled
...
all APM2s have a MAG at the moment
thanks to Chris for the suggestion
2011-12-22 17:51:14 +11:00
Andrew Tridgell
226470c614
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.
2011-12-19 11:25:59 +11:00
Andrew Tridgell
5d2301ef47
fixed airspeed sensor for ArduPlane on APM2
...
we were trying to use a non-existant ADC chip!
2011-12-17 07:29:09 +11:00
Andrew Tridgell
ed17f64459
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
2011-12-17 07:29:08 +11:00
Michael Oborne
eed0eea13b
apm 1280 disables
2011-12-16 22:26:39 +08:00
Andrew Tridgell
238c25c05e
geofence: added geo-fencing control parameters
2011-12-16 20:11:51 +11:00
Pat Hickey
5fd8fea957
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.
2011-12-11 15:21:09 -08:00
Pat Hickey
6f27c4c779
ArduPlane: added config.h and defines.h to support CONFIG_BARO
2011-12-11 15:21:09 -08:00
Doug Weibel
f34333d42b
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.
2011-12-09 16:43:25 -07:00
Andrew Tridgell
7467bf649c
ArduPlane: rename purple to APM2
2011-11-25 20:00:19 -08:00
Andrew Tridgell
0604f2c667
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
2011-11-25 20:00:19 -08:00
Andrew Tridgell
67e5c89226
compass: added AP_COMPASS_APM2_SHIELD
...
this makes the orientation clearer
2011-11-25 20:00:18 -08:00
Andrew Tridgell
6c856dde4e
purple: fixed LED and IO pin defintitions
2011-11-25 20:00:18 -08:00
Andrew Tridgell
2db5a2b5e2
purple: add the remaining hw defines for purple hardware
2011-11-25 20:00:18 -08:00
Pat Hickey
d5ebf30d74
purple: added config options for purple/APM1 hardware
2011-11-25 20:00:17 -08:00
Amilcar Lucas
01df18b292
Added camera and/or antenna mount support.
...
It is fully configurable with the mission planner, there is no need to change
the source code to adapt to your setup.
It needs more testing, but the SIL is not working for me.
2011-10-31 22:55:58 +01:00
Andrew Tridgell
c0c771042f
CLI: enable "hit enter 3 times" support for CLI
...
if you hit enter 3 times before you send any mavlink packets, we will
enter CLI mode
2011-10-27 21:54:07 +11:00
Doug Weibel
86ea3a9558
Add a feature for a minimum altitude parameter while flying in FBW-B
...
This patch written by YureZzZ - Thank you!
2011-10-16 23:11:40 -06:00
Michael Oborne
392160314e
Sensor hil fix's
2011-10-13 22:22:03 +08:00
Andrew Tridgell
c5bf8312b8
removed some more unused defines
...
mavlink is now the only choice for HIL and GCS
2011-09-19 11:04:02 +10:00
Andrew Tridgell
3a81e12866
get rid of the last active uses of the SendDebug macros
...
please use gcs_send_text*() from now on, to ensure serial queueing
2011-09-19 11:04:02 +10:00
Andrew Tridgell
bc1bfed22d
HIL: first step in simplifying the HIL/GCS code
...
this gets rid of the messy #ifdefs around HIL_PORT, and removes
non-MAVLink GCS and HIL support
2011-09-19 11:04:01 +10:00
Doug Weibel
2a0912b867
Change default setting for auto_trim to disabled per user (JB) request.
2011-09-12 07:24:52 -06:00
Amilcar Lucas
9e80f2e920
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
2011-09-09 16:18:38 +02:00
Andrew Tridgell
a1b2cc7229
import APM_Camera branch from SVN
2011-09-09 11:45:13 +10:00
Andrew Tridgell
89fa70520f
imported ArduPlane from ArduPilotMega svn
2011-09-09 11:29:39 +10:00