James Cotton
9aba787b02
OP-193: Check for instance read success was backwards
2011-06-23 03:01:37 -05:00
James Cotton
368d5b649a
OP-193: Output mixer should read from up to 6 accessory channels (may add more
...
in future).
2011-06-23 01:47:55 -05:00
James Cotton
493fcaef2a
OP-193 OP-511: Add settings to scale the camera input output range
2011-06-23 00:47:27 -05:00
James Cotton
17fa227d1f
Fixed typo, thanks Os
2011-06-19 16:51:54 -05:00
James Cotton
724016ffb0
When erasing flash at the end start flashing LED to indicate it is done
2011-06-18 14:32:09 -05:00
James Cotton
2218ff6fe9
Change to object template so when they are already registered it doesn't
...
initialize them a second time (which causes the handle to get lost)
2011-06-18 14:21:14 -05:00
James Cotton
5044ea36de
Start initializing objects in the modules that consume them. Shouldn't affect
...
OP yet but not tested.
2011-06-18 14:20:51 -05:00
James Cotton
9720a8444f
Make a few things optional if they are mostly for diagnostics to keep memory
...
down
2011-06-17 21:00:21 -05:00
James Cotton
7d7d03cfd0
OP-193 OP-511: Basic code for camera stabilization. Currently tune range with
...
the servo endpoints and neutral.
2011-06-15 11:18:29 -05:00
James Cotton
144f36dfb7
Merge branch 'bugfix-flight'
2011-06-14 10:02:55 -05:00
James Cotton
404c026188
Patch from Zippe to use cycle timer for CPU monitoring.
2011-06-13 00:24:30 -05:00
James Cotton
0f5fe54329
FlashFS: Should clear the 0 sector when wiping flash chip, not 10 bytes in.
2011-06-11 22:31:51 -05:00
Oleg Semyonov
5d0c7fe42e
Merge branch 'master' into heli_improvements
2011-06-11 12:19:07 +03:00
Corvus Corax
a7841a523a
bugfix: forgot to add header file (pios.posix)
2011-06-10 22:04:54 +02:00
Corvus Corax
47a6643318
PiOS.posix: ported PiOS_CRC to PiOS.posix to fix compilation error on OpenPilot introduced by new dependency
2011-06-10 17:16:15 +02:00
James Cotton
4a59c03b0e
OP-493: Unfortuantely have to change stack alarms for this to work :(
2011-06-07 10:31:40 -05:00
James Cotton
bdc9094975
OP-493 OP-505 OP-511: Make up to 6 accessory channels so some can go from
...
ManualCommand to a camera module and some could go from that camera module to
output (i.e. mixing of inputs to pan tilt with stabilization)
2011-06-06 10:56:31 -05:00
James Cotton
1ecd244aff
OP-493 OP-505 OP-511: Fixed bug with the direct mapping where it looked at throttle curve
...
source instead of directly bypassing
2011-06-06 10:53:55 -05:00
James Cotton
6c6906d61e
OP-493: Switch to using Accessory0:2 to match the InstId
2011-06-05 15:38:58 -05:00
James Cotton
99b3a629a8
OP-493: Force three AccessoryDesired objects to always exist. Routing to
...
Mixing channel now works. However Accessory desired instances do not show up
in GCS.
2011-06-05 15:38:58 -05:00
James Cotton
a1336e4d03
OP-493: Make sure accessory desired is not a single instance object
2011-06-05 15:38:57 -05:00
James Cotton
8ebd6a83d6
OP-493: Add support to bypass the mixer and route accessory data straight to
...
outputs. Warning: This has no failsafes like arming. We should discuss if
this is appropriate.
In addition accessory objects can be routed throught the mixer for collective
or flaperon.
2011-06-05 15:38:57 -05:00
James Cotton
a1d60cb77d
OP-493: Use multiple instances when using multiple accessory channels
2011-06-05 15:38:57 -05:00
James Cotton
1365542103
OP-493: Populate the Accessory Desired from TX
2011-06-05 15:38:57 -05:00
James Cotton
4f47c06547
Merge branch 'saving_crc' into bugfix-flight
2011-06-05 15:37:44 -05:00
James Cotton
624baeda5c
Merge branch 'OP-423_Mathieu_GetSet_Uavobjects' into bugfix-flight
2011-06-05 09:48:22 -05:00
James Cotton
0a56129b35
OP-452: Made the CRC calculation run in chunks to balance efficiency and ram
...
usage, because Stac caught me being lazy :)
2011-06-05 09:05:59 -05:00
James Cotton
56faad594e
OP-423: Make sure to unlock semaphore before returning from error condition
2011-06-05 08:41:21 -05:00
James Cotton
599483d5ac
OP-152: Save CRC for object and header into flash and only load object if CRC
...
matches. Read the flash first bytewise to compute CRC instead of buffering
which is more RAM efficient but very inefficient as it sets up many one byte
SPI transfers.
Also incremented the filesystem magic flag to trigger an automatic flash wipe
on this upgrade.
2011-06-04 18:36:38 -05:00
James Cotton
3e5d02cbaf
OP-152: Abstract the CRC code out of uavtalk to allow it to be reused (PT -
...
feel free to test moving this to the hardware CRC unit)
2011-06-04 18:36:26 -05:00
dankers
3013a092d9
Merge branch 'OP-519_Mathieu_Upgrade_FreeRTOS' into bugfix-flight
2011-06-04 16:42:15 +10:00
Mathieu Rondonneau
7b8d09371b
fixing minor compiler error/warnings when compiling OP with DEBUG=NO
2011-06-03 21:47:43 -07:00
Mathieu Rondonneau
31a06a5ae7
OP-423 add set/get uavobjects functions to access objects fields separately.
2011-06-02 21:18:34 -07:00
Mathieu Rondonneau
6e64a546df
Remove un-used code
2011-06-02 20:21:26 -07:00
Mathieu Rondonneau
071a684248
OP-519 upgrade to FreeRTOS-7.0.1
...
- only affect flight/PiOS (no change for posix and win32)
- tested on recent master (some runtime on CC with GCS)
- the new timer feature is not compiled-in since we don't use it yet.
- NO TEST FLIGHT
2011-06-01 21:46:28 -07:00
Oleg Semyonov
f770870af7
Merge branch 'bugfix-flight'
2011-06-01 14:53:31 +03:00
Oleg Semyonov
6e418735cf
OP-509: fix for ld symbol reference (also fixes build with 4.5.2 gcc)
2011-06-01 00:31:27 +03:00
James Cotton
efe50012cb
Merge branch 'spektrum_rtc_supervisor'
2011-05-29 17:19:48 -05:00
sambas
17fb31a7fa
Spektrum rtc supervisor working, tested on CC and all outputs are activated. Needs review and testing before merge.
2011-05-29 14:52:22 +03:00
sambas
86d02e2d34
Merge branch 'master' of ssh://git.openpilot.org/OpenPilot into spektrum_rtc_supervisor
2011-05-29 10:40:17 +03:00
Stacey Sheldon
5be27fda83
coptercontrol: Increase stack size for system module
...
When running flight software from master (cf74908
), my
config was pushing the system module stack usage to within
16 bytes of its limit. This triggers a stack overflow
alarm which prevents the quad from arming/flying.
This change increases the available stack size such
that there are 72 bytes of stack free (a previously stated
safe margin) when my quad is sitting idle and unarmed on
the bench.
2011-05-29 00:12:26 -04:00
Stacey Sheldon
ac0eb3a5c7
Merge remote branch 'origin/stac_build-opf-image'
2011-05-26 21:29:53 -04:00
James Cotton
66b85acebd
Merge branch 'bugfix-flight'
2011-05-26 20:07:58 -05:00
James Cotton
4bc763dafc
Extend PiOS DELAY to allow querying the time value in uS
2011-05-26 12:19:04 -05:00
Oleg Semyonov
36d2a467e0
manualcontrol: fix copy/paste error
2011-05-26 00:16:36 +03:00
Stacey Sheldon
4da671fc82
build: change firmware files from .opf to .opfw extensions
2011-05-25 00:20:02 -04:00
Oleg Semyonov
66804076b8
build: fix release/Makefile for *.opf files and changed targets
2011-05-24 23:49:51 -04:00
Stacey Sheldon
8bd08e381a
build: add support for EE bank on pipx boards
...
The pipxtreme boards use a sector of the on-board flash
for configuration storage. Adjust the memory maps to
reflect this.
The board_info_blob is also extended to include the EE
bank definitions. This should be used by the pipxtreme
firmware rather than determining it based on chip size.
2011-05-24 01:10:40 -04:00
Stacey Sheldon
91cb294730
build: remove redundant PHONY for size target
2011-05-24 01:10:40 -04:00
Stacey Sheldon
0eb92fad91
build: refactor jtag program and add jtag wipe target
...
Macros for JTAG program and wipe for each target are now
provided in firmware-defs.mk.
The _wipe target for each firmware and bootloader image will
erase either the bootloader (bl_*_wipe) or firmware (fw_*_wipe)
bank.
2011-05-24 01:10:31 -04:00