Commit Graph

625 Commits

Author SHA1 Message Date
Andrew Tridgell c13b6f3359 APM: support 16 character parameter names 2012-11-20 21:36:13 +11:00
Andrew Tridgell e3f94963d8 APM: set MANUAL_LEVEL to 1 on successful accel calibration 2012-11-20 19:27:52 +11:00
Andrew Tridgell 4174cfd4a7 INS: disable accel calibration on the 1280
this would put us well over 128k in sketch size
2012-11-20 18:41:04 +11:00
Andrew Tridgell c2910df935 APM: don't use mavlink msgs for accel cal in cli 2012-11-20 18:32:27 +11:00
Andrew Tridgell 81f7e2defd APM: k_param_imu is now unused 2012-11-20 18:32:27 +11:00
Andrew Tridgell 202513e327 MAVLink: fixed accel and gyro sensor offsets in MAVLink 2012-11-20 18:32:26 +11:00
Andrew Tridgell e6f322d88a APM: fixed throttle display to always be between 0 and 100
when rc3 is below RC3_MIN, don't give an invalid value
2012-11-20 13:50:19 +11:00
Andrew Tridgell 73a4dbf650 APM: fixed altitude_filter for new LowPassFilter syntax 2012-11-19 08:09:44 +11:00
Andrew Tridgell 85b87b752a APM: change WIND direction to match convention
Thanks to Leo Hogg for pointing this out
2012-11-19 07:16:47 +11:00
Andrew Tridgell 604ec021ec MAVLink: improve usefulness of logged GPS velocities
we need them to align with time to use them for accelerations
2012-11-17 17:45:30 +11:00
rmackay9 6a2cca3610 ArduCopter, ArduPlane: rename ap variable in GCS_Mavlink.pde to resolve compiler warning re shadowing of variable 'ap'
Changed ArduPlane to keep function consistent with ArduCopter
2012-11-12 13:30:04 +09:00
Andrew Tridgell b556ebf8b2 MAVLink: update compass health in SYS_STATUS
this will make it easier to tell if a I2C error occurred in flight
2012-11-12 11:26:54 +11:00
rmackay9 0907650456 ArduPlane: fix HIL build 2012-11-07 21:23:07 +09:00
rmackay9 e2b1cb7e8d AP_InertialSensor: changes after review with Tridge.
sanity checking added to accelerometer calibration routine.
user feedback is sent using gcs_send_text_fmt instead of Serial.printf.
moved ins parameters to new eeprom number to avoid conflicts with older parameters.
other small changes including renaming of functions and parameters.
2012-11-07 19:21:15 +09:00
rmackay9 9e3ae301b1 ArduPlane: move to use new INS library instead of IMU library 2012-11-07 19:21:03 +09:00
Andrew Tridgell efc2324666 APM: added RSSI_PIN option for receiver RSSI
this allows you to configure the pin for receiver RSSI without
recompiling
2012-11-06 22:04:41 +11:00
Andrew Tridgell 7d4be62906 APM: allow for arbitrary ranges and reversal on 2nd aileron
this ensures you can setup a 2nd aileron with different reversal from
main aileron
2012-11-05 23:37:58 +11:00
Andrew Tridgell f6ff6d8054 APM: remove unused variable 2012-11-05 15:22:56 +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 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
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 110a2b8af6 APM: fixed loiter radius docs to reflect new limit 2012-10-30 16:19:24 +11:00
Pat Hickey 0dd0bd131a Update ArduCopter and ArduPlane dependencies on AP_Menu 2012-10-18 20:53:39 -07:00
Andrew Tridgell d52a8b146b APM: fixed a comment typo 2012-10-16 17:21:04 +11:00
Andrew Tridgell 33d9ae23ff battery: use set_pin() to allow pins to be changed at runtime 2012-10-16 17:20:49 +11:00
rmackay9 e151d3735a ArduPlane: added BATT_VOLT_PIN and BATT_CURR_PIN parameters to allow support for new 3DR IV battery monitor 2012-10-13 20:51:41 +09:00
Andrew Tridgell 9226d94902 APM: fixed typo 2012-10-11 15:03:52 +11:00
Andrew Tridgell 6de0566404 APM: fixed auto-takeoff with zero lat/lng
consider a non-zero altitude to mean that we should use the relative
altitude specified
2012-10-11 15:03:00 +11:00
Andrew Tridgell d1f0b382ce APM: make error msg clearer 2012-10-11 11:51:24 +11:00
rmackay9 49eb36e0cb ArduPlane: added AP_Semaphore.h to list of includes 2012-10-06 13:14:28 +09:00
Michael Oborne 939ee1f4a9 AP,AC Add ability to override an altitude in any auto mode, on the current active target 2012-09-30 07:29:33 +08:00
rmackay9 1cd4b08fac AP_AHRS: added scheduler parameter to init
Required by the AP_AHRS_MPU6000 class which needs to disable timed processes that could interfere with it's communication with the mpu6000
2012-09-29 13:51:21 +09:00
rmackay9 4bca609b9f AP_InertialSensor_MPU6000: replaced _cs_pin parameter with #define and saved 1 byte of memory
Updated ArduCopter, ArduPlane and example sketches in AP_InertialSensor, AP_IMU and AP_AHRS libraries because they no longer need to pass in cs_pin to the constructor
2012-09-28 19:21:59 +09:00
Andrew Tridgell 83e061d564 APM: fixed build warning 2012-09-25 07:21:03 +10:00
Andrew Tridgell 812ed3d8bf APM: change to one low priority status buffer per GCS instance
this allows us to operate the low priority messages on each link
independently.

Thanks to David Buzz for the suggestion!
2012-09-24 17:39:19 +10:00
Andrew Tridgell f599962b90 APM: prepare for 2.65 2012-09-24 07:14:30 +10:00
Andrew Tridgell 061c676cc6 APM: fixed stick mixing for STABILISE mode
this is embarrassing
2012-09-24 07:14:30 +10:00
Andrew Tridgell bf9e2149df APM: prepare for 2.64 release 2012-09-23 19:32:56 +10:00
Andrew Tridgell 1f827d848b APM: fixed stick mixing in CIRCLE mode on throttle failsafe
Many thanks to Andke for finding this bug!
2012-09-23 19:27:42 +10:00
Andrew Tridgell 26e526c3ab APM: removed unnecessary waypoint_sending flag 2012-09-22 20:17:19 +10:00
Andrew Tridgell 0a1f428669 APM: send right parameter index when possible 2012-09-22 20:17:17 +10:00
Andrew Tridgell e6c6161e1a APM: fixed mission reset by setting waypoint to zero
this does a full mission reset (equivalent to rebooting)
2012-09-22 20:17:13 +10:00
Andrew Tridgell 8c1766f5df APM: added THR_SUPP_MAN option
this allows for manual throttle control during auto throttle
suppression. This is useful for keeping a petrol engine idling before
takeoff
2012-09-22 20:17:06 +10:00
Andrew Tridgell 060b7dd5d4 APM: allow RawSensors stream rate to be saved if <= 5
this makes it possible to configure all stream rates via a parameter
file
2012-09-22 20:17:02 +10:00
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
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 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