Andrew Tridgell
ec9a7af49d
Tools: updates for new compass API
12 years ago
James Bielman
ab37f833db
MS5611: Fix CONFIG_MS5611_SERIAL definitions.
...
- Make sure the values are defined as integers. We were always using
SPI rather than using I2C when desired.
12 years ago
James Bielman
264db3670e
AP_Baro: Add CONFIG_MS5611_SERIAL option to choose between SPI and I2C.
...
- Update ArduCopter and ArduPlane modules to pass the correct serial
driver to the MS5611 driver.
- Update barometer examples, assuming SPI.
12 years ago
Andrew Tridgell
cd0258c6e8
Tools: port VARTest to AP_HAL
12 years ago
Andrew Tridgell
2792abfce2
demo of AP_Param with ArduPlane parameters
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
Amilcar Lucas
ab730ff919
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.
13 years ago
Andrew Tridgell
5a44298d57
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
13 years ago
Doug Weibel
9cbc38b516
Add a feature for a minimum altitude parameter while flying in FBW-B
...
This patch written by YureZzZ - Thank you!
14 years ago
Michael Oborne
7ef51f723d
Sensor hil fix's
14 years ago
Andrew Tridgell
e2ed1f1c56
removed some more unused defines
...
mavlink is now the only choice for HIL and GCS
14 years ago
Andrew Tridgell
4437ff1046
get rid of the last active uses of the SendDebug macros
...
please use gcs_send_text*() from now on, to ensure serial queueing
14 years ago
Andrew Tridgell
9baab490f1
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
14 years ago
Amilcar Lucas
f08cea8044
These changes were meant to be inside commit a14c06adc06b. I'm sorry but reverting stuff is not that easy
14 years ago
Amilcar Lucas
5406991831
Added support for routing any function to any of the aux. servos.
...
This is a manual merge from the APM_Camera branch.
It reverts the stuff that Oliver did not menat to do with his commit 6dcbc7f44bc0
14 years ago
Doug Weibel
119d006e03
Change default setting for auto_trim to disabled per user (JB) request.
14 years ago
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
14 years ago
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
jasonshort
3b622dc43c
Reset_hold_I no longer clears throttle_I value for return to alt hold
...
Removed Baro Init in Auto Mode.
increased Rate Error limit on Alt Hold
Slightly decreased alt P to reduce pulsing motors
Added rate limit for nav so we can reduce initial pitch to target.
Using MINIMUM_THROTTLE value to test for Reseting Alt Hold now.
Fixed extra Log formatting statement in CTUN.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3294 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
90187e2859
Upped some gains on Nav based on testing.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3279 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
402f0c69fa
Fixed Log formatting
...
Fixed Alt Hold setting error.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3276 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
0a72520a93
make the Xbee anti-brick delay configurabe
...
and change default to 2s
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3269 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
cb64198759
removed unused variables, functions,
...
moved camera to 10hz loop
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3268 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
3ad21cc236
2.0.40
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3252 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
88cd556c8d
Compass: we don't need MAG_PROTOCOL any more
...
we only have one mag driver now
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3084 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
51a9c52d58
ACM - changed default lens for optical flow
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3039 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
a8445483f3
2.0.39
...
added defines for CH7 behavior, Tweaked Loiter config based on testing by Jack.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3021 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
dd3dfd9f2a
re-apply DEFAULT_LOG_BITMASK patch
...
Jason, I assume you removed this patch accidentially
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2995 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
5152d23650
2.0.39
...
mistake on the defaults for kP - not symmetrical.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2985 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
8e02e89534
2.0.39
...
mistake on the defaults for kP - not symmetrical.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2984 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago