Commit Graph

145 Commits

Author SHA1 Message Date
Andrew Tridgell 3bac27b97f Plane: enable attitude and raw logging in HIL modes 2012-12-04 11:13:33 +11:00
Andrew Tridgell 5827c710e2 Plane: fixed sensors and attitude HIL
we now use the Stub version of the InertialSensor driver. In sensors
HIL we can now correctly drive the AHRS code.
2012-12-03 23:26:39 +11:00
Andrew Tridgell 050f2e6ddb Plane: fixed GPS course in HIL 2012-12-03 17:38:55 +11:00
Andrew Tridgell cd19cb6cc2 Plane: fixed SERVO_OUTPUT_RAW for HIL 2012-12-03 17:38:31 +11:00
Andrew Tridgell 81660d07fd Plane: use enum FlightMode in more places 2012-12-01 08:15:48 +11:00
Andrew Tridgell 4864d162d0 Plane: switch to an enum for flight modes 2012-12-01 08:08:54 +11:00
Andrew Tridgell e5e6131085 Plane: allow reboot on APM1, and add reboot to main CLI menu 2012-11-24 18:20:37 +11:00
Andrew Tridgell 937c485f91 APM: make it possible to run the CLI on any serial port 2012-11-21 21:41:34 +11:00
Andrew Tridgell 7436974e2f MAVLink: make it possible to enter the CLI over the radio
this only works on the APM2, where UART0 is also the radio port
2012-11-21 14:11:05 +11:00
Andrew Tridgell c13b6f3359 APM: support 16 character parameter names 2012-11-20 21:36:13 +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 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 9e3ae301b1 ArduPlane: move to use new INS library instead of IMU library 2012-11-07 19:21:03 +09: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
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
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 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 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
Andrew Tridgell 73340a5e5d APM: fixed handling of DO_REPEAT_SERVO and DO_REPEAT_RELAY 2012-09-17 14:45:47 +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 4f504b0729 APM: show real raw RC input, not mixed input
this makes it easier to diagnose elevon mixing issues
2012-09-13 12:00:49 +10:00
Andrew Tridgell 29344e688d APM: reboot only works on the APM2 2012-09-10 11:50:48 +10:00
Andrew Tridgell d08bd4214b APM: added support for MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN
this allows for remote reboot of APM
2012-09-10 11:42:30 +10:00
Andrew Tridgell 57ac3f59f2 APM: fixed fetch of relative altitude waypoints
when we fetch relative altitude waypoints from APM to a file, we need
to preserve the altitude
2012-09-10 09:40:29 +10:00
Andrew Tridgell 63ca982f21 APM: tidy up an if() statement 2012-09-08 10:14:20 +10:00
Andrew Tridgell 9b2a2b2c2e APM: support DO_SET_SERVO command 2012-09-08 10:06:53 +10:00
Andrew Tridgell 880404d062 APM: added forwarding of unknown MAVLink types 2012-09-08 10:06:15 +10:00
Michael Oborne 35a8bf961c AP fix takeoff alt issue
issue 733
2012-09-06 20:19:12 +08:00
Andrew Tridgell 332ad921cc APM: added new TELEM_DELAY parameter
number of seconds to delay telemetry
2012-08-30 08:59:39 +10:00
Andrew Tridgell a6a583650c APM: report estimated airspeed if airspeed not available 2012-08-25 17:49:26 +10:00
Andrew Tridgell f1ba9c08e5 APM: support forcing MANUAL of FBWA mode over MAVLink 2012-08-24 15:18:22 +10:00
Andrew Tridgell 56ada1a69c APM: added RSSI to RC_CHANNELS_RAW as well
and prevent double read
2012-08-22 13:58:25 +10:00
Andrew Tridgell 279e942581 APM: added RSSI in raw message too 2012-08-22 13:48:09 +10:00
Andrew Tridgell e74dab122a APM: added RECEIVER_RSSI_PIN option
this allows for the receiver RSSI to be sent over MAVLink

Thanks to Burt Green for the suggestion
2012-08-22 13:33:12 +10:00
uncrustify 5e8e33f0d7 uncrustify ArduPlane/GCS_Mavlink.pde 2012-08-21 19:19:51 -07:00
rmackay9 b80a3943aa ArduCopter, ArduPilot: revert mavlink delay callback to be "unsigned long" 2012-08-18 20:34:41 +09:00
rmackay9 e5d8efdb7e ArduPlane: replaced many "int" with "int16_t", "long" with "int32_t" 2012-08-18 18:26:13 +09:00
rmackay9 e52e22bcab ArduPlane: commented out two unused variables to remove compiler warning 2012-08-18 13:20:34 +09:00