Commit Graph

5789 Commits

Author SHA1 Message Date
Andrew Tridgell c1fbad52c0 RC_Channel: removed set_filter() and scale_output
these unused options were costing 5 bytes per channel, for a total of
50 bytes on ArduCopter
2012-11-05 20:49:42 +11:00
Andrew Tridgell 7a679dc19a AP_AHRS: require at least 6 satellites to use the GPS for velocity
logs of a recent flight show the velocity estimate can be very poor if
the GPS can see 5 satellites or less
2012-11-05 20:07:37 +11:00
Andrew Tridgell 03974fa9db ACM: switch to GPS velocity numbers in GLOBAL_POSITION_INT
these numbers are much more useful than the redundent rotated ground
speed. They tell us exactly what the GPS is giving to AHRS
2012-11-05 15:23:41 +11:00
Andrew Tridgell f6ff6d8054 APM: remove unused variable 2012-11-05 15:22:56 +11:00
Andrew Tridgell 1cbd8ba7b3 AP_GPS_UBLOX: ask for nav settings every 20 seconds
this ensures we don't run with the wrong nav settings on a uBlox if
we get a bad checksum on the initial nav settings message
2012-11-05 14:58:40 +11:00
Andrew Tridgell 2ed3c84a8c AP_GPS: start detection timer on first bytes
this prevents a uBlox plugged in late from being detected as a NMEA
GPS
2012-11-05 14:58:40 +11:00
Andrew Tridgell 1fcf6ebca7 AP_GPS: removed shadowed class variable _nav_setting
this caused a uBlox to incorrectly configure as "portable" instead of
airborne if the detection took more than 2 seconds. That led to
terrible performance.
2012-11-05 14:58:40 +11:00
Andrew Tridgell 44e44b8c99 APM: use raw GPS velocity in GLOBAL_POSITION_INT
a much more useful value to log
2012-11-05 14:58:40 +11:00
Andrew Tridgell 3c025c6113 AP_AHRS: use GPS vertical velocity when available 2012-11-05 14:58:40 +11:00
Andrew Tridgell 5d2bfab23c AP_GPS: added velocity_down() call
on GPSes with raw velocity support this will be used for DCM
correction
2012-11-05 14:58:40 +11:00
Michael Oborne 78321133cb Mission Planner 1.2.17
add nested config page
add friendly comport names
add some exception handlers
add new old firmware hashs
remove more crom.controls stuff
enabled change speed
2012-11-04 16:45:39 +08:00
rmackay9 f32c1ce80a AP_Math: added rotation method accuracy test to example sketch 2012-11-04 13:05:37 +09:00
rmackay9 19a2b368e5 AP_Math: fix compile errors example sketches 2012-11-04 11:55:59 +09:00
Olivier ADLER 43a71df3b0 ArduPPM: cleaning
case correction for PPM_Encoder.h include from Encoder-PPM.c. Minor comment change.
2012-11-03 12:35:44 +01:00
Olivier ADLER e1c7d2677d ArduPPM: PWM to PPM mode
PPM polarity reversing was not working when changing the Output PPM pin level before timer 1 / output compare init. The compare generator initialization was reverting the pin to low level. Instead of that a force match compare is used after timer / compare generator init to set the PPM output to high level.
2012-11-03 00:57:22 +01:00
Craig Elder c69216140c Revert "APM 2.5 board, bottom, L headers picture"
This reverts commit 69bda63f12ec1de86e922174995c8ae2a9ad480f.
2012-11-02 16:47:16 -07:00
Olivier ADLER f531f49c1a ArduPPM: PWM to PPM encoder mode
Added PPM output polarity selection - mainly for stand alone 8 channels encoder board.
2012-11-02 16:32:58 +01:00
Olivier ADLER 01863f95a5 ArduPPM: Redundancy mode
Frame rate change for standard PPM extended format.
2012-11-02 16:32:58 +01:00
Olivier ADLER 49d8fa5345 ArduPPM: Redundancy mode
#define correction for sync symbol limits
2012-11-02 16:32:57 +01:00
rmackay9 1e0cf2644d AP_AHRS: fix compile error in example sketch 2012-11-01 21:56:34 +09:00
Michael Oborne 5eb747b10f Mission Planner 1.2.16
workaround for global_pos_int problem
fix 3dr iv sensor pin selection
add ability to disable dist to home on flight data screen
remove traces of crom.controls (mono)
fix arm/disarm button
2012-11-01 18:15:01 +08:00
rmackay9 d74636b980 AP_Motors: bug fix to reached_limits so by default it returns true if any limits have been breached 2012-10-31 22:00:17 +09:00
Michael Oborne efb46ca2ad firmware build 2012-10-31 10:41:43 +08:00
Andrew Tridgell 67ba1a6068 APM: prepare for 2.66 2012-10-31 13:25:19 +11:00
Andrew Tridgell 189b984400 APM: fixed differential spoilers in manual mode
make them follow the elevons
2012-10-31 12:43:53 +11:00
Andrew Tridgell d5a04215bb APM: fixed additional aileron channels in manual mode 2012-10-31 12:43:53 +11:00
Andrew Tridgell 8deba5f43b RC_Channel: added set_radio() and set_radio_to_trim() functions 2012-10-31 12:43:53 +11:00
Xichen Shi f1fd7479bd APM: Added functionality to use differential spoilers in elevon mode
spoiler 1 and 2 are connected to 2 auxiliary channels, functions are
set to 16 on left wing and 17 om right wing respectively. Worked in
FBW + mode (auto etc.). No manual mode supported yet (need more
channels in my case).
2012-10-31 12:43:42 +11:00
Andrew Tridgell e9f129786a pysim: fixed testwind script 2012-10-31 10:26:48 +11:00
Lee Pike b084d3d2b0 Pysim: add effects of wind by calcualting a drag vector (force). 2012-10-31 10:15:32 +11:00
Michael Oborne 9cb60e1cc9 Mission Planner 1.2.15
fix hud battery text overlaying
tweak hud resize
tweak main switcher
fix quickview text scaleing
fix dist to mav.
added french translation thanks oliver
change tooltip time
add 3dr iv
add distance to home
dataflashlog update
2012-10-31 07:02:29 +08:00
Andrew Tridgell 110a2b8af6 APM: fixed loiter radius docs to reflect new limit 2012-10-30 16:19:24 +11:00
sfroach 276b26fa67 APM 2.5 board, bottom, L headers picture 2012-10-30 00:26:21 +00:00
Olivier ADLER dbdf028cae ArduPPM : Redundancy mode
#define modifications for sync symbol detection and center pwm value correction
2012-10-29 22:22:48 +01:00
Jason Short 210148a432 ACM : Formatting 2012-10-28 12:12:38 -07:00
Jason Short 158c4f8d14 ACM : Formatting 2012-10-28 12:12:38 -07:00
Jason Short 0a68468610 ACM: Added simple mode bearing logging for bug hunting 2012-10-28 12:12:38 -07:00
Olivier ADLER d70553bece ArduPPM : Redundancy mode
Switchover : wait for end of PPM frame before switching
2012-10-28 01:33:23 +02:00
Olivier ADLER 34151cbe91 ArduPPM: Redundancy mode
Fixed logic problem in the decoder (PPM channel increment)
2012-10-27 23:41:08 +02:00
Jason Short 9c40c11e7b ACM: Formatting 2012-10-27 14:13:46 -07:00
Jason Short 4eeaf4c984 ACM: Added notes, credit to decel code. added speed_min to calc. 2012-10-27 14:13:24 -07:00
Jason Short 1e35d3d534 ACM: config.h cleanup
Added LOG_ITERM default to enabled
2012-10-27 09:59:57 -07:00
rmackay9 2e6625b82c ArduCopter: change TOY_M throttle mode to THROTTLE_HOLD 2012-10-26 10:56:06 +09:00
rmackay9 e780bfd4c1 ArduCopter: remove some unhelpful constraints on nav_lat and nav_lon.
Increase other constraints from 3200 to 32000.  These constraints are there to ensure int32_t do not cause an overflow when added to an int16_t.
2012-10-24 22:04:35 +09:00
rmackay9 ab86eae860 ArduCopter: changed ACRO_ROLL_STABILIZE and ACRO_PITCH_STABILIZE to parameters
Changes on behalf of Leonard Hall
2012-10-23 21:30:50 +09:00
Michael Oborne adcd671de3 firmware build 2012-10-23 10:02:19 +08:00
Andrew Tridgell 61f85d05cc ACM: save another 20 bytes 2012-10-22 18:59:51 +11:00
Andrew Tridgell e90d2138f2 ACM: saved some more memory for strings 2012-10-22 18:57:08 +11:00
rmackay9 7fb58fce87 ArduCopter: replace Serial.print with Serial.print_P to save memory.
Includes replacing flight_mode_strings with print_flight_mode function.
SendDebug macro replaced with direct Serial.print_P calls.
2012-10-22 16:45:24 +09:00
rmackay9 514cd728a0 AP_OpticalFlow: fix example sketch to work with modified AP_Opticalflow library after memory saves 2012-10-22 16:41:45 +09:00