James Cotton
33e61b4405
OP-557: Make the tools erase menu item attempt to perform a full format on the
...
flash chip first, then fall back to erasing settings via the EraseSettings
object persistence. The later only removes UAVO instances that the firmware is
current aware of, so can create issues when jumping between versions.
2011-08-15 11:37:00 -05:00
James Cotton
35eef66bfe
OP-557: Add a UAVO access method to erase the entire flash chip. Normally not
...
needed by users because if too much changes I change the FS magic and trigger a
wipe.
Possibly the erase should require a particular "magic" object id value to
execute? This would make it harder to do manually through UAVOs though.
2011-08-15 10:33:27 -05:00
zedamota
98f84e472b
Trying to get out of merge hell
2011-08-15 14:12:54 +01:00
James Cotton
db9c73db45
Get SPI closer to working. The flags in the pios_config should match the
...
stream number, not channel number. Also DeInit DMA section in the init process
which makes debugging and init behavior more reliable.
2011-08-15 04:47:53 -05:00
James Cotton
86b652bbab
Merge branch 'next' into camera_stabilization
2011-08-14 18:07:57 -05:00
zedamota
e736b17cc4
Merge remote-tracking branch 'remotes/origin/next' into GCS_ChangesToUI-RuntimeCFG
...
Conflicts:
ground/openpilotgcs/src/plugins/config/config_cc_hw_widget.cpp
ground/openpilotgcs/src/plugins/config/configgadgetwidget.h
ground/openpilotgcs/src/plugins/config/configstabilizationwidget.cpp
2011-08-14 15:48:16 +01:00
Oleg Semyonov
2f7f920ef3
gcs: (uploader plugin) few firmware info string and icon changes
...
Also it looks like the date check clause doesn't work, needs to be checked.
2011-08-14 17:25:52 +03:00
Oleg Semyonov
ba58ec7e08
gcs: (uploader plugin) replace red warning icon with less serious yellow triangle
2011-08-14 17:25:50 +03:00
Corvus Corax
b75653a226
PiOS.posix: small corrections and bugfixes to make pios_com_udp work correctly. Telemetry works now.
2011-08-14 14:21:54 +02:00
Corvus Corax
5b240a2675
PiOS.posix: port pios_udp and pios_com to "next"
2011-08-14 14:21:54 +02:00
Corvus Corax
8a47ade16b
flight/Libraries/fifo_buffer: Use platform independent <stdint.h> instead of "stm32xxx.h" to get definition of intX_t types
2011-08-14 14:21:54 +02:00
James Cotton
c5ed82086d
Configure the interrupt information before enabling. Still looping in IRQ so
...
configuration needs work.
2011-08-14 02:00:52 -05:00
James Cotton
02d5e27e93
Got SPI IRQ from mainboard firing
2011-08-14 01:44:44 -05:00
James Cotton
80c2d45d93
Fix the BMP085 interrupt handler and get it producing data. Driver needs some
...
work to abstract away the actual calculation of altitude from pressure and
temperature.
2011-08-13 20:49:07 -05:00
James Cotton
f766ba47aa
Increase the size of the eventdispatcher task and lower the maximum queue size.
2011-08-13 19:21:58 -05:00
James Cotton
a2b76adc33
Attitude: Do not start attitude estimation until accel data appears. This
...
fixes the NaN when AttitudeSettings not available.
2011-08-13 18:53:42 -05:00
James Cotton
ca413415a0
Code to make openocd 0.5.0 work. I'll keep this branch rebased on next.
2011-08-13 18:03:49 -05:00
James Cotton
62f51fc92d
Some improvements to the HMC5883 driver. Still getting funny values but I
...
suspect the chip at this point.
2011-08-13 11:20:32 -05:00
James Cotton
13e5f4123a
Reading gyro registers directly working.
2011-08-13 08:33:46 -05:00
James Cotton
e7990f5d43
Got a hint of some data with this code :)
2011-08-13 07:13:43 -05:00
James Cotton
f82e5dde33
Fix the EXTI IRQ handlers
2011-08-13 07:13:21 -05:00
James Cotton
e1f7a5003d
Fix up SPI DMA streams
2011-08-13 04:54:19 -05:00
James Cotton
8929e2f359
Update some of the DMA settings
2011-08-13 02:46:13 -05:00
James Cotton
77cca9ba30
Move EXTI handlers into other drivers
2011-08-13 01:29:17 -05:00
James Cotton
6d018c046e
Get BMA180 working. Need to move exti stuff into it until pios_exti
...
implemented properly
2011-08-13 01:10:33 -05:00
James Cotton
5619e33292
Bootloader now jumps to functioning code for INS. Consistent with AHRS code.
2011-08-12 22:52:47 -05:00
James Cotton
e9ca5c15f9
UPGRADE OPENOCD!!!!
...
To support the F2 and F1 you must upgrade to OpenOCD 5.0
2011-08-12 21:39:29 -05:00
James Cotton
6529b8360f
Trying to get linker system working for INS
2011-08-12 21:28:02 -05:00
dankers
69f8aac967
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
2011-08-13 06:12:08 +10:00
dankers
65cb05e212
hhrhhr's fix for modelview gimbal lock, thank you!!
2011-08-13 06:08:07 +10:00
James Cotton
e993fae463
Fix bootloader
2011-08-12 04:32:02 -05:00
James Cotton
e57f774bb8
F2 INS compiles now
2011-08-12 04:30:14 -05:00
James Cotton
1d1f351233
Pios Delay: Add function for measuring time difference between two cycle counts
2011-08-12 04:29:53 -05:00
James Cotton
b3b4fcd007
Fix linker script and get rid of dead code
2011-08-12 03:44:55 -05:00
James Cotton
f247112090
PiOS F2: Move IMU3000 to device dependent :(. Now they all are. Need to
...
abstract as much as possible out since init is almost identicalc and protocol
COULD be device independent.
2011-08-12 03:38:45 -05:00
James Cotton
8c1dd7b929
Make BMP085 driver device dependent and update to new driver style.
2011-08-12 03:38:45 -05:00
James Cotton
9d76efa2aa
Move BMA180 driver to common architecture style.
2011-08-12 03:38:45 -05:00
James Cotton
1dc08e5cf7
F2 PiOS: Small fix to hmc5883 driver
2011-08-12 03:38:44 -05:00
James Cotton
ba413d5dad
F2 StdPeriph: Make the StdPeriph take in config parameters as const.
...
Unfortunately they don't do this upstream :(
2011-08-12 03:38:40 -05:00
James Cotton
ef0cdae622
PiOS F2: Remove clock initialization from usart since it is in pios_sys.c
2011-08-12 02:28:02 -05:00
James Cotton
6310f46705
HMC5883: Update driver for F2. Move to STM32F2xx directory since it is device
...
dependent. Abstract configuration out of board.h file into a standard board.c
structure.
2011-08-12 02:26:51 -05:00
James Cotton
784c7b2646
Merge branch 'next' into ins
2011-08-11 21:52:10 -05:00
James Cotton
ec4e23aff9
Camera Stabilization: Bound outputs to [-1,1] although this should be redundant
...
with checks in actuator.
2011-08-11 14:34:38 -05:00
James Cotton
98346186e3
The camera desired object can now be a single instance. I think it will be a
...
while before we have multiple cameras :) although it's easy to extend when we
do.
2011-08-11 14:07:24 -05:00
James Cotton
923e33195b
Merge branch 'next' into camera_stabilization
2011-08-11 12:06:50 -05:00
James Cotton
39fcc5bde3
Revert "Telemetry: Remove a processObjectQueue() command that was triggering
...
warnings". Unfortunately this causes problems getting objects quickly on
linux. A complete fix to the connection speed issue on all platforms may
take some work.
This reverts commit 74d1762e4c
.
2011-08-11 12:05:52 -05:00
James Cotton
e56dbfdb24
CameraStabilization: Bad memory error that Sambas caught
2011-08-11 11:02:12 -05:00
James Cotton
681444184c
CCHWSettings: Add help button in
2011-08-11 10:58:22 -05:00
James Cotton
669634782f
UI: Two aesthetic issues on cc_hw_settings.ui:
...
1) Don't override fonts when possible. It makes the layout inconsistent. We
should come up with a stylesheet/system wide way for things like this.
2) Left align the telemetry speed field instead of making it full screen width
3) Move the "Settings apply after restart" message out of the button row. This
makes the buttons not in the same location between panels.
2011-08-11 10:46:54 -05:00
James Cotton
508fdae125
On connect/disconnect load the .png HwConfig image. Drop the .svg from the qrc
...
file for consistency.
2011-08-11 10:32:53 -05:00