Commit Graph

6549 Commits

Author SHA1 Message Date
Andrew Tridgell c5ba33d39a AP_Baro: fixed MS5611 semaphore handling 2012-12-21 19:33:57 +11:00
Andrew Tridgell 47358929e2 HAL_AVR: fixed attach_interrupt race condition 2012-12-21 19:33:57 +11:00
Andrew Tridgell d54c6989ab Plane: fixed the last build warnings
we now build with no warnings for APM1, APM2 and SITL. Yay!
2012-12-20 22:46:48 +11:00
Andrew Tridgell 8d47a739a1 SITL: fixed a return value in snprintf functions 2012-12-20 22:46:22 +11:00
Andrew Tridgell dc2b11704f Plane: fixed a build warning 2012-12-20 22:42:44 +11:00
Andrew Tridgell feca411943 Plane: added new TRAINING mode
this mode gives manual control when the roll or pitch is within the
set limits (the same limits as FBW mode), and prevents the pilot from
flying beyond those limits, essentially a "attitude limited manual"
mode
2012-12-20 22:41:58 +11:00
Andrew Tridgell cd430cb6a8 RC_Channel: added no_deadzone version of set_pwm() 2012-12-20 22:41:58 +11:00
Andrew Tridgell f504e2ec67 InertialSensor: removed sample rate in example
not needed any more
2012-12-20 15:16:43 +11:00
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