Commit Graph

57 Commits

Author SHA1 Message Date
Andrew Tridgell 7866740d62 MAVLink: make ACM build with MAVLink 1.0 possible in arduino GUI 2012-04-24 22:24:58 +10:00
Andrew Tridgell 712b7184be ACM: added support for MAVLink 1.0 to ArduCopter
most operations should now work
2012-04-24 19:54:20 +10:00
rmackay9 86d2a9ffdb ArduCopter - GCS_Mavlink.pde - changed output to ground station to use new AP_Motor's class motors array inplace of the global "motor_out" array. 2012-04-04 22:52:26 +09:00
Andrew Tridgell 40d7b07789 MAVLink: port the new adaptive flow control to ArduCopter
This allows for arbitrary stream rates, and supports flow control if
you are using a 3DR radio
2012-04-02 11:18:53 +10:00
Andrew Tridgell 1e0a2fb0be MAVLink: don't waste 100 bytes of bandwidth sending 1 byte of information
the GPS_STATUS message is a massive waste of bandwidth, but it is the
only message that tells us the number of visible satellites. So only
send it if that information changes.

This makes MAVLink work better at low baud rates
2012-03-30 17:46:20 +11:00
Andrew Tridgell 8ccf3a05f0 Mavlink: fixed warnings about limits on int32 values 2012-03-27 15:37:25 +11:00
Andrew Tridgell dc71191f25 MAVLink: constrain variable changes to the datatype range
if someone tries to set a AP_Int16 to a value of 300000, they now get
32767 instead of -27678
2012-03-19 17:29:02 +11:00
Andrew Tridgell 690ad58a64 AHRS: adapt ArduCopter for new AHRS framework 2012-03-19 17:29:02 +11:00
Andrew Tridgell f39d8dbde8 GCS: get_integrator() is now get_gyro_drift() in DCM 2012-03-10 10:34:33 +11:00
Andrew Tridgell 13bddf05b0 ACM: removed the special case for quaternions in GCS code 2012-03-10 10:34:31 +11:00
Andrew Tridgell 1591d41b33 ACM: make it possible to build ArduCopter with quaternions 2012-03-10 10:34:29 +11:00
Andrew Tridgell b07a3eb966 ACM: added SIMSTATE, DCM and HWSTATUS messages to ACM 2012-03-10 10:34:27 +11:00
Andrew Tridgell 17718720b1 GCS: force scalar type in copy_name()
this enables access to compass offsets over MAVLink
2012-02-25 11:37:20 +11:00
Andrew Tridgell 007a6b8958 AP_Param: added special handling for Vector3f
We would like to be able to use Vector3f as a parameter while exposing
the individual elements of the vector as MAVLink parameters. This
change to AP_Param makes that possible, by giving AP_Vector3f a dual
personality
2012-02-25 11:37:20 +11:00
Andrew Tridgell 1fc24b506e AP_Param: update users of AP_Param for ParamToken 2012-02-19 17:05:28 +11:00
Andrew Tridgell 153575a01c token is 16 bits now 2012-02-13 16:22:53 +11:00
Andrew Tridgell f5f6e2d4ec added group indexes to GCS_MAVLINK class 2012-02-13 16:22:52 +11:00
Andrew Tridgell d2a4091716 fixed apm2beta build with AP_Param 2012-02-13 16:22:52 +11:00
Andrew Tridgell da1526ced2 update ACM MAVLink code for AP_Param 2012-02-13 16:22:52 +11:00
Jason Short 0213f4dd88 2.2B6 - Please verify Heli still functions properly.
Added AC_PID lib
Updated landing code
bug fixes
2012-01-28 22:00:05 -08:00
Jason Short acf43341da Causes Aero_SIM to fail 2012-01-22 09:34:43 -08:00
Jason Short 14a8d8a471 added conversions of CM to M 2012-01-21 22:09:39 -08:00
Jason Short 63a1cf75df enabled Mavlink Land command 2012-01-20 22:52:30 -08:00
Michael Oborne c2f3cf0cf5 AC fix attitude level hil 2012-01-21 07:52:52 +08:00
Doug Weibel 2ea9db84e0 Update battery monitoring code for ArduCopter
Fixes compatibility for APM2.  Also a significant update to the battery monitoring code:  We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos.  These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere).  Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs.  The CLI battery and current monitoring tests were consolidated into 1 test.
changed
2012-01-15 17:10:02 -07:00
Jason Short 5aa0861ec2 Added Xplane output option 2012-01-04 09:28:38 -08:00
Jason Short 7858976407 removed unused vars 2012-01-04 09:28:37 -08:00
Jason Short 801b3a8e8f removed unused Airspeed config 2012-01-04 09:28:36 -08:00
Jason Short 27d3564eab Sync with Arduplane 2011-12-30 23:48:04 -08:00
Michael Oborne be9a741c88 add method of detecting if motors are armed 2011-12-14 06:18:29 +08:00
Andrew Tridgell c007fb49b8 IMU: update ACM and APM for flash_leds change in IMU init 2011-12-13 18:19:41 +11:00
Pat Hickey 67436d7ff2 ArduCopter: Get barometer data in terms of AP_Baro interface
* Major change: Log.pde Log_Write_Control_Tuning has changed significantly
* MS5611 has no concept of RawPres and _offset_press
* Log the get_pressure() instead. (If we don't trust the barometer, what's the point?)
2011-12-11 15:21:10 -08:00
Jason Short 8af8badcec formatting 2011-12-03 15:29:33 -08:00
Andrew Tridgell c1569e49a8 fixed the "reboot on GPS lock" bug
the problem was that with APM2 we may not have a 2nd GCS instance. The
"gps alt: xxx" message was being unconditionally sent to both GCS
instances, which caused a crash
2011-12-04 09:06:58 +11:00
Jason Short 2e0b55d887 Cosmetic cleanup, commented functions for compiler warnings 2011-11-27 22:23:02 -08:00
Jason Short 3a453b56c1 Allow output of system type 2011-11-26 16:39:28 -08:00
Jason Short 9d55f8ee90 sending Mavlink system type 2011-11-26 16:39:28 -08:00
Andrew Tridgell e297f0cb23 USB-MUX: enable USB MUX switching for ArduCopter 2011-11-25 20:00:19 -08:00
Andrew Tridgell c797794e3f ArduCopter-HIL: fixed HIL build
Logging isn't always enabled
2011-11-25 20:00:18 -08:00
Andrew Tridgell f071321efa fixed a valgrind error
this error is harmless, but false positives can disguise real errors
2011-11-25 20:00:18 -08:00
Jason Short b503902b34 renamed WP mask 2011-11-20 00:22:53 -08:00
Jason Short c762abdd00 Logging APVar saves 2011-11-19 16:59:54 -08:00
Jason Short b746556933 Do not write home from GS,
MAV_Action_Continue disabled until I find out what it does and how to do it.
2011-11-16 00:22:23 -08:00
Jason Short bc6f523d83 updates to Mavlink for zero based WP counting 2011-11-12 21:44:38 -08:00
Jason Short 6c9e6f3f96 Added more output to Mavlink for debugging 2011-11-09 11:00:40 -08:00
Jason Short ee8ab89f6e Added MAV_CMD YAW parsing 2011-11-08 23:44:14 -08:00
Jason Short 78668ce6f1 Added Mav_CMD_Yaw parsing 2011-11-08 23:42:41 -08:00
Jason Short 59fb774226 bad hijacking of GPS_Status 2011-11-08 10:48:47 -08:00
Jason Short 31e05e40fd Fixes for Sim - Missing climb rate calculation 2011-11-08 10:46:52 -08:00
Andrew Tridgell 87d5581046 ArduCopter: use specific sized data types in a lot of places
this will make the Desktop build more consistent with the real AVR
build, and also with a future ARM build
2011-11-08 11:05:36 +11:00