Andrew Tridgell
3159c9ed99
AP_Mount: fixed defaults for angles
...
this saves some eeprom space by not saving the 4500 values
2012-08-08 13:04:49 +10:00
Andrew Tridgell
7d9e4a7559
APM: fixed default flap speed
...
the default of 255 translates to -1 as a AP_Int8, so use zero to mean
no flaps
2012-08-08 13:04:21 +10:00
Andrew Tridgell
67f076a9db
APM: change variables to use _cm, _cd and _ms suffix for units
...
this makes it less likely that we mix up units
2012-08-08 12:12:30 +10:00
Andrew Tridgell
295a9ce39c
ACM: change to use get_bearing_cd() instead of get_bearing()
2012-08-08 12:12:30 +10:00
Andrew Tridgell
0fd763dda0
Rover: change to use get_bearing_cd()
2012-08-08 12:12:30 +10:00
Andrew Tridgell
891ed81f74
AP_Math: rename get_bearing() to get_bearing_cd() to make units obvious
2012-08-08 12:12:30 +10:00
Andrew Tridgell
b366205172
APM: removed cli slider and dipswitch options
...
use mavlink/eeprom for all config
2012-08-08 12:12:29 +10:00
Andrew Tridgell
3d6d013c55
AP_Param: updated APMrover2 code for new AP_Param syntax
2012-08-08 12:12:29 +10:00
Andrew Tridgell
d8106cf20f
AP_Param: update ArduCopter core for new AP_Param interface
2012-08-08 12:11:57 +10:00
Andrew Tridgell
f98b887dbe
AP_Param: update ArduPlane core for new AP_Param interface
2012-08-08 12:11:57 +10:00
Andrew Tridgell
de50fff5ad
AP_Param: update VARTest for new AP_Param interface
2012-08-08 12:11:57 +10:00
Andrew Tridgell
6245592447
SITL: added pgm_read_dword() and pgm_read_float()
2012-08-08 12:11:57 +10:00
Andrew Tridgell
e9d0ae3e7f
AP_Param: update remaining libraries for new constructor syntax
2012-08-08 12:11:57 +10:00
Andrew Tridgell
7be604cffd
AP_Param: update AHRS for new constructor syntax
2012-08-08 12:11:57 +10:00
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