rmackay9
ef727bbb3c
ArduPlane: move to use new INS library instead of IMU library
12 years ago
Andrew Tridgell
63940d3ab6
APM: don't send GPS_STATUS MAVLink message
...
it now provides no useful information as satellites_visible is in
GPS_RAW_INT in MAVLink 1.0
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
fce01464b1
APM: added ALT_CTRL_ALG parameter
...
this allows you to select different altitude control algorithms. The
current choices are for the default (automatic based on if airspeed is
available), or to force a non-airspeed algorithm
The idea is to make it possible to use airspeed for some things (like
wind speed, speed scaling) but not for alt control
13 years ago
uncrustify
b960619195
uncrustify ArduPlane/defines.h
13 years ago
Andrew Tridgell
c31eef59ae
Mavlink: log wind estimation result
13 years ago
Andrew Tridgell
b6a475f6a5
MAVLink: make APM build with MAVLink 1.0 possible with arduino GUI
13 years ago
Andrew Tridgell
8afd196907
APM: adapt ArduPlane for AHRS framework
13 years ago
Andrew Tridgell
b455443e2c
APM: added logging of DCM, HWSTATUS and SIMSTATE
13 years ago
Andrew Tridgell
16009777d9
APM: expanded parameter area to match ACM
...
this ensures waypoints and basic eeprom layout remain in sync
13 years ago
Andrew Tridgell
617082769a
go back to 1024 bytes for variables in EEPROM
13 years ago
Andrew Tridgell
e85da68fe6
expand parameter area for ArduPlane
...
this ensures all parameters can be saved without overflow
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
Andrew Tridgell
42522baf9f
geofence: store fence points as int32_t
...
this keeps maximum precision in fence boundaries
13 years ago
Andrew Tridgell
fc495ce6a7
geofence: added fence status reporting and faster altitude check
13 years ago
Andrew Tridgell
82b615df50
geofence: added geo-fencing control parameters
13 years ago
Pat Hickey
1b2ebdff44
ArduPlane: added config.h and defines.h to support CONFIG_BARO
13 years ago
Andrew Tridgell
86927ac0a5
ArduPlane: rename purple to APM2
13 years ago
Andrew Tridgell
40459653b5
purple: fixed LED and IO pin defintitions
13 years ago
Pat Hickey
3300032a89
purple: added hardware defines for ArduPlane
13 years ago
Doug Weibel
88f5669104
Remaining changes to the logging file system.
...
With these changes the logging system will allow overwriting of logs with no loss of functionality. I have tested (successfully) logging with the Dataflash being filled and overwriting previous files. I have also tested with a single long file that partially overwrites itself.
13 years ago
Doug Weibel
cbf59e96bd
Bug fixes for command logic re-write
13 years ago
Doug Weibel
645b9c1d48
Initial rewrite of command logic.
...
Changes mission structure so that conditional and immediate commands are located between associated waypoints instead of after the second waypoint.
13 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
0f09bf6654
GCS: added new gcs_send_text_fmt() method
...
this allows low priorty formatted messages to be sent to the ground
station, without causing a CPU stall on the serial send buffer
14 years ago
Andrew Tridgell
55cd7bcf1d
added gcs_severity enum
...
this makes it harder to mixup defines
14 years ago
Andrew Tridgell
73223ee458
remove Mavlink_Common.h and used deferred logic for params/waypoints
...
this moves the mavlink send logic into GCS_Mavlink.pde, and also
ensures we only ever send parameters and waypoints when there is
sufficient space in the serial send buffer
14 years ago
Andrew Tridgell
220b941e31
removed some more dead messages, and convert MSG_* to an enum
...
this make it safer to add a new message while keeping deferred queue
the right size
14 years ago
Andrew Tridgell
3f37cce6c7
remove unused MESSAGE_COMMAND_LIST
14 years ago
Andrew Tridgell
87ddd50c2a
remove unsued MSG_LOCAL_LOCATION
...
this saves us a bit of code
14 years ago
Janne M
b5cfbd10ae
Added voltage divider, input voltage and amps per volt to parameters.
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
Amilcar Lucas
ce010b4e38
Moved update_aux_servo_function() to the RC_Channel_aux.* files.
...
This simplifies code sharing between ArduCopter and Arduplane at the expense of 48bytes.
Moved CH_x defines out of the defines.h file and into the library where they belong
14 years ago
Andrew Tridgell
0a793a1327
Revert "added support for AP_ADC MAVLink packet"
...
This reverts commit a65a2dda2c1bfa95437880227a3abddc95b329f5.
I am reverting this not for any sane reason, but because my 3 APM
boards now lock up on any I2C operation, and I don't know why. I can't
see how this change could have caused it, but I don't want to take the
chance.
14 years ago
Andrew Tridgell
a2c1caacf5
Revert "added support for AP_ADC MAVLink packet"
...
This reverts commit a65a2dda2c1bfa95437880227a3abddc95b329f5.
I am reverting this not for any sane reason, but because my 3 APM
boards now lock up on any I2C operation, and I don't know why. I can't
see how this change could have caused it, but I don't want to take the
chance.
14 years ago
Andrew Tridgell
c65d038ccf
added support for AP_ADC MAVLink packet
...
this adds AP_ADC, which sends raw ADC 16 bit values for all 6 ADC
channels at the Extra3 MAVLink stream rate. Extra3 was previously
unused
14 years ago
Andrew Tridgell
52dc0a915a
added support for AP_ADC MAVLink packet
...
this adds AP_ADC, which sends raw ADC 16 bit values for all 6 ADC
channels at the Extra3 MAVLink stream rate. Extra3 was previously
unused
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
78510636db
This is how I right waypoints to EEPROM for now.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1923 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
6e6db9864e
Loiter should work now.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1921 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
69b0ae329e
Navigation bug fixes, tuning.
...
better handling of sonar at angles and baro mixing. - optimized for flats.
Crosstrack test bug found and fixed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1916 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
38e57bccb0
Added delay option for WP_NAV. The copter will LOITER in seconds based on p1 value.
...
This turned out to be functionally identical to LOITER_TIME so I combined them.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1909 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
f6f5a0c8dd
Added rudimentary tuning with CH6. Assign this to your Flaps knob on your radio. in APM_config.h set your desired option, then upload. The knob will adjust the value in real time. Enter the CLI and run test, tune to see the output value.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1902 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
e5723a20b6
Better CTUN Logging
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1891 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
mich146@hotmail.com
27e69d73d5
ACM mavlink update/log fix
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1881 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
2c3f6052db
Altitude control fix - trying to go higher would make alt hold reset to 0
...
Yaw fix,
improved PID defaults
potential logging fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1877 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago