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

4673 Commits

Author SHA1 Message Date
zedamota
bea6b18246 Merge branch 'next' of ssh://git.openpilot.org:22/OpenPilot into next 2011-11-28 12:18:15 +00:00
zedamota
5bc1a10774 Fixes the "halt" and "rescue" problems 2011-11-28 12:12:26 +00:00
James Cotton
1af66fc3d2 Get rid of 500 ms delay in startup for the pios_sys so that servos start
properly but a delay is still needs to get MPU6000 up right.  Fucking POS.
2011-11-27 18:05:20 -06:00
James Cotton
9357960268 Get rid of old bootloader code for revolution using the ahrs spi link 2011-11-27 18:04:31 -06:00
James Cotton
4dfdeb9418 Merge remote-tracking branch 'origin/ccfly/channelformlayout' into revolution 2011-11-27 10:24:29 -06:00
James Cotton
f7f94011ee Damnit. For higher bus speeds MPU6000 chip must be initialized twice in a row.
WTF piece of shit.
2011-11-27 02:35:08 -06:00
James Cotton
deea7cde41 Speed up coms to MPU6000 2011-11-27 01:51:43 -06:00
James Cotton
57e7126979 Increase stack size for manualcontrol. This might need to be applied to main
code.
2011-11-27 01:51:23 -06:00
James Cotton
f7d13ebd57 Hack to tweak the gyro gain for now although its too far out at the moment so
something isn't configured properly.  Possibly it is staying in 250 deg/s mode.
Also make sure if the MPU6000 fifo backs up to pull extra data.
2011-11-27 01:22:37 -06:00
James Cotton
8bbc767a4e Get the pressure sensor working and reading into Revolution 2011-11-27 00:52:09 -06:00
James Cotton
cd65df013e Merge branch 'next' into revolution
Conflicts:
	flight/Project/OpenPilotOSX/OpenPilotOSX.xcodeproj/project.pbxproj
2011-11-26 22:52:32 -06:00
James Cotton
13729f854e PiOS F4: Fix PWM timer interrupts and enable PWM input 2011-11-26 22:41:41 -06:00
James Cotton
21367d3a22 Spektrum support for Revolution 2011-11-26 22:19:42 -06:00
James Cotton
e24c905ff7 F4 PiOS: Reimplement the RTC logic for F4 2011-11-26 22:13:57 -06:00
James Cotton
b11a4f7405 Clean up the actuator module for floating point usage. Also there was a bug I
don't understand where the channels should be scaled AFTER all of them are
computed.  It feels like a memory overwriting bug and needs followup.
2011-11-26 16:12:32 -06:00
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
Corvus Corax
15c1ca4af1 GVS/Scope: Bugfix: Export all known data points into CSV not just one per screen redraw 2011-11-26 22:51:20 +01: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
Corvus Corax
5af9a2558c GCS/Scope: Make smooth interpolation (and internal sum) be long term correct despite limited floating point accuracy, but keep constant overhead 2011-11-26 22:06:46 +01:00
Corvus Corax
dfd18d43b5 GCS/Scope: CSV export exports non-interpolated data 2011-11-26 22:06:21 +01:00
Oleg Semyonov
1f60f80053 Bring back the ERASE_FLASH option support for SettingsEraseFirmware 2011-11-26 22:57:33 +02: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
Michael Schulz
9b32d2f119 little layout fix for channelforms 2011-11-26 13:59:37 +01: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
zedamota
54bd0af16d Merge branch 'next' of ssh://git.openpilot.org:22/OpenPilot into next 2011-11-26 00:07:43 +00:00
zedamota
27de9fcb08 Some tweaks to detection and connection timings. Should fix some issues with "halt". 2011-11-26 00:06:45 +00:00
zedamota
77058807b4 Added some more debug messages to help catch bugs, no that there are any. 2011-11-26 00:04:36 +00:00
zedamota
9eaf09860c Delay the running device info fetching by 1 second. 2011-11-25 23:59:42 +00:00
zedamota
2b94a1538b Make the outputs test function disable when the connection is lost. 2011-11-25 23:50:54 +00:00
naiiawah
3303313908 Fixes for OP-595:
Changed the UAV import of saved settings to not pull in invalid enum
values. Will warn on the dialog that an element of the UAVObject was
invalid and turn off the "save" checkbox. Also will send a qDebug output
showing the UAVObject name and the invalid enum value.
2011-11-25 16:12:38 -07:00
James Cotton
d3cc67f5c4 Make the input wizard detect already inverted channels and preserve them. 2011-11-25 12:30:17 -06:00
James Cotton
fae611a01f Fix bug where clicking back at last screen of input wizard would go back to
main screen and then in future buttons hung around for no reason
2011-11-25 11:30:12 -06:00
James Cotton
60664f6a26 Merge remote-tracking branch 'origin/ccfly/outputchannelform' into next 2011-11-25 10:48:41 -06:00
Corvus Corax
6913d14e82 GCS:Logging: Correctly adhere to replay speed, and check logfile for plausibility/corruption 2011-11-25 15:11:58 +01:00
LM
30b6ae90f3 Added UAVObject sorting to make UAVObj structs align to word-boundaries. Else copying to / from UAVObjects will fail on Cortex M4 with an alignment error, since the proper alignment is not visible to the compiler in a line like this: float* data = UAVObj.Roll; data[2] = yaw; 2011-11-22 23:48:11 -08:00
James Cotton
856f8a9b6c Merge remote-tracking branch 'origin/pt/version-mismach-warning' into next 2011-11-21 07:38:16 -06:00
James Cotton
084b175290 Removed general error message for savign. Places using the save should
reliably provide feedback.
2011-11-21 07:25:07 -06:00
zedamota
a1f3035f15 added tooltip to the pfd stating the current refresh rate 2011-11-20 20:47:37 +00:00