James Bielman
edfddbab57
AP_HAL_SMACCM: Implement new scheduler methods.
...
- Set the system initialized after call to "setup" in main.
2013-01-10 14:22:15 -08:00
Pat Hickey
910e09fc96
AP_InertialSensor_MPU6000: fix sync/async semaphore usage with new scheduler
2013-01-10 14:12:19 -08:00
Pat Hickey
83adb72f16
AP_HAL_Empty: Stub out new Scheduler methods
2013-01-10 14:07:44 -08:00
Pat Hickey
a228519b18
AP_HAL_AVR_SITL: Implement new Scheduler methods
2013-01-10 14:07:43 -08:00
Pat Hickey
930a789b25
AP_HAL_AVR: Implement new scheduler methods
2013-01-10 14:07:43 -08:00
Pat Hickey
7a0f95c11c
AP_HAL: add Scheduler methods in_timerprocess, system_initialize
2013-01-10 14:07:43 -08:00
Pat Hickey
6d64bf2921
AP_HAL_SMACCM: Semaphores fixup
2013-01-10 13:52:30 -08:00
Pat Hickey
892a322574
Arduino.mk: default config.mk port changed to ACM0 (for APM2)
2013-01-10 13:51:03 -08:00
James Bielman
9abf3d2c0f
AP_HAL_SMACCM: Panic if taking a semaphore held by current thread.
...
- Catches bugs with attempted recursive semaphore taking.
2013-01-10 13:16:43 -08:00
Andrew Tridgell
ea3b405959
MAVLink: moved CRC table into program
...
this saves 256 bytes of memory
2013-01-10 21:28:07 +11:00
Andrew Tridgell
f3783b0306
AP_GPS: put SIRF init_messages in progmem
...
this saves 32 bytes of memory
2013-01-10 21:27:41 +11:00
Andrew Tridgell
dbad61816b
AP_InertialSensor: only build Oilpan driver on APM1
2013-01-10 21:01:55 +11:00
Andrew Tridgell
2c603a0960
AP_Baro: only build BMP085 driver on APM1
2013-01-10 21:01:07 +11:00
Andrew Tridgell
63634c4e8a
HAL_SMACCM: fixed build warning
2013-01-10 16:29:46 +11:00
Andrew Tridgell
130aaae168
HAL_AVR: switched to 8 bit mask
...
max buffer size is now 256. This makes serial faster
2013-01-10 16:29:34 +11:00
Andrew Tridgell
03b26c7d6d
AP_Motors: fixed setup of ESC update speeds
2013-01-10 15:52:46 +11:00
Andrew Tridgell
21e979910f
Copter: improved 'FRAME' docs
2013-01-10 15:44:13 +11:00
Pat Hickey
ea6147162a
AP_HAL_SMACCM: fix to goofed PPM_MAX_CHANNELS macro
2013-01-09 17:24:23 -08:00
Andrew Tridgell
2dd757a20f
cleanup: removed archive directory
...
this will still be in git history, but isn't needed in the tree
2013-01-10 11:29:49 +11:00
Pat Hickey
8f5da03f93
AP_HAL_SMACCM: guard compilation on CONFIG_HAL_BOARD
2013-01-09 13:32:34 -08:00
Pat Hickey
59365f1b90
AP_HAL_AVR: UARTDriver guard needs AP_HAL_Boards.h
2013-01-09 13:32:13 -08:00
Pat Hickey
268dd85319
Arduino.mk: more verbose default config file, with default HAL_BOARD apm2
2013-01-09 13:31:58 -08:00
Pat Hickey
ec02aab5d7
Rover Makefile: don't include targets.mk directly (included by apm.mk)
2013-01-09 13:15:53 -08:00
Pat Hickey
0ff6ed12b1
ArduCopter Makefile: Don't include targets.mk directly (included by apm.mk)
2013-01-09 13:15:38 -08:00
Pat Hickey
ab5522a20a
AP_HAL_SMACCM: remove meaningless example dir
2013-01-09 13:15:10 -08:00
Pat Hickey
7142368a97
mk: wibbles clean up output a little
...
clean up extra slash in /mk//Arduino.mk
etags can be .PHONY so we dont get errors about overriding existing recipie
2013-01-09 11:27:59 -08:00
James Bielman
7374e5d84e
ArduCopter: Use 16-bit arithmetic when comparing event tick counters.
...
- On the ARM, once the tick counter wrapped, we stopped running events
because the wraparound case wasn't being handled correctly. Make
sure the comparison is 16 bits to prevent this.
2013-01-09 11:19:52 -08:00
James Bielman
0160a10ba7
AP_HAL_SMACCM: Increase scheduler stack sizes.
2013-01-09 11:19:51 -08:00
James Bielman
46b0742710
AP_HAL_SMACCM: Fix pin conflict between uartC and I2C.
...
- uartC is currently disconnected.
- Set uartB to USART6 for GPS communication.
2013-01-09 11:19:51 -08:00
James Bielman
7827a4a54a
ArduCopter: Add AP_HAL_SMACCM support.
...
- Added default configuration to "config.h".
- Added main function to run under FreeRTOS with HWF4.
2013-01-09 11:19:51 -08:00
James Bielman
ab37f833db
MS5611: Fix CONFIG_MS5611_SERIAL definitions.
...
- Make sure the values are defined as integers. We were always using
SPI rather than using I2C when desired.
2013-01-09 11:19:51 -08:00
James Bielman
4e0806186f
AP_HAL_SMACCM: Implement RCInput driver.
2013-01-09 11:19:51 -08:00
James Bielman
8e38ef6567
MPU6000: Flip Y and Z axes for SMACCM_HAL.
...
- The accelerometer is upside-down on the PX4FMU vs the APM2.
2013-01-09 11:19:51 -08:00
James Bielman
1309b7332a
MPU6000: Use signed addition when accumulating readings.
...
- Fixes very erratic accel readings on the PX4 board.
2013-01-09 11:19:51 -08:00
Andrew Tridgell
e575c5eba0
Copter: read baro at 50Hz
2013-01-09 23:46:05 +11:00
Andrew Tridgell
8cb0ed364a
AP_Baro: read 4 pressure values for every temperature value on BMP085
2013-01-09 23:44:26 +11:00
Andrew Tridgell
269804e866
Copter: use barometer.accumulate()
...
this gives us more consistent timing and faster baro reads on APM1
2013-01-09 23:08:19 +11:00
Andrew Tridgell
91ad870f11
Copter: check bitmask in more logging functions
2013-01-09 23:06:40 +11:00
Andrew Tridgell
1ce1fa3864
AP_Baro: update example to use accumulate()
2013-01-09 23:06:24 +11:00
Andrew Tridgell
8ceabc97f1
AP_Baro: added accumulate() function
...
this allows us to read the BMP085 much faster
2013-01-09 23:05:17 +11:00
Andrew Tridgell
8f424cdf21
AP_Compass: ensure we check we got the semaphore
2013-01-09 20:42:20 +11:00
Andrew Tridgell
e76c77e86a
AP_HAL: mark semaphore take operations as WARN_IF_UNUSED
...
this prevents common bugs
2013-01-09 20:42:02 +11:00
Andrew Tridgell
90523ae975
AP_HAL: added WARN_IF_UNUSED macro
...
useful for key functions
2013-01-09 20:41:37 +11:00
Andrew Tridgell
8e1bee3a5e
HAL_AVR: make _taken volatile
2013-01-09 20:33:37 +11:00
Andrew Tridgell
f48790a56e
AP_InertialSensor: poll for new data in num_samples_available()
...
this lowers the latency for new data
2013-01-09 20:31:09 +11:00
Andrew Tridgell
4ab1cddd15
AP_InertialSensor: ensure we always have the SPI semaphore for MPU6k
2013-01-09 20:30:20 +11:00
Andrew Tridgell
9b972af307
AP_Baro: skip timer if we don't get the SPI semaphore
2013-01-09 20:27:48 +11:00
Andrew Tridgell
66073ee94f
autotest: ensure JSBSim is dead on restart
2013-01-09 13:31:05 +11:00
Andrew Tridgell
9d6d59b1dd
autotest: fixed jsbsim on fedora
2013-01-09 13:31:03 +11:00
Andrew Tridgell
d5d2fc667f
autotest: use mktemp instead of tempfile
...
more portable
2013-01-09 13:31:01 +11:00