Commit Graph

6531 Commits

Author SHA1 Message Date
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
Andrew Tridgell 678c281f78 Cleanup: removed unused AP_Navigation 2012-12-20 14:52:37 +11:00
Andrew Tridgell 4ee969f439 Tools: fixed build_all.sh script 2012-12-20 14:52:37 +11:00
Andrew Tridgell 62d7fd1a26 Plane: fixed HIL builds 2012-12-20 14:52:37 +11:00
Andrew Tridgell a02f723f3a Copter: fixed HIL builds 2012-12-20 14:52:37 +11:00
Andrew Tridgell cd0258c6e8 Tools: port VARTest to AP_HAL 2012-12-20 14:52:37 +11:00
Andrew Tridgell 32afc3f9ae Filter: fixed example warnings 2012-12-20 14:52:36 +11:00
Andrew Tridgell 29f5e346c2 Menu: fixed example warnings 2012-12-20 14:52:36 +11:00
Andrew Tridgell a76688e630 Math: fixed example warnings 2012-12-20 14:52:36 +11:00
Andrew Tridgell b8843489be HAL_AVR: fixed example warnings 2012-12-20 14:52:36 +11:00
Andrew Tridgell b673320f72 ADC: fixed example warnings 2012-12-20 14:52:36 +11:00