Commit Graph

6541 Commits

Author SHA1 Message Date
Andrew Tridgell 9931009db2 Math: use pythagorous2() in some more places 2012-12-20 15:16:18 +11:00
Andrew Tridgell 78d98023f4 Copter: remove use of 'byte' 2012-12-20 14:58:07 +11:00
Andrew Tridgell 1cb4724b7f Plane: fixes for 1280 build 2012-12-20 14:53:24 +11:00
Andrew Tridgell 13ea0bb5d8 AP_Camera: disable relay on APM2 2012-12-20 14:53:24 +11:00
Andrew Tridgell 4a6b46c661 AP_GPS: fixed multiple GPS detection bug 2012-12-20 14:53:24 +11:00
Andrew Tridgell fb4540a349 DataFlash: disable some debug code 2012-12-20 14:53:24 +11:00
Andrew Tridgell f549950a9c AP_GPS: remove some debug code 2012-12-20 14:53:23 +11:00
Andrew Tridgell 3aa39da6cd AP_Baro: removed some debug code 2012-12-20 14:53:23 +11:00
Andrew Tridgell e282554035 AHRS: removed some debug code 2012-12-20 14:53:23 +11:00
Andrew Tridgell 9a2e77b797 Plane: fully disable relay and mount code on APM1-1280
this saves some more flash space
2012-12-20 14:53:23 +11:00
Andrew Tridgell a180437028 AP_Compass: disable auto-declination on 1280
this saves a few k of flash space
2012-12-20 14:53:23 +11:00
Andrew Tridgell 60d3df50ae AP_HAL: changed delay() to take a uint16_t
this allows for up to 32 second delays, and saves a bit of flash space
2012-12-20 14:53:23 +11:00
Andrew Tridgell 772f93ea10 Plane: fixed config for 1280 2012-12-20 14:53:23 +11:00
Andrew Tridgell d8bed0c2aa AP_Math: fixed get_distance() function 2012-12-20 14:53:23 +11:00
Pat Hickey 087bf380c0 APMrover2: fixes for AP_InertialSensor_UserInteract 2012-12-20 14:53:23 +11:00
Pat Hickey 5231e5a959 ArduPlane: fixes for AP_InertialSensor_UserInteract 2012-12-20 14:53:23 +11:00
Pat Hickey 1878290510 ArduCopter: fixes for AP_InertialSenor_UserInteract 2012-12-20 14:53:23 +11:00
Pat Hickey 6437bd3a08 AP_InertialSenor MPU6000 test: fixed for user interact changes 2012-12-20 14:53:23 +11:00
Pat Hickey 9055681b3a AP_InertialSensor: use AP_InertialSensor_UserInteract
* permits polymorphic user interaction, so we can plug in a
  pure mavlink interface
2012-12-20 14:53:23 +11:00
Pat Hickey a2cf47e769 AP_InertialSensor: start implementing UserInteract
* untested implementation in terms of BetterStream
2012-12-20 14:53:23 +11:00
Pat Hickey b2d69e6a8c AP_HAL_Empty: betterstreams get vprintfs 2012-12-20 14:53:23 +11:00
Pat Hickey 823efc4734 AP_HAL_AVR_SITL: implement BetterStream's vprintf methods 2012-12-20 14:53:22 +11:00
Pat Hickey 1ed6a49a7a AP_HAL_AVR: implementation for each BetterStream vprintf
* had to rename the utility vprintf function calls to print_vprintf
  to make the naming work.
2012-12-20 14:53:22 +11:00
Pat Hickey 7681fef988 AP_HAL: BetterStream gets vprintf and vprintf_P methods 2012-12-20 14:53:22 +11:00
Pat Hickey ec8f08d743 AP_HAL_AVR_SITL: rename vprintf utility to print_vprintf 2012-12-20 14:53:22 +11:00
Pat Hickey 5ab4e57673 AP_HAL_AVR: rename vprintf function to print_vprintf
* because it takes an AP_HAL::Print
2012-12-20 14:53:22 +11:00
Pat Hickey 1b0bde2779 AP_HAL_AVR: rename vprintf files to print_vprintf 2012-12-20 14:53:22 +11:00
Andrew Tridgell bada70d871 InertialSensor: fixed example build on 1280 2012-12-20 14:53:22 +11:00
Andrew Tridgell 8a70e173a7 AP_HAL: restrict build to right board type 2012-12-20 14:53:22 +11:00
Andrew Tridgell 3c0440b0b4 Math: use common degrees() and radians() functions 2012-12-20 14:53:22 +11:00
Andrew Tridgell 7277d4934d AP_InertialSensor: move constructor into cpp 2012-12-20 14:53:22 +11:00
Andrew Tridgell c63c4f22e2 Plane: fixed formatting 2012-12-20 14:53:22 +11:00
Andrew Tridgell ceb3f577d8 libraries: use new math functions 2012-12-20 14:53:22 +11:00
Andrew Tridgell cf18534163 Plane: use new functions 2012-12-20 14:53:22 +11:00
Andrew Tridgell 06357c40f2 Copter: use new functions 2012-12-20 14:53:22 +11:00
Andrew Tridgell be39ccf02c Rover: use new constrain_int16 function 2012-12-20 14:53:22 +11:00
Andrew Tridgell a072afa223 AP_Math: expand some macros into functions
this saves some flash
2012-12-20 14:52:38 +11:00
Pat Hickey 2ad4fed8cd Rover/Copter/Plane: change from vsnprintf to vsnprintf_P 2012-12-20 14:52:38 +11:00
Pat Hickey edb076a6c5 ArduPlane: use hal's vsnprintf 2012-12-20 14:52:38 +11:00
Pat Hickey 2f1846165b ArduRover: use hal's vsnprintf 2012-12-20 14:52:38 +11:00
Pat Hickey 54b98c0a7c ArduPlane: use hal's vsnprintf 2012-12-20 14:52:37 +11:00
Andrew Tridgell a1187519a8 AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches 2012-12-20 14:52:37 +11:00
Pat Hickey 4c715bfd04 AP_HAL_AVR_SITL: add Util driver, fix deprecated deps on HAL_AVR.h 2012-12-20 14:52:37 +11:00
Pat Hickey 771f2a3acf AP_HAL_Empty: add Util driver 2012-12-20 14:52:37 +11:00
Pat Hickey f9eff068f9 AP_HAL_AVR: UtilityStringTest added 2012-12-20 14:52:37 +11:00
Pat Hickey defc539e57 AP_HAL_AVR: implement string Utils in terms of existing vprintf 2012-12-20 14:52:37 +11:00
Pat Hickey b3abe89989 AP_HAL_AVR: add Util stubs 2012-12-20 14:52:37 +11:00
Pat Hickey 0d702045b8 AP_HAL: Add Util member for string utilities 2012-12-20 14:52:37 +11:00
Pat Hickey 372c0074b1 AP_HAL_AVR: remove old style HAL_AVR classes (deprecated) 2012-12-20 14:52:37 +11:00
Andrew Tridgell 2679eabdef Cleanup: removed unused AP_GPS_IMU 2012-12-20 14:52:37 +11:00