Andrew Tridgell
3b1782f369
DCM: don't use the z accel sensor for drift correction
...
the z accel is the noisest, and seems to do more harm than good. Using
just x and y is sufficient for drift correction by assuming the vector
length
2012-03-10 10:34:27 +11:00
Andrew Tridgell
4031320f7c
DCM: added a small amount of gyro and accel smoothing
...
possibly not needed, but convenient to be able to test with different
values
2012-03-10 10:34:27 +11:00
Andrew Tridgell
b455443e2c
APM: added logging of DCM, HWSTATUS and SIMSTATE
2012-03-10 10:34:27 +11:00
Andrew Tridgell
94d0236b97
DCM: added reporting interfaces for DCM state
2012-03-10 10:34:27 +11:00
Andrew Tridgell
772c30ba86
SITL: added sitl_simstate_send()
...
used to report simulator state in logs
2012-03-10 10:34:27 +11:00
Andrew Tridgell
9df332f0ae
MAVLink: import new message types DCM, HWSTATUS and SIMSTATE
2012-03-10 10:34:27 +11:00
Andrew Tridgell
cc8278c1ac
DCM: got rid of _error_roll_pitch from object state
...
this can be a local error variable in common with the yaw code. This
saves 12 bytes in the object.
2012-03-10 10:34:27 +11:00
Michael Oborne
986f1675ad
APM Planner 1.1.50
...
rename messagebox to custommessagebox
mag calibration now working. > hardware setup tab
2012-03-09 23:18:12 +08:00
Jason Short
486c56ce41
Consolidated Barometer pressure sensing to a single filter based on Randy's new filter class.
2012-03-08 23:13:04 -08:00
Jason Short
c8e9d57567
temp remove filter for quad motors during testing. It's unlikely this filter did anything at all to be honest.
2012-03-06 22:23:06 -08:00
Jason Short
730476fdfd
ACM -
...
Implemented automatic ranging of Alt Hold gains. Works well in simulator and testing.
- alt hold estimation moved to 50 hz
- simple fixed observer calc for smooth and accurate climb rates useful for derivative calcs
- auto-reset of the I term by moving I value into throttle value. This recalcs the gain every 20seconds for battery drainage compensation in long flights.
- remove filtering for Nav_throttle
- added a way to lower the gain on nav_throttle for descents by / climb_rate error by 2 - seems to work OK and keeps copter from dropping like a rock when the Baro drifts quickly lower.
- removed old throttle hold set point code
- made throttle override for alt hold +- 200 vs 250
2012-03-06 22:22:14 -08:00
Jason Short
c26eb6afcc
ACM: Updated config values
2012-03-06 22:12:24 -08:00
Jason Short
e57b91c2e2
Updated on Barometer - increased the Temp filtering and decreased the pressure filtering to and get less temp noise, faster response from pressure. I'm filtering the Climb rate differently now, so this higher pressure noise should not hurt the derivative calcs at all now.
2012-03-06 20:55:35 -08:00
Michael Oborne
f1d67c5638
APM Planner
...
Fix Updater
2012-03-07 08:01:59 +08:00
rmackay9
8b256cf924
ArduCopter - fix for stability patch and motor filter meant to deal with engines tendency to speed up faster than they slow down
2012-03-06 23:20:30 +09:00
rmackay9
72a775cc2a
ArduCopter - fixed typo in motor filtering for octa, octa_quad and y6 that is suppose to correct for props speeding up faster than they slow down.
2012-03-06 22:19:19 +09:00
rmackay9
706bea5992
ArduCopter - added OCTA_QUAD_FRAME to comments in APM_Configh.h to help user select frame when compiling with arduino
2012-03-06 22:15:02 +09:00
Michael Oborne
7f47640b92
APM Planner 1.1.49
...
mode TUNE_ param scale
add mavlink tlog graphing
mod tracker options
2012-03-06 18:27:43 +08:00
Jason Short
46d7da4d14
Added define for throttle range for altitude changes, updated it to 250
2012-03-05 22:12:53 -08:00
rmackay9
6c3cf9ad5b
AP_RC - removed unused library
2012-03-04 18:21:52 +09:00
Michael Oborne
444f29410b
planner cleanup
2012-03-04 08:49:45 +08:00
Michael Oborne
ba3ffb3b8b
APM Planner 1.1.48
...
Add ThemeManager - re andrew
Add CustomMessageBox - re andrew and me
few mono fixs
mono tts working (speech)
2012-03-04 08:42:42 +08:00
Robert Lefebvre
a480b32400
Added support for TradHeli H1 swashplate type. Added new param heli_h1_swash_enabled.
...
Signed-off-by: Robert Lefebvre <robert.lefebvre@gmail.com>
2012-03-03 08:14:14 -05:00
Michael Oborne
0087d0533a
APM Planner 1.1.47
...
fix Updater
2012-03-03 15:42:41 +08:00
Michael Oborne
c2fa44d24e
APM Planner 1.1.46
...
update to request extra3 stream.
2012-03-02 18:40:20 +08:00
Andrew Tridgell
73dafe537e
SITL: use the new noise model
...
use the new noise model at a low level for master until we sort out
DCM noise handling
2012-03-02 18:31:07 +11:00
Andrew Tridgell
0ff44563ec
ACM: use g.rc_speed for all APM_RC.SetFastOutputChannels calls
2012-03-02 17:57:08 +11:00
Andrew Tridgell
0fc646d666
ACM: set default RC fast speed to 400Hz
2012-03-02 17:57:08 +11:00
Andrew Tridgell
e213f6780e
ACM: added RC_SPEED MAVLink parameter
...
this will set the speed for APM_RC.SetFastOutputChannels()
2012-03-02 17:57:08 +11:00
Andrew Tridgell
5f749325f0
APM_RC: allow the fast RC speed to be passed as a parameter
...
this will allow users to test different speeds
2012-03-02 17:57:08 +11:00
Andrew Tridgell
f781bd735b
ACM: fixed Parameters.h to avoid duplicate keys
...
unfortunately everyone needs to reload
2012-03-02 15:48:28 +11:00
Andrew Tridgell
f4329d2680
AP_Param: ensure we can't have duplicate keys in Parameters.h
...
this is O(n^2), but only at startup, and takes less than 1ms to run.
It catches a very nasty coding error
2012-03-02 15:48:28 +11:00
Andrew Tridgell
cb874d6097
ACM: added board_voltage()
2012-03-02 15:48:28 +11:00
Andrew Tridgell
b20084af7d
APM: added board_voltage() function
2012-03-02 15:48:27 +11:00
Andrew Tridgell
1e8d98cdda
I2C: added lockup_count() interface
...
used for reporting I2C problems
2012-03-02 15:48:27 +11:00
Andrew Tridgell
37275d229d
SITL: implement cli()/sei() properly for desktop build
...
this disables simulated hardware interrupts during critical sections
2012-03-02 15:48:27 +11:00
Robert Lefebvre
e49c2d2871
Rescale TradHeli roll_out and pitch_out into the min and max ranges to provide linear motion across the input range instead of stopping when the input hits the constrain value. These calculations are based on an assumption of the user specified roll_max and pitch_max coming into this equation at 4500 or less, and based on the original assumption of the total g.heli_servo_x.servo_out range being -4500 to 4500.
...
Signed-off-by: Robert Lefebvre <robert.lefebvre@gmail.com>
2012-03-01 22:04:50 -05:00
Michael Oborne
ee5e331f3c
APM Planner 1.1.45
...
add tcp and udp port remeber issue 533
add udp listern wait issue 534
fix wp receive on mono part issue 530
allow logging of unknown packets mav 0.9
do_speed_change fix issue 531
remember last video res issue 521
fix issue 528 - ch 6 and ch 7 options
2012-03-01 21:27:03 +08:00
Jason Short
41b435a487
Updated fastPWM to 490Hz
2012-02-29 22:17:38 -08:00
Pat Hickey
337af0c7a2
AP_Param: nested group recursion into next_group disableable by macro
...
* c.f. 0251932c81fe7eb, e5515bb6ef82
2012-02-29 19:48:43 -08:00
Pat Hickey
2648694489
AP_Param: One more nexted group recursion disableable by macro
...
* c.f. e5515bb6ef82
2012-02-29 18:48:54 -08:00
rmackay9
fa34ac076e
AP_Compass - fixed compile warning
2012-02-29 22:57:35 +09:00
rmackay9
19f5719e59
Merge remote-tracking branch 'origin/master'
2012-02-29 22:48:02 +09:00
rmackay9
d81c951849
AP_Baro - fixed small compiler warning to do with order of parameters in constructor
2012-02-29 22:46:29 +09:00
rmackay9
c819a0f68a
AP_Compass - fixed small compiler warning to do with order of parameters in constructor
2012-02-29 22:45:49 +09:00
rmackay9
5026b5c192
AP_DCM - fixed small compiler warning to do with order of parameters in constructor
2012-02-29 22:45:26 +09:00
rmackay9
82f81295a7
RC_Channel - fixed small compiler warning
2012-02-29 22:44:29 +09:00
rmackay9
c444cdb3f4
AP_ADC - removed small compiler warning
2012-02-29 22:43:46 +09:00
Michael Oborne
a5e3f8d324
APM Planner 1.1.44
...
mod antenna tracker code
add extra ch 6 options
cleanup message dialogs better
fix auto fill ch6 and ch7 mode options
add progress to upload and dl wp's
fix disconnect bug on mono
2012-02-29 21:19:54 +08:00
Jason Short
7c09e4a5e6
added stab_d gain scheduling - off by default
2012-02-28 20:16:40 -08:00