Commit Graph

5632 Commits

Author SHA1 Message Date
Andrew Tridgell 04111ebcdf 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
2012-09-22 20:12:43 +10:00
Craig Elder 96dc207d1d Housekeeping: Removed copies of Libraries from Tools/ArduPPM/Workbasket. 2012-09-21 16:51:37 -07:00
Andrew Tridgell f2e160a5e7 AP_Baro: removed _sync_access check
this isn't needed as the common variables are already protected by
cli()/sei()
2012-09-20 17:34:33 +10:00
Andrew Tridgell 1b793bf3f4 RC_Channel: don't force radio_out in enable_aux_servos()
this is called regularly, and causes the servo to twitch
2012-09-20 17:34:32 +10:00
Andrew Tridgell 4cfea44f9f DCM: limit the contribution of the baro to vertical acceleration
limit to a max of 0.5g
2012-09-20 17:34:32 +10:00
Andrew Tridgell a84d7b6f4f DCM: disable use of baro for vertical accel by default
this has caused problems with too many users
2012-09-20 17:34:32 +10:00
rmackay9 5e6951d3f4 ArduCopter: position lead filters modified to use lag which varies by gps 2012-09-20 15:49:09 +09:00
rmackay9 c6ee948d60 AP_GPS: added get_lag method to return expected lag from the GPS. 2012-09-20 15:48:22 +09:00
rmackay9 53aced1def AP_LeadFilter: moved lag to be a parameter passed into the get_position function.
This saves 4 bytes of memory and will work better with the way we initialise the gps.
2012-09-20 15:27:27 +09:00
rmackay9 d97ab4f490 AP_LeadFilter: bug fix so velocity * _lag is used (otherwise we are assuming a 1sec lag) 2012-09-20 13:17:42 +09:00
rmackay9 f002d6e9a6 AP_LeadFilter: added set_lag feature to allow us to adjust it for different GPSs 2012-09-20 13:10:24 +09:00
Robert Lefebvre 739d31f06e Change to the "Stability Patch" in Motors_Matrix in order to make it cover both the upper throttle range and lower, and also to cause it to raise/lower all motors when a single motor goes out of ranges. 2012-09-19 20:43:58 -04:00
Michael Oborne 25bcfdd1e7 Mission Planner 1.2.12
add arduino chip detect
fix apm2,2.5 dialog test
add write timeout. this will stop planner hangs on bad serial devices.
change quickview decimal places to 0.00
fix map clicking issue.
fix wind direction wrapping
add airspeed use
modify firmware screen from Marooned
major flightdata tab change.
add save/load polygon from file
add some error handling dialogs
2012-09-20 07:37:36 +08:00
Andrew Tridgell 3f9bd65d2f APM: send airspeed sensor value, not estimate, when enabled
this solves the problem of people reporting that airspeed is not shown
when ARSPD_USE is zero.
2012-09-20 08:00:54 +10:00
Andrew Tridgell a84a08d2a4 APM: make it possible to fetch parameters by index 2012-09-20 07:42:46 +10:00
Andrew Tridgell 0922b82d42 AP_Param: added find_by_index() 2012-09-20 07:42:35 +10:00
Andrew Tridgell e28ddb0f3d APM: much faster parameter fetching
allow up to 30% of bandwidth to be used for parameter send
2012-09-20 07:29:23 +10:00
Andrew Tridgell 8a33e2ba37 GPS: disable auto detection of NMEA and SiRF on a 1280 board
saves a bit more flash space
2012-09-19 19:36:48 +10:00
Andrew Tridgell 41a4490c5a APM: tweak the default options for an APM1 1280 board
this allows a few more things to fit in
2012-09-19 19:36:19 +10:00
Andrew Tridgell 7d84666b9d APM: removed the unused sonar code
when we start supporting a sonar we'll add a AP_Sonar library, like
AP_Airspeed
2012-09-19 19:35:22 +10:00
Andrew Tridgell 1cdb3a8dba APM: added ALT_OFFSET parameter
useful to adjust for barometric pressure changes during a long flight
2012-09-19 16:23:25 +10:00
Andrew Tridgell f3f9d644d9 AP_Airspeed: a bit more filtering
this helps reduce noise at low speed
2012-09-19 16:23:25 +10:00
rmackay9 69c29f5196 ArduCopter: allow PID logging of throttle. Make get_angle_boost actually use parameter passed in. 2012-09-18 23:19:23 +09:00
rmackay9 aaab3c08aa ArduCopter: added throttle curve (although disabled by default) for all multicopters 2012-09-18 23:05:08 +09:00
Andrew Tridgell 3306ba95a7 MPU6k: save 72 bytes of memory
the buffer can be on the stack
2012-09-18 13:58:50 +10:00
Andrew Tridgell a00e00519f APM: save another few bytes 2012-09-18 13:58:50 +10:00
Andrew Tridgell bd2eae8a18 APM: fixed a comment 2012-09-18 13:58:49 +10:00
Andrew Tridgell f32fcb7495 APM: save 100 bytes of memory
remove flight_mode_strings array
2012-09-18 13:58:49 +10:00
rmackay9 3b5b2eba6e ArduCopter: set fast gains while auto trim is being executed 2012-09-18 09:03:29 +09:00
Michael Oborne 67e02a815f firmware build 2012-09-17 17:48:43 +08:00
Andrew Tridgell 8f91728d65 APM: preparing for 2.63 release 2012-09-17 17:32:13 +10:00
Andrew Tridgell 2bc1d4a5ae SITL: prevent a fd leak in GPS code 2012-09-17 14:45:48 +10:00
Andrew Tridgell 62f1034965 APM: updates for new GPS detection 2012-09-17 14:45:47 +10:00
Andrew Tridgell 14d19ac33d ACM: updates for new GPS detection
a GPS can now be attached after startup
2012-09-17 14:45:47 +10:00
Andrew Tridgell bb3d43c8b6 Rover: updates for new GPS detection 2012-09-17 14:45:47 +10:00
Andrew Tridgell c62197370a GPS: replaced the GPS auto-detect mechanism
the old mechanism wasted most of the input bytes, and chewed a lot of
CPU, making it impractical to do GPS detection for a GPS attached
after startup

The new code is async, and detects a GPS by looking for a fully formed
packet with the right checksum for each GPS type
2012-09-17 14:45:47 +10:00
Andrew Tridgell 73340a5e5d APM: fixed handling of DO_REPEAT_SERVO and DO_REPEAT_RELAY 2012-09-17 14:45:47 +10:00
rmackay9 d7a53e67ed ArduCopter: bug fix in Log_Read_Attitude. It was printing two uninitialised variables. 2012-09-17 13:44:29 +09:00
Andrew Tridgell d403465212 APM: tidy up a comment 2012-09-16 15:51:13 +10:00
Andrew Tridgell 8e656a60f2 APM: only copy manual channels in failsafe
this prevents non-manual channels changing value away from the trim
value on startup
2012-09-16 15:51:01 +10:00
Andrew Tridgell 08cf9823fd RC_Channel_aux: minor cleanups
remove unused enable_out_ch() and enable k_manual channels. This
ensures k_manual channels used for bottle drop are initialised
correctly to trim output
2012-09-16 15:50:13 +10:00
Andrew Tridgell cf9dd9281c APM: ensure DO_SET_SERVO channels are enabled 2012-09-16 15:08:14 +10:00
Andrew Tridgell 1e51988ecc APM: allow update of last waypoint
fixed off by one error
2012-09-16 15:06:26 +10:00
Andrew Tridgell 644b3c6e17 RC_Channel: support channel reversal on range channels
this makes it possible to have a reverse throttle in ArduPlane
2012-09-16 15:06:26 +10:00
rmackay9 9965dd8b1a HIL: changes to fix HIL for ArduCopter after recent timing changes.
Changes include using AP_PeriodicProcess and calling imu.init even in HIL mode
2012-09-15 18:42:56 +09:00
Michael Oborne f9c11627a5 fix AP attitude hil - with randys help 2012-09-15 16:47:18 +08:00
rmackay9 94d4305cf3 ArduCopter: print firmware version of code instead of zero. 2012-09-13 21:49:11 +09:00
rmackay9 54d07f6d04 ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library 2012-09-13 21:31:13 +09:00
rmackay9 3c0153e9dc AP_AHRS: fix to allow example sketch to compile 2012-09-13 16:45:52 +09:00
Hazy 821408ecee APM Planner
a few UI translations
2012-09-13 15:27:38 +08:00