James Cotton
|
f8e59443b8
|
If the BMA180 isn't read when an IRQ fires (because the flash chip has claimed
the bus) then it won't fire another interrupt until read. For now this is
dealt with in the sensor loop by forcing a read when the fifo is empty.
|
2012-01-21 10:13:46 -06:00 |
|
James Cotton
|
f6db859e4f
|
Fix bug in flash driver where it could assert CS line after failing to claim
the bus. Also added a "claimed" flag to the device structure.
|
2012-01-21 09:57:12 -06:00 |
|
James Cotton
|
5dbbfec8a9
|
Make the BMA180 driver use the appropriate claim method from the ISR. Also
slow down this bus to 10 MHz.
|
2012-01-21 09:57:02 -06:00 |
|
James Cotton
|
ff0bd87f4e
|
PIOS SPI: Add a second claim bus method for use in ISR. This has no timeout
and uses an ISR safe queue claiming method. This avoids deadlocks when ISR
blocks other tasks from freeing the bus.
|
2012-01-21 09:07:06 -06:00 |
|
James Cotton
|
ec903449cd
|
Remove line that bypassed the BMA180 startup test
|
2012-01-21 08:46:32 -06:00 |
|
James Cotton
|
6d72678086
|
Add timeout in the sensor task for reading sensors to stop the watchdog firing.
All sensors should later be converted to use FreeRTOS queues.
|
2012-01-21 08:32:41 -06:00 |
|
James Cotton
|
7f284596f2
|
Attempting to get flash and BMA180 to coexist
|
2012-01-20 13:33:21 -06:00 |
|
James Cotton
|
1e8811362e
|
On revolution attach the flash chip to the accel bus now. Also extended the
flash chip driver to take in the slave number during initialization so this is
no longer a hardcoded option.
|
2012-01-20 07:37:47 -06:00 |
|
James Cotton
|
1b5e776dc5
|
Hardcoded scale for now since it isn't picking up from the cfg structure.
|
2012-01-17 19:53:20 -06:00 |
|
James Cotton
|
ce2d0fcbb1
|
L3GD20 data now running through IRQ -> FIFO
|
2012-01-17 19:36:32 -06:00 |
|
James Cotton
|
35025303cd
|
Getting data from gyro.
|
2012-01-17 19:29:38 -06:00 |
|
James Cotton
|
147cd7eede
|
Fix correct library.mk file
|
2012-01-08 09:27:32 +01:00 |
|
James Cotton
|
8b42fbeafc
|
Revert "Fix case in library.mk to stop Brian bitching :)"
This reverts commit d39e818ca6 .
|
2012-01-08 09:27:13 +01:00 |
|
James Cotton
|
d39e818ca6
|
Fix case in library.mk to stop Brian bitching :)
|
2012-01-08 09:10:56 +01:00 |
|
James Cotton
|
ebbe1bd497
|
Some beginning work on the l3gd20 driver
|
2012-01-08 09:07:07 +01:00 |
|
James Cotton
|
cc47520baa
|
Checking ID on ST gyro works
|
2012-01-04 23:23:42 -06:00 |
|
James Cotton
|
0fbcf7723d
|
Code to disable all gyros. All modules now running.
|
2012-01-04 22:37:15 -06:00 |
|
James Cotton
|
5ee9c8008e
|
Temporarily swap serial ports while debugging
|
2012-01-04 22:19:13 -06:00 |
|
James Cotton
|
0cc18e7dcf
|
Add files for new L3DG20 sensor
|
2012-01-04 20:33:54 -06:00 |
|
James Cotton
|
e1c21462b0
|
Delete another unused file
|
2012-01-04 19:47:06 -06:00 |
|
James Cotton
|
d5eb38a065
|
Remove references to deprecated targets
|
2012-01-04 19:42:45 -06:00 |
|
James Cotton
|
cce351bb9a
|
Delete references to unused objects
|
2012-01-04 19:37:38 -06:00 |
|
James Cotton
|
0da6109871
|
Update the F4 copyright headers to 2012
|
2012-01-04 19:29:29 -06:00 |
|
James Cotton
|
25dfb5463e
|
Add option to switch to using the MPU6000 accel instead of BMA180. Disabled by
default.
|
2011-12-29 02:08:13 -06:00 |
|
James Cotton
|
c080080810
|
Add ability to change the SPI bus runs at
|
2011-12-29 00:09:53 -06:00 |
|
James Cotton
|
bf98630851
|
Add streaming the sensor data out of the serial port
|
2011-12-26 17:52:45 -06:00 |
|
James Cotton
|
9bf06bbd3e
|
Force the loading of the sensor gains and biases at the beginning
|
2011-12-24 16:14:28 -06:00 |
|
James Cotton
|
1092ac3184
|
Use the scale and bias terms for hte mag and accel
|
2011-12-24 15:58:12 -06:00 |
|
James Cotton
|
05da41a79b
|
Get FirmwareIAP object working on revo
|
2011-12-24 13:15:56 -06:00 |
|
James Cotton
|
569b201b58
|
Move the bl_helper out of the common directory as it isn't
|
2011-12-24 13:10:23 -06:00 |
|
James Cotton
|
5d4da2213f
|
Accidentally used floating point when parsing NEMA. Lost resolution on
position.
|
2011-12-24 10:37:30 -06:00 |
|
James Cotton
|
dd89d232ba
|
Add a magnetometer bias term although currently hardcoded to my board
|
2011-12-15 00:57:19 -06:00 |
|
James Cotton
|
0432dd450e
|
Enable the mag to be used in the complimentary filter to stabilize the yaw
direction
|
2011-12-15 00:56:50 -06:00 |
|
James Cotton
|
2240ad924a
|
Fix the orientation of the magnetometer
|
2011-12-15 00:46:43 -06:00 |
|
James Cotton
|
43ed6cd89c
|
Need to initialize the HomeLocation object
|
2011-12-14 14:08:03 -06:00 |
|
James Cotton
|
9148bb2c65
|
Make sure the sensors module grabs the sesor biases initially.
|
2011-12-14 10:38:43 -06:00 |
|
James Cotton
|
6dbad243db
|
Convert the CoordinateConversion functions to all be float until I determine
how to use doubles safely on F4.
|
2011-12-14 02:08:14 -06:00 |
|
James Cotton
|
09864a8cf6
|
Get outdoor EKF running although need to add in the ability to swap modes
(probably).
|
2011-12-14 02:07:33 -06:00 |
|
James Cotton
|
fd8899018f
|
Get EKF running
|
2011-12-14 01:54:06 -06:00 |
|
James Cotton
|
ed7cbd5a6c
|
Have to initialize the BaroAltitude object ini the init section for it to show
up on telemetry
|
2011-12-13 23:27:26 -06:00 |
|
James Cotton
|
9f50391fc5
|
Merge branch 'next' into revolution_sensors
Conflicts:
ground/openpilotgcs/src/plugins/coreplugin/OpenPilotGCS.xml
|
2011-12-13 20:50:10 -06:00 |
|
James Cotton
|
a37a17a4fb
|
Created a separate Sensor module and Attitude module for revolution
|
2011-12-12 21:40:39 -06:00 |
|
James Cotton
|
53cb5b67d1
|
Make the revo attitude now use the separate gyro object. CopterControl
attitude still needs an update.
|
2011-12-12 13:28:35 -06:00 |
|
James Cotton
|
d22e0e66dd
|
Create separate UAVOs for the sensors.
|
2011-12-12 13:05:40 -06:00 |
|
James Cotton
|
7273f87f9b
|
Fix NMEA parsing for M4 FPU
|
2011-12-12 09:47:11 -06:00 |
|
James Cotton
|
a9c61845af
|
Create a separate task for sensors and attitude on revo.
|
2011-12-12 00:47:16 -06:00 |
|
James Cotton
|
33a12d829e
|
Merge branch 'next' into revolution
Conflicts:
flight/PiOS/Common/pios_flashfs_objlist.c
|
2011-12-11 22:55:54 -06:00 |
|
Oleg Semyonov
|
10287e3e29
|
CC: rename ReceiverPort PPM+Servo (Servo) options to PPM+Outputs (Outputs)
|
2011-12-11 22:52:51 +02:00 |
|
James Cotton
|
162b0d7f75
|
Because the UAVO field sorting required for revo changes all the object IDs,
trigger a flash wipe on all existing boards with this upgrade.
|
2011-12-10 14:13:28 -06:00 |
|
Corvus Corax
|
a0cd71abe6
|
UAVObjects ; Modules/ManualControl: Fixed metadata interface and segfault when retrieving it
|
2011-11-30 09:20:46 +01:00 |
|