Andrew Tridgell
3dfe55e72c
AP_Param: update PID libraries for new constructor syntax
2012-08-08 12:11:57 +10:00
Andrew Tridgell
45c7c9b8d1
AP_Param: major update to use default values in var_info table
...
this stores the default value for all scalar variables in the var_info
table, which makes it possible to avoid storing default values in
eeprom. That allows us to oversubscribe the eeprom space with a much
lower risk of overrun.
2012-08-08 12:11:57 +10:00
Andrew Tridgell
73c682faf6
Rover: fixed build with new RC_Channel code
2012-08-08 12:11:05 +10:00
Andrew Tridgell
b0e403e6fb
AP_Baro: the DerivativeFilter now handles duplicate data
...
this saves a few bytes of memory
2012-08-08 12:07:36 +10:00
Andrew Tridgell
fb90d16092
Filter: make the DerivativeFilter test GNUPlot friendly
...
makes testing easier
2012-08-08 12:07:36 +10:00
Andrew Tridgell
2de06df08d
Filter: automatically cope with duplicate timestamps
...
this makes it easier for callers to avoid excessive slope calculations
Thanks to Jon Challinger for the idea
2012-08-08 12:07:35 +10:00
Jonathan Challinger
e97305ea6e
APM: fixed rounding of altitude
...
the cast was rounding to the nearest meter
2012-08-08 12:07:35 +10:00
Andrew Tridgell
c9a56e2223
Filter: fixed a off-by-one DerivativeFilter bug
...
many thanks to Jon Challinger for noticing this!
2012-08-08 12:07:35 +10:00
rmackay9
40839fdea2
ArduCopter: Dan Gray's fix for Condition_Yaw
...
command_yaw_dir is an unsigned byte but was being set to a -ve number leading to very incorrect yaw target heading for counter clockwise turns.
command_yaw_end (i.e. turn's end target) was not being set if turn was of type "relative"
2012-08-07 06:43:10 -07:00
Michael Oborne
abd937a590
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2012-08-07 19:27:16 +08:00
Michael Oborne
4b27564833
Mission Planner 1.2.4
...
remove geofence tab
add guided alt remeber
change wp upload retry to 200 ms
2012-08-07 19:26:10 +08:00
Amilcar Lucas
ff32fed176
ArduCopter: Use generic channel names for AP_Mount servos.
...
This simplifies mission planner, the same code can be used for plane and copter now.
2012-08-06 23:33:51 +02:00
Amilcar Lucas
16dd919819
Fix heli compilation
2012-08-06 23:30:02 +02:00
Michael Oborne
b312938b5a
Mission Planner 1.2.3
...
hud font move
add progress bar lock
add quickview mono fix
fix centi-degree/degree units
fix mnt config camera tab
fix some meters/feet scaling issues
2012-08-06 22:22:57 +08:00
Amilcar Lucas
fbc25e4baa
AP_Mount: move mount to a "retracted position" into the fuselage with a fourth servo
2012-08-06 01:27:29 +02:00
Amilcar Lucas
03b902d4b7
Add me :)
2012-08-06 00:40:12 +02:00
Amilcar Lucas
a961988bba
ArduCopter: Make the code fit in a 1280 chip again
...
Even allows to control a camera/antenna mount, if the user explicitly wants to.
2012-08-06 00:23:48 +02:00
Amilcar Lucas
fc3a60a176
Default CLI_SLIDER_ENABLED to DISABLED
...
Chris asked for this on the mailing list
2012-08-06 00:22:33 +02:00
Amilcar Lucas
2a3be452e0
Spellcheck in comments
2012-08-06 00:21:14 +02:00
Amilcar Lucas
36bcd827b4
AP_Mount: Allow using any RC channel to control any of the mount axes.
...
This has the added benefit of saving 60 bytes and simplifying Mission Planner gui.
Moved some code from RC_Channel_aux to AP_Mount class
The servos get written by the update_mount_position() function, this simplifies main()
PS: The beauty of using libraries: I did not have to touch a single line of ArduPlane's code!
2012-08-05 23:48:57 +02:00
Amilcar Lucas
fe4713b46e
RC_Channel: Allow each channel to know who they are, this simplifies the enabling and output function calls.
2012-08-05 23:08:31 +02:00
Amilcar Lucas
f28be02286
ArduCopter: Save more space in APM1280
2012-08-05 23:05:52 +02:00
Amilcar Lucas
f3f89004e9
More work on ch9, 10 and 11
2012-08-04 19:44:41 +02:00
Amilcar Lucas
4be8073328
Implement set ROI
2012-08-04 18:44:29 +02:00
Amilcar Lucas
9b31938519
The mount type must be updated periodically
2012-08-04 18:44:08 +02:00
Amilcar Lucas
431ed1c9b9
More flexible RC support
2012-08-04 18:39:20 +02:00
Amilcar Lucas
7b2896c72b
Merge from ArduPlane
2012-08-04 18:38:50 +02:00
Amilcar Lucas
813e3ad229
Enable camera triggering by default
2012-08-04 16:32:47 +02:00
Amilcar Lucas
8f836b2fd6
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
2012-08-04 16:32:20 +02:00
Michael Oborne
1692cedf42
Mission Planner 1.2.2
...
add DegreeTracker
fix popout tab on config page
add remember last config tab
fix bytes send count
fix deactivate bug
fix ap_limits bug
fix ap_mount bug
2012-08-02 18:04:54 +08:00
Michael Oborne
2e8c6151c3
firmware build
2012-08-01 15:24:39 +08:00
Andrew Tridgell
526344ab7c
APM: added control switch debouncer
...
this adds a switch debouncer, similar to the one used in
ArduCopter. I'm adding this after a flight on the weekend where noise
on the control mode channel caused a mode change away from auto.
To prevent this change adding excessive mode switch latency, it also
moves the reading of the control switch to the 10Hz loop, away from
the 3.3Hz loop. That gives us 0.2s delay in mode switch changes and
allows for spikes in the control mode for 0.1 seconds without changing
mode.
2012-08-01 13:59:37 +10:00
rmackay9
64f027bf42
ArduCopter: bug fix to reset yaw target when zero and when in stabilize or acro mode.
2012-08-01 12:15:02 +09:00
rmackay9
95522fb8a3
ArduPlane: bug fix to global var_info parameter list for ahrs object.
2012-08-01 10:52:34 +09:00
rmackay9
b85986cb44
ArduCopter: bug fix to global var_info parameter list for ahrs object.
2012-08-01 10:52:27 +09:00
Andreas M. Antonopoulos
1ea2cb7b75
AP_Limits: experimental "bounce" mode.
2012-07-31 18:39:58 -07:00
Robert Lefebvre
54b320a9a0
Fixing Trad Heli Ext ESC Controller
...
-Added ramp-down rate instead of instantly setting ramp to zero when throttle is dropped to bottom. This is to allow "warm-restart" if shutdown was unintentional.
-Actual ESC still goes to zero while throttle is dropped to the bottom, only the ramp counter winds down slowly behind the scenes.
2012-07-31 17:47:25 -04:00
Andreas M. Antonopoulos
005b3d7f62
AC2.7.1: Updated version and tag
2012-07-31 13:11:17 -07:00
Andrew Tridgell
24ba59f528
APM: fixed overflow in geofence code for altitudes above 327 meters
2012-07-31 15:46:47 +10:00
Jason Short
4829e937ea
ACM: Toy mode fix - Pitch flipped the sign on roll/Yaw coupling.
2012-07-30 15:43:05 -07:00
rmackay9
072c247911
ArduCopter: reduce stabilize roll, pitch and rate yaw IMAX values
2012-07-30 11:01:45 +09:00
Michael Oborne
529e1bcc71
Mission Planner 1.2.1
...
add enable/disable to mavlinkcheckbox
modify my button to curved
add delay to progress reporter dialog. to ensure correct parent
Fix Mount screen for AP
Fix Hardware screen Text
display roi difrently
modify HIL/Quad Hil
update dataflashlog format (thanks randy)
update mavcmd format for roi
2012-07-30 07:23:42 +08:00
Andrew Tridgell
cc9712860b
APM: fixed case of 'LAND_PITCH_CD'
...
mavlink parameters are uppercase by convention
2012-07-29 17:07:38 +10:00
Michael Oborne
2d6d74f625
AC remove attitude hil unused extra (gps jump issue.)
2012-07-29 08:18:41 +08:00
rmackay9
38ff381620
ArduCopter: reset target yaw when throttle is zero (except if failsafe has been triggered)
2012-07-28 23:05:05 +09:00
rmackay9
717d0d25d4
ArduPlane: allow MPU6000's DMP to be used for attitude estimation.
...
Enable by adding this line to APM_Config.h:
#define DMP_ENABLED ENABLED
2012-07-28 19:50:40 +09:00
rmackay9
23a1e33e20
AP_InertialSensor_MPU6000: another attempt at fixing the SITL build
2012-07-28 17:19:19 +09:00
rmackay9
06a4aaa763
AP_InertialSensor_MPU6000: changed DMP memory definition (dmpMem) to const uint8_t to remove SITL compile errors (hopefully)
...
Removed unused 'dump' variable from dmp_load_mem to reduce compiler warnings
2012-07-28 16:33:04 +09:00
rmackay9
a10ac65c11
ArduCopter: added DMP_ENABLED to APM_Config.h to make it easier for people to enable it.
2012-07-28 16:31:38 +09:00
rmackay9
9a558be53e
AP_AHRS_MPU6000: cleaning up compiler warning due to unused yaw_deltat variable
2012-07-28 16:23:25 +09:00