Commit Graph

6513 Commits

Author SHA1 Message Date
Andrew Tridgell 1c2a220888 Rover: more mavlink fixes 2012-12-20 14:52:35 +11:00
Andrew Tridgell 45615e5698 Rover: merge in mavlink updates from ArduPlane 2012-12-20 14:52:35 +11:00
Andrew Tridgell d706f11be9 Rover: added nocore.inoflag 2012-12-20 14:52:35 +11:00
Andrew Tridgell 235369cfbc Rover: cleanup board config 2012-12-20 14:52:35 +11:00
Pat Hickey 91b94c0f6c Arduino.mk: fixed per-target toolchains 2012-12-20 14:52:35 +11:00
Pat Hickey eb530b86e8 move Arduino.mk to /mk/Arduino.mk 2012-12-20 14:52:35 +11:00
Andrew Tridgell 44f860e102 InertialSensor: fixed some compiler warnings 2012-12-20 14:52:35 +11:00
Andrew Tridgell b284d4c21e Rover: first cut at porting rover to AP_HAL 2012-12-20 14:52:34 +11:00
Andrew Tridgell 2760c182f5 Tools: fixed CPUInfo build under SITL 2012-12-20 14:52:34 +11:00
Andrew Tridgell fc66f5594f AHRS: allow AHRS test to build with SITL 2012-12-20 14:52:34 +11:00
Andrew Tridgell 9e986801c9 Copter: fixed SITL for ArduCopter 2012-12-20 14:52:34 +11:00
Andrew Tridgell c20481dc94 Plane: SITL has a I2C driver now 2012-12-20 14:52:34 +11:00
Andrew Tridgell 7ecf8981b9 SITL: added dummy SPI and make RCInput 50Hz 2012-12-20 14:52:34 +11:00
Andrew Tridgell e020694c03 SITL: fixed build of apm1/apm2 target 2012-12-20 14:52:34 +11:00
Andrew Tridgell 761ab5c3e8 Plane: use AP_HAL_BOARD_DRIVER 2012-12-20 14:52:33 +11:00
Andrew Tridgell 4cff98dcae AP_HAL: added AP_HAL_BOARD_DRIVER define
this makes example sketches easier to read
2012-12-20 14:52:33 +11:00
Andrew Tridgell abbe37be37 SITL: added emulated airspeed sensor on a pin 2012-12-20 14:52:33 +11:00
Andrew Tridgell 46f7c9e92b SITL: added basic analogin implementation 2012-12-20 14:52:33 +11:00
Andrew Tridgell 472b45bc2a SITL: fixed use of local printf() method in UART driver 2012-12-20 14:52:33 +11:00
Andrew Tridgell 7be507948f SITL: added SITL_State::loop_hook()
this prevents us using so much CPU time, and ensures stdout is flushed
2012-12-20 14:52:33 +11:00
Andrew Tridgell 69bebbcaf8 SITL: removed old SITL code 2012-12-20 14:52:33 +11:00
Andrew Tridgell 0c9d37e2ee SITL: added RCInput and RCOutput 2012-12-20 14:52:33 +11:00
Andrew Tridgell 28f0ce6185 Build: use -O0 for SITL 2012-12-20 14:52:33 +11:00
Andrew Tridgell dcc17dad94 SITL: added panic() method in scheduler 2012-12-20 14:52:33 +11:00
Andrew Tridgell 475496cee2 Revert "Arduino.mk: use target variables rather than recursive make for apm1, apm2.."
This reverts commit fcd58cc1d7892bb8b45db75c35e1bdccaa2d47bb.

still doesn't work ...
2012-12-20 14:52:33 +11:00
Andrew Tridgell 08b1c2d590 Copter: fixed GPS init 2012-12-20 14:52:33 +11:00
Andrew Tridgell 975506c840 Build: add debugging in SITL build 2012-12-20 14:52:33 +11:00
Andrew Tridgell 448fc6719f HAL_Empty: fixed return in dataflash 2012-12-20 14:52:33 +11:00
Andrew Tridgell 6627e7ea0e HAL_Empty: fixed I2CDriver declaration 2012-12-20 14:52:33 +11:00
Andrew Tridgell 5f7f6966af SITL: fixed GPS and UART startup 2012-12-20 14:52:32 +11:00
Andrew Tridgell 334b96b375 SITL: switched to empty driver for unimplemented backends 2012-12-20 14:52:32 +11:00
Andrew Tridgell a3e20324ac Plane: added CONFIG_INS_STUB 2012-12-20 14:52:32 +11:00
Andrew Tridgell 41272614ce Plane: simplify board config defines 2012-12-20 14:52:32 +11:00
Andrew Tridgell 73f70cc596 Plane: moved to new GPS init syntax 2012-12-20 14:52:32 +11:00
Andrew Tridgell 18db7b2efd GPS: move _port setting to init()
this is needed to avoid constructor ordering dependencies
2012-12-20 14:52:32 +11:00
Pat Hickey 107ab1a694 AP_Baro: translated to SPI transactions 2012-12-20 14:52:32 +11:00
Pat Hickey b502732249 AP_InertialSensor: rewrite basic code for spi device transactions
* I'm not touching that DMP stuff because I'm pretty convinced it should
  instead be deprecated
2012-12-20 14:52:32 +11:00
Pat Hickey 3153105682 AP_HAL_AVR: spi transaction handle null RX properly 2012-12-20 14:52:32 +11:00
Pat Hickey 992de8c2b9 AP_ADC_ADS7844: changed to use spidevicedriver transaction 2012-12-20 14:52:32 +11:00
Pat Hickey b43b003777 AP_ADC: fix typo in test 2012-12-20 14:52:32 +11:00
Pat Hickey 5c1e7abf0e AP_HAL_Empty: add spi driver transaction 2012-12-20 14:52:32 +11:00
Pat Hickey 4fe889c9c5 AP_HAL_AVR: Implement bulk SPI transaction 2012-12-20 14:52:32 +11:00
Pat Hickey d2f7402243 AP_HAL: add bulk transaction to SPIDeviceDriver 2012-12-20 14:52:32 +11:00
Pat Hickey 087b1fa196 AP_HAL_AVR: AnalogIn returns new ADCSource each time a channel is requested
* fixes a bug where multiple sources created as pin -1, then change to
  appropriate pin on mavlink messages. Make treat each creation as distinct
  object.
2012-12-20 14:52:32 +11:00
Pat Hickey d5a46ca1e3 AP_ADC: uses scheduler panic 2012-12-20 14:52:32 +11:00
Pat Hickey d92e8045c1 AP_Baro: uses scheduler panic 2012-12-20 14:52:31 +11:00
Pat Hickey 2c2279722b AP_Baro_MS5611: use scheduler panic 2012-12-20 14:52:31 +11:00
Pat Hickey a4f41c1d29 AP_InertialSensor: MPU6000 uses scheduler panic 2012-12-20 14:52:31 +11:00
Pat Hickey 90670cb499 AP_HAL_AVR: panic in spidevice0 2012-12-20 14:52:31 +11:00
Pat Hickey 885fc79af5 AP_HAL_Empty: add panic method to scheduler 2012-12-20 14:52:31 +11:00