1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
Commit Graph

4362 Commits

Author SHA1 Message Date
James Cotton
07e3ad10af Force some floating point units to be safe 2011-11-26 15:52:25 -06:00
James Cotton
04f4afce46 Set idle load for revo 2011-11-26 15:52:04 -06:00
James Cotton
8c0db424fa Fix long subtle bug where failsafe didn't show the output values it was using 2011-11-26 15:51:24 -06:00
James Cotton
c70a9a5381 Sanitize the floating point math in systemmod.c to be consistently floating and
not double
2011-11-26 15:16:16 -06:00
James Cotton
d3314f041a MPU6000: Bring SPI down to 5 Mhz - much closer to spec 2011-11-26 14:56:28 -06:00
James Cotton
99123372d0 TO BE REVERTED: Temporary patch to make the w25x driver work with the revo m25p
chip.  Need to abstract out the erase commands into a general pios_spi_flash
driver.
2011-11-26 14:55:16 -06:00
James Cotton
8b7aca0dcd Include the accel bias into revolution attitude function and also make sure
downsampling is correct.
2011-11-26 14:40:32 -06:00
James Cotton
4a3fd96155 For now masquerade Revo as a CC for GCS settings 2011-11-26 14:18:09 -06:00
James Cotton
11ad135b27 Some changes to MPU6000 driver to make it start more reliably on fresh powerup 2011-11-26 14:12:12 -06:00
James Cotton
1574c96c3a Add all the pin remappings and pin sources for F4 timers 2011-11-26 03:36:36 -06:00
James Cotton
c57acf6459 F4 PiOS: Must use a different remap command on F4 for timer module to command
pin.  Include the remap source in the config structure now.
2011-11-26 03:35:26 -06:00
James Cotton
57b381235e Init the timers and PWM in the board file 2011-11-26 02:19:56 -06:00
James Cotton
de9a8453ef Configure the board to use PWM input and servo output 2011-11-26 02:19:56 -06:00
James Cotton
3e01c84a15 Add pin mappings for PWM and receiver port 2011-11-26 02:19:56 -06:00
James Cotton
e71030c6ce Remove testing code for pressure sensor 2011-11-26 02:19:56 -06:00
James Cotton
c118159a6f Remove refence to deleted object 2011-11-26 02:19:55 -06:00
James Cotton
7637e9f669 Get flash chip working and saving to memory. Also get the I2C working with
BMA180 driver.
2011-11-19 00:13:02 -06:00
James Cotton
da75e9fdaf PiOS: Make I2C return an error code for NACK 2011-11-19 00:11:16 -06:00
James Cotton
a7ef5601e0 Update the MPU6000 FIFO code and also fix the temperature code 2011-11-18 00:24:55 -06:00
James Cotton
6d74e96c31 Got attitude working again. MPU6000 FIFO reading needs a bit of work. 2011-11-18 00:00:55 -06:00
James Cotton
79730d5afa Try and get the MPU6000 buffer to run down. Staying high for some reason. 2011-11-17 11:23:31 -06:00
James Cotton
0efffef1fa Work on bringing the Revolution board up 2011-11-17 10:13:34 -06:00
James Cotton
d97e5dbc59 Add SPI MPU6000 driver. Unfortunate hack in HMC5883 EXTI handler to call
MPU6000.  Need to generalize EXTI ASAP.
2011-11-17 10:12:10 -06:00
James Cotton
8477c2229b Using real prototype board now. Move telemetry to GPS port for easy-ness right
now.
2011-11-17 01:58:51 -06:00
James Cotton
1c7c85635d Typo with renamed PI 2011-11-16 19:48:13 -06:00
James Cotton
1deb799b6f Get simple attitude estimation working on F4 INS. Also make MPU6050 return
scaling that casts to degrees.
2011-11-16 11:36:04 -06:00
James Cotton
8e79f86716 Make the CoordinateConversions use a floating point PI 2011-11-16 11:35:52 -06:00
James Cotton
aeb42332d6 Get the MPU6050 fifo running and read by the attitude module 2011-11-14 11:23:14 -06:00
James Cotton
59507249e1 Hack in attitude to read directly from gyros instead of fifo. All sensors
reading now.
2011-11-14 11:12:10 -06:00
James Cotton
1086df5b21 Correctly configure MPU6050 interrupt. However currently not pushing data to
the buffer as that seems to fail.
2011-11-14 11:11:40 -06:00
James Cotton
2cc2e55248 Add attitude solution for revo 2011-11-14 10:49:37 -06:00
James Cotton
4c04d01be4 Dos2unix pios_config.h for revo 2011-11-14 10:25:57 -06:00
James Cotton
e32cc92002 For now act like revo is using init call system to fix compile errors. 2011-11-14 10:25:28 -06:00
James Cotton
da679441ec Duplicate the spektrum (dsm) driver to F4 branch 2011-11-14 10:12:51 -06:00
James Cotton
684715930a Merge branch 'next' into revolution
Conflicts:
	flight/OpenPilot/Makefile
	flight/Revolution/System/inc/openpilot.h
2011-11-14 10:11:53 -06:00
James Cotton
180d84e373 Update the MPU6050 code a bit more to use the right registers. 2011-11-14 10:09:49 -06:00
James Cotton
2eb89e9b81 No reason for the data read flag in pios_bmp085.c to be a semaphore 2011-11-14 10:07:19 -06:00
James Cotton
3e2558bec6 Patch from PH which orders fields by size - important for using the M4 FPU 2011-11-14 09:49:50 -06:00
James Cotton
76a956416c Switch revo over to MPU6050 2011-11-13 19:45:06 -06:00
James Cotton
96a098bf74 Add code for MPU6050 driver 2011-11-13 19:44:56 -06:00
James Cotton
1e2fe77e3f Start migrating the attitude solution to FreeRTOS 2011-11-13 18:51:35 -06:00
James Cotton
0c103f7b2c Delete F2 PiOS port since unused 2011-11-13 17:33:43 -06:00
James Cotton
fffb6449ac Delete the old INS target 2011-11-13 17:31:34 -06:00
James Cotton
c44235494c Update the Revolution board file a bit 2011-11-13 17:23:56 -06:00
James Cotton
938a577d11 Small change to pios_adc so it works when not enabled 2011-11-13 17:14:08 -06:00
James Cotton
ec84fc4058 Get the Revolution bootloader working 2011-11-13 17:13:42 -06:00
James Cotton
2b37d4bbb5 Enable telemetry on revo 2011-11-13 16:10:19 -06:00
James Cotton
3e4a33169c Merge remote-tracking branch 'origin/dwillis/gcs_gui_fixes' into next 2011-11-12 21:49:56 -06:00
James Cotton
b110e9c549 Style suggestions to cleanup GPS from Stac 2011-11-12 21:31:01 -06:00
James Cotton
f0b22519be Merge remote-tracking branch 'origin/corvuscorax/CC_GPS' into next 2011-11-12 21:30:53 -06:00