peabody124
0d567f4e4b
OP-14 I2C: Don't log a NAK as an error and also after NAKs seem to get an event
...
from the stop bit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2466 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:02 +00:00
peabody124
31919241b8
OP-14 I2C: Adding new event to the ignore list
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2465 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:10:59 +00:00
peabody124
68536d2fd1
OP-14 I2C: Throw away 0 event in error handler
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2464 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:10:56 +00:00
cwabbott
3fe7fa0df4
PyMite: Change posix Makefile to use openpilot_sitl platform.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2463 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 00:04:16 +00:00
cwabbott
7f8ea5e55a
PiOS.win32: updates to get it compiling again.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2462 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 00:00:41 +00:00
edouard
64cb4024c8
OP-278 More thorough checking.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2461 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 23:20:56 +00:00
edouard
85e16cf633
OP-278 Prevent the user from entering red/yellow/green ranges inconsistent with the overall range.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2460 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 23:02:18 +00:00
peabody124
c2bdf624e8
OP-269 PIOS/ADC: Previous ADC driver update changed the PCLK2 divider for all
...
projects which messed up a timer on OP and serial on PipX. Now this is only
changed for AHRS. Ideally wouldn't even change for that but then ADC runs too
fast and we get a lot more CRC errors for dealing with all that data.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2459 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 23:00:48 +00:00
edouard
b3ca037308
OP-277 Update all files to use a BOARD_TYPE and BOARD_REVISION scheme through the whole codebase.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2458 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 20:41:55 +00:00
pip
ddaa306248
Removed ADC usage - this appears to fix the pipx serial port problem.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2457 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 19:32:53 +00:00
FredericG
c2613ffa88
Spaces->tab no code change
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2456 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 18:49:27 +00:00
FredericG
3f1ad074df
OP-246 Configuring arming/disarming; using field to ManualControlSetting to define which channel is used for arming or to disable arming
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2455 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 18:17:30 +00:00
FredericG
1ff3a2a900
OP-246 Configuring arming/disarming; added field to ManualControlSetting to define which channel is used for arming or to disable arming
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2454 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 18:15:47 +00:00
pip
aedf731c07
Temporary override settings saved in flash.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2453 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 17:40:21 +00:00
peabody124
04a00c7327
OP-269 PIOS/ADC: Change the initialization code to work well when changing
...
oversampling
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2452 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 16:02:53 +00:00
peabody124
ad7a6e6071
OP-269 PIOS/ADC: Only enable the half and full conversion flag for the double
...
buffering
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2451 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 16:02:50 +00:00
corvus
75a6b406cd
OP-273 - UAVTalk - prevent object update-bursts caused by involuntary synchronization in case of long delays or time-jumps
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2450 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 15:28:49 +00:00
corvus
115a581d7c
PiOS.posix: porting some of the recent updates to PiOS.posix - compiles now
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2449 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 15:17:57 +00:00
corvus
6c3b887ae4
fixed line endings - mixed LF and CR+LF present - please keep it to either one of those or my editor gets crazy
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2448 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 11:24:43 +00:00
corvus
bbe013fc82
fixed line endings - mixed LF and CR+LF present - please keep it to either one of those or my editor gets crazy
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2447 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 11:20:52 +00:00
corvus
b4fdd67b4b
fixed line endings - mixed LF and CR+LF present - please keep it to either one of those or my editor gets crazy
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2446 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 11:19:13 +00:00
cwabbott
4181d1de05
PyMite: Oops, delete some autogenerated files that are not needed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2445 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 03:24:43 +00:00
peabody124
0259b6d1f1
OP-269 PIOS/ADC: First part of conversion to driver structures
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2444 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:39 +00:00
peabody124
ab75e8117f
OP-265 CC: Getting GPIO lines working
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2443 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:34 +00:00
peabody124
d4460aa97f
Deleting unused file from svn
...
Conflicts:
flight/AHRS/ahrs_adc.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2442 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:31 +00:00
peabody124
33f3500e64
CC-3: New module for copter control
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2441 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:27 +00:00
peabody124
81b0c3fdb6
OP-269 PiOS/ADC: Moved AHRS ADC code to PiOS and made all the projects use it
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2440 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 02:45:22 +00:00
ligi
5c258a8476
unify the diffrent styles to mark units as not used http://forums.openpilot.org/topic/2811-uavtalk-code-generation/ and unify Degree<>degree
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2439 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 01:45:47 +00:00
ligi
3d3023e9ad
new command line options for generator; print all used units on verbose ; new makefile target to test xml files
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2438 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 01:45:42 +00:00
ligi
23f0cab0c3
remove autogenerated header files + one forgotten cpp file & .gitignore them
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2437 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 01:45:37 +00:00
cwabbott
24a058c8c7
PyMite: add a new 'openpilot_sitl' platform which allows for stdio to the console and make it the default platform for win32 SiTL.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2436 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-15 17:10:10 +00:00
edouard
1f7f9486c3
Changed logging messages to be more generic and consistent if Uploader gadget used on PipX.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2435 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-15 17:08:47 +00:00
osnwt
290c9c538f
Replace decimal OBJID representation in auto-generated headers by hexadecimal (taking advantage of new UAVObjGenerator). It makes easier to read and compare them with files on SD card. This does not change OBJID values and should be completely transparent.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2434 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-15 17:00:17 +00:00
edouard
33ccd49c04
Added support for CopterCOntrol and PipX to the uploader gadget.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2433 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-15 15:54:04 +00:00
sambas
f0b161f7b9
Updated my workspace files to support all boards known today
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2432 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 15:45:08 +00:00
zedamota
ad0b3e911d
OP-268/PipX Bootloader - Changed Timers for MD device, auto memory space fetching (as per people request ;)). Stripped unused functions to reduce size.
...
TESTED WORKS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2431 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 15:33:24 +00:00
pip
3d8edce5ee
More speed improvement to the AHRS_ADC_downsample_data() function. Removed a bypassable multiple inside the inner loop.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2430 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 12:40:29 +00:00
pip
403c9ea2da
Improved AHRS_ADC_downsample_data() efficiency/speed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2429 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 12:31:34 +00:00
peabody124
ad7a4cded0
OP-265 PIOS/USB: Put USB buffer size in the board file
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2428 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 02:15:19 +00:00
peabody124
4528afe4de
Update the makefile to allow compiling the PipX and XCode project
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2427 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:48:50 +00:00
peabody124
94ff276522
OP-265 CC: Tweaking objects included and the memory requirements
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2426 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:49 +00:00
peabody124
8a32d88b10
OP-265 CC: More work to get it running
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2425 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:47 +00:00
peabody124
de51286524
OP-266: Rename openpilot.c to coptercontrol.c for CC
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2424 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:44 +00:00
peabody124
c59a1ff018
OP-265 OP-266: FreeRTOS configuration per project because of available heap
...
size (may eventually need to be per revision if we get bigger ram). Typo in a
the ifdefs to get allow disabling SDCARD
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2423 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:42 +00:00
peabody124
ea851803af
OP-266 CopterControl: Continue trying to strip out as much as possible to get
...
it to fit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2422 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:39 +00:00
peabody124
f0c36b13a4
PiOS/USART: Use the buffer size defined in the board file
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2421 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:37 +00:00
peabody124
7c9b3b3d69
OP-265 AHRS: New file locations
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2420 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:34 +00:00
peabody124
2c335edd7f
OP-266 CopterControl: For now no USB support for code size
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2419 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:32 +00:00
peabody124
79caad654b
CopterControl: Don't need altitude sensor support
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2418 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:30 +00:00
peabody124
9cf3ee9fb3
OP-267 Flight/UAVObjectManager: Make all references to DFS function depend on
...
PIOS_USD_SDCARD. However, this needs to be cleaned up and abstracted out of
the UAVObjectManager who shouldn't care about the storage layer.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2417 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:27 +00:00