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

1507 Commits

Author SHA1 Message Date
osnwt
31af358f53 Some cleanup of uavobjects.pro to be more clear and concise.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2582 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 12:16:43 +00:00
sambas
0fa8589fc3 enable release/debug separation, only release target makes standalone runnable build.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2558 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 07:14:10 +00:00
osnwt
eae0ce3df0 Finally fixed uavobjects.pro for Windows Qt-Creator users. Please verify on Linux/Mac.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2556 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 21:42:01 +00:00
cwabbott
38458856d2 Fix error in matlab template path.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2554 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 20:06:56 +00:00
zedamota
6b38f84afe It seems that after the Big Mess its getting difficult to make things work for everyone
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2553 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 19:46:34 +00:00
cwabbott
8cddf2913d Only change COPY_DIR to cp -r -f if QMAKE_SH is defined, consistent with win32-g++ mkspec.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2550 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:59:25 +00:00
pip
fadcbbbe6c Cleaned up qDebug() output when manually moving the home icon on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2547 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:24:24 +00:00
sambas
21f190bbca fixes for Big Mess (tm)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2545 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:13:36 +00:00
pip
0bdea195c1 Fixed the HomeLocation setting to update ALL the HomeLocation UAVObject values when the user manually moves the home icon on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2543 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:05:45 +00:00
pip
0a2a59baa4 Changed the main function parameter format.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2542 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:03:59 +00:00
pip
0579de11e3 Can now manually move the HomeLocation icon on the map, it updates the uavobject with lat, lon & new Be values.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2541 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 13:00:53 +00:00
cwabbott
f993a7a0c7 Fixed ground.pro build system by making uavobjects.pro run qmake on openpilotgcs.pro as discussed in the forums. Now running make should handle uavobject dependencies correctly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2539 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 04:00:51 +00:00
osnwt
6fbd8397c5 Added comment for Qt-Creator users to keep all info in one place.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 22:54:48 +00:00
osnwt
08d9107220 Fix some Windows things for Qt-Creator users. Please verify that other systems still are happy with it.
It is not yet fully functional as a top-level Qt-Creator project file (some dependencies need to be fixed).

So Qt-Creator users, please use the following sequence to build all for the 1st time:
1) Run qmake in ground (generated gcs Makefiles lack uavobject targets - known problem);
2) Build in uavobjgenerator;
2) Build in uavobjects;
3) Run qmake in ground again (IMPORTANT - now correct gcs Makefiles will be generated).
Now you may build openpilotgcs. If uavobjects are added/removed, you need to repeat all steps after uavobjects.pro modification.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 22:26:01 +00:00
stac
cb234d324c build: Add meta-project for all software needed by GCS
This meta-project allows qt-creator users to open
and configure a single project and to build all
required software to produce a GCS.  This includes
regenerating all uavobject output.

NOTE: To use this meta-project, you MUST perform these
steps once for each SVN checkout:
 - Open <top>/ground/ground.pro in qt-creator
 - Select the "Projects" tab
 - Under Build Settings/General heading, click "Show Details"
 - Activate "Shadow Build"
 - Set your Build Directory to <top>/build/ground

<top> = The full path to the base of your svn tree which should
        contain "flight", "ground", etc.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2531 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:41:53 +00:00
stac
de45556ec7 build: Add a pseudo project to force building of uavobjects
This will be used by a master project for qt-creator to
allow it to automatically generate the uavobject output
for qt-creator users.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2530 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:41:51 +00:00
stac
a0cbe21eb3 build: move openpilotgcs output under <top>/build/ground
This will allow us to create a simpler project file
for those that use the qt-creator gui.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2529 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:41:48 +00:00
stac
7195862d77 build: Move openpilotgcs into its own subdirectory
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:40:26 +00:00
stac
b736b2a956 UAVObjects-java: move java output files into synthetic dir
Move generated Java UAVObject output into the common synthetic
tree for all UAVObject output.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2527 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:48 +00:00
stac
5e6d87b2db UAVObjects-xml: Move UAVObject definitions outside of gcs dir
The UAVObject definition (.xml) files are used by both the
GCS build as well as the flight software builds.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:43 +00:00
stac
205e09a8d1 uavobjgenerator: Move generator out of the gcs subdir
The UAVObject generator is intended to be a standalone tool.
As such, it doesn't belong under the openpilotgcs directory.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2525 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:37 +00:00
stac
b3b98347ec UAVObjects-matlab: Move generated files into build dir
Also note that the command line option to the uavobjectgenerator
binary for matlab has changed from "mathlab" to "matlab".

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2523 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:30 +00:00
stac
f7a3cfc475 UAVObjects-python: Move generated files into build dir
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2522 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:26 +00:00
stac
ce64ea17a0 UAVObjects-gcs: Move generated files into build dir
Also fixes the include paths in the plugins tree.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2521 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:22 +00:00
stac
2d53902148 UAVObjects-flight: Move generated files into build dir
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:15 +00:00
cwabbott
dbcae23e07 Ground: fixed compile error in opmap plugin, and fixed problem with directory copy command.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2519 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 14:16:45 +00:00
edouard
7527811a25 OP-263 Re-enabled the logging widget controls. Not working perfectly, but not worse than before either... Will work on this in a separate ticket. This commit should close this issue.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2518 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 08:37:25 +00:00
pip
9da3ccc708 Includes example usage of the WorldMagModel module.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2517 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 20:49:51 +00:00
pip
b1ed3c0381 Added the WorldMagneticModel calculation module into the GCS utils.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2515 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 19:11:40 +00:00
sambas
434fac66fc OP-56: Logging autogenerate default filename
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2514 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 18:20:18 +00:00
peabody124
11803c2729 OP-295 SystemTemp: Make int8 since some people live where it's too cold.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2512 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 17:24:27 +00:00
peabody124
bcdd87689a OP-295 Modules/SystemMod: Get the internal CPU temperature sensor and store in
system stats when available

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2511 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 17:18:24 +00:00
pip
ba0a089ad4 Fixed widget disabling/enabling when main telemetry connects/disconnects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2509 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 16:52:20 +00:00
pip
c8b495a5c2 Added telemetry connect/disconnect detection to move map to home location on connection.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2508 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 16:51:24 +00:00
pip
0d912d130d 3rd attempt to add files!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2506 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 13:09:04 +00:00
pip
aec73a209d 2nd attempting adding pipx config code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2505 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 13:05:38 +00:00
pip
21ea998327 Removing experimental code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2504 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 12:39:20 +00:00
pip
4b2d8078d5 Fixing a slight cock up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2503 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 12:38:06 +00:00
pip
50b897c015 New PipXtreme configuration plugin .. currently not enabled or finished.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2502 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 12:36:05 +00:00
pip
937ca587bb Added PipXtreme image
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2500 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 10:15:38 +00:00
edouard
66e9dcb04e OP-263 Sorry, forgot update to connection manager in the process.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2497 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 22:46:06 +00:00
pip
2dadd41adf Removed pipx entries
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2496 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 22:41:10 +00:00
edouard
c37403a480 OP-263 Scopes now only run when telemetry is connected.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2495 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 22:30:49 +00:00
edouard
c0218be369 OP-263 Update Logging plugin to prepare the scopes auto stop/start. Logging replay is now done through the connection manager, as a virtual device. Pressing "Connect" prompts for the file to be replayed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2494 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 22:28:38 +00:00
peabody124
ecfa9c41cd OP-284 UAVObjects: Change the order of the alarm enum so uninitialized doesn't
set the warning light.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2493 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 22:06:29 +00:00
pip
c62ad067b7 Removed PipXtreme entries
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2492 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 20:48:14 +00:00
pip
a0b1d986e4 Minor changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2490 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 16:19:09 +00:00
pip
24a77b47a2 Updating PipX configurator to use the qextserialport .. doesn't compile though :(
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2489 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 13:24:31 +00:00
pip
2bb935b223 Starting seperate PipXtreme Configuration Utility .. for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2488 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 11:44:33 +00:00
pip
36c9bb3983 Removed PipX UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2487 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-20 10:33:08 +00:00
pip
4f5bfead3b Stopped slider going to maximum if the maximum value is manually changed .. way too dangerous if motor outputs enabled
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2483 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-19 18:15:03 +00:00
edouard
94bf080009 Remove export symbols from the serial connection plugin since it does not export symbols to be used by other plugins. Tested on Win7 and Linux, please tell if this breaks anything.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2481 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-19 06:38:25 +00:00
vassilis
d7fd8a3bcd Flight/FlightPlan: Enable Python VM and test flightplan execution. From now on a Python executable needs to be in the system path as it is used in the Makefile.
A test script is statically linked (will eventually be uploaded by the GCS and stored in the VM), it can be found under: Modules/FlightPlan/flightplans/test.py

To start the script send the FlightPlanControl object with the Start command, to stop send the Stop or Kill commands.

Next release will be the OpenPilot python libraries and access to UAVObjects from the script.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2480 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-19 03:34:01 +00:00
edouard
30d8fcd2b0 OP-279 Checked in a fix for sound issue on Windows: should now be OK on both Windows and Linux. Someone either send me a mac, or test on their own to confirm it's ok on that platform too!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2477 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-18 18:05:51 +00:00
peabody124
18deba48c1 CC-6 PIOS/ADXL345: Helper functions for the ADXL345 chip. Need to add
semaphores for sharing the bus between the flash chip and this though.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2473 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 08:45:37 +00:00
ligi
2e3c20b12f bring back reporting of the size of the objects + sum of sizes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2471 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 07:51:53 +00:00
peabody124
21b4e55029 OP-14 OP-16: I2C Improvements
1) Added nack counter monitoring
2) Made timeout for getting semaphore in I2C user space code use the one from
driver and record timeouts.  This does not influence timeouts in the non
FreeRTOS case
3) Remove case block from the error handler so that all bus errors reset the
i2c interface

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2469 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:12 +00:00
peabody124
8959007a38 Flight/Actuator: Log the longest update of motors in ms, not ms * 10
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2467 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:05 +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
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
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
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
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
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
peabody124
940792db5c OP-265 CopterControl: Fork main OpenPilot directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2416 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:24 +00:00
peabody124
982f2dd8af OP-261 Clean up GuidanceSettings to be more intuitive
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2414 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:52:00 +00:00
peabody124
c141b02339 OP-261 Drop PositionPID mode from GuidanceSettings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2413 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:51:57 +00:00
peabody124
aa8d9eb178 OP-261 Magic Waypoint: Accel feedback for position hold
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2412 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:51:54 +00:00
ligi
80bd656c22 removing autogenerated python&matlab/uavobject files with @ref http://forums.openpilot.org/topic/2811-uavtalk-code-generation/
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2409 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 22:17:38 +00:00
ligi
7addbc6c9d remove last autogenerated file for gcs/uavobjects @ref http://forums.openpilot.org/topic/2811-uavtalk-code-generation/
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2408 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 22:17:34 +00:00
zedamota
693c2219ec OP-21/Upload Plugin - Change HW ID to 16bits. Should still be compatible with the old version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2400 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 16:27:10 +00:00
zedamota
1f89ee1865 OP-21/Bootloader - Change HW ID to 16bits. Should still be compatible with the old version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2398 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 14:36:32 +00:00
ligi
3c8ee7a9d0 remove autogenerated gcs/uavobject files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2395 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 09:36:08 +00:00
ligi
dbc5d26605 splitting uavobject generation by language and cleanup:
- all languages to generate where processed everytime. In most runs only flight and/or gcs was needed but also matlab and python code was generated - now uavobjectgenerator has command line arguments to specify which languages to build and there are also new targets in the makefile.
 - generation code for all languages was in the parser section - was bit of a mess in general - now all splitted
 - its now more easy for new devs to add a new language or find relevant code for the language he is interested in

initial java generation:
 - uavobjectgenerator can now generate java code for uavobjects

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2392 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 02:26:00 +00:00
edouard
cb2aa1d389 OP-254 Do not reset accel bias before running the calibration, only correct it: should improve precision and lead to better results (and improving each time the procedure is launched again).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2391 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 21:21:06 +00:00
edouard
b7cb562009 OP-262 GCS: new "About Authors" dialog which displays the contents of the CREDITS.txt file. We should actually have a makefile script which takes credits.txt, parses it and updates the CREDITS.html file whenever we compile the GCS, to enable a nicer display of the authors.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2390 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 21:14:35 +00:00
edouard
49718aabf4 Added the Gaui and Scorpion 3D models, and updated the default settings file accordingly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2389 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 12:54:19 +00:00
edouard
dda5d55ffa Improvements in suspendPolling/resumePolling in the connection manager even
if a connection plugin does not have devices connected when called.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2388 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 07:43:02 +00:00
edouard
67fb65b984 Add a msleep in the SSP loop to avoid taking 100% CPU when waiting for commands.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2386 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 00:15:44 +00:00
edouard
809f4f7e07 Started updating the connection manager to tell the connection plugins to poll or not in a central location. Updated the rawhid and serialconnection plugins to reflect this.
More updates to uploader gadget.

Updated the telemetrymonitor and telemetrymanager to set the GCS connection status to "Disconnected" when the user click on "Disconnect" (was not done before, and lead to confusion...)



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2385 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 00:05:51 +00:00
edouard
3d7407a82a Latest improvements to GCS Uploader gadget...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2384 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 20:41:52 +00:00
edouard
c6e99a5c4f OP-260 Remove @Ref tags in the tooltips, thanks for pointing this out.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2380 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 09:02:57 +00:00
edouard
f7b5ebdcc5 Further fixes to Uploader gadget
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2375 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 21:26:26 +00:00
edouard
7aab98f3ee More checks on the uploader gadget, to prevent potential crashes in case something goes wrong when halting the board.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2373 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 20:12:12 +00:00
edouard
e6cf9bfece OP-255 Only listen to autopilot connection/disconnection events, not to user disconnect events. There is a (by default) 8 second delay between a user disconnect and an autopilot connection lost event.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2370 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 09:00:44 +00:00
peabody124
3abcfc9608 OP-251 UAVObject/WatchdogStatus: Sorry forgot files earlier for monitoring what
triggered previous watchdog resets

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2369 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 05:42:57 +00:00
peabody124
bbbd9a10e3 OP-14 I2C Diagnostics: Improve the logging so that the events going into FSM
are logged, and separately the erirq and evirq logs are exported

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2368 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 05:42:53 +00:00
peabody124
b173d74821 OP-237 I2C ESC support. This _will_ require you to reconfigure your
ActuatorSettings although for PWM aircrafts it should be done exactly as before

Actuator: Store the update times and maximum update time

OP-14 I2C: Start tracking short history of events and states in driver for
logging
OP-237 Flight/Actuator: Support for I2C based ESCs

OP-237 MK_ESC: Send all four motors as one atomic transfer

OP-237 Flight/Actuator: Allow channels to be mapped to MK I2C interface.  Currently
mixer channels are either PWM or MK but in the future this will change to
support more than 8 channels.

OP-16 PiOS/I2C: Further work to try and make I2C more stable, mstly special case
handline in IRQ

OP-237 I2C ESC: Support for Astect 4 channel ESCs

OP-237: When the I2C Actuator write update fails track this

OP-237 Actuator Settings: Change the way motor types are selected to keep that
information more appropriately within ActuatorSettings instead of MixerSettings

Also make motors stay at or above neutral when armed and throttle > 0

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2366 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 01:11:44 +00:00
peabody124
ed11e64bb2 OP-251 Watchdog: Get rid of the old extra watchdog module and instead have
tasks directly update a flag for each module (which they register) and when all
flags set clear the watchdog then.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2365 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 00:16:30 +00:00
vassilis
007f7cbea0 GCS/FlightPlan: Create FlighPlan module related objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2363 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 22:28:39 +00:00
edouard
f7464557f2 Forgot to send the final version of the barometer (default set)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2362 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 22:19:10 +00:00
edouard
79f72bda47 OP-248 Enable serial device polling on Windows too as automatic detection seems to be unreliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2354 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 18:43:03 +00:00
osnwt
9827746847 GCS/Windows installer: fixed working directory in shortcuts, added shortcut comments.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2353 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 14:13:48 +00:00
edouard
30b165c302 Update to Dials widget to check for NaN values in UAVObjects: a NaN can cause the GCS to freeze inside the dial repaint operations. This will ensure that the GCS does
not freeze if things go south on the firmware.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2352 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 13:11:32 +00:00
edouard
79c4ba60f6 Explicitely close the serial port upon DFU object deletion.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2351 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 09:53:56 +00:00
vassilis
1bdc03bb1c GCS/UAVObjects: Added TaskInfo object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2348 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-08 23:40:49 +00:00
edouard
d6cb01edf2 OP-244 Attempt to solve the issue. Cannot reproduce on my system, but I have made a few changes to declare the OP_DFU::Status using the Q_ENUMS macro.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2347 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-08 13:22:15 +00:00
edouard
05de5492d9 Uploader gadget: on Reset, go through a board detection too, since it seems to be necessary to get a proper reboot of the ARHS too. Makes reboot over telemetry link work too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2345 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-07 20:54:34 +00:00
edouard
c4b6b16181 OP-242 : Fix notify crash on Linux. Additional check on phono media object in the playback callback to avoid race conditions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2344 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-07 14:59:54 +00:00
edouard
489fde5357 OP-233 Further work on Temperature compensation for gyros (GCS config). Everyting is in place to sample data and compute the regression.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2343 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-06 23:43:03 +00:00
edouard
31d9230ad7 OP-233 Mock up of Gyro drift calibration interface added. Sliders will autoupdate when the temperature changes, and will
compute the new drift value, with a button to update it. Will probably add an icon indicating whether the temperature difference
is large enough to compute a reliable drift.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2340 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-05 21:26:42 +00:00
edouard
02c261462d OP-233 Start reorganizing the UI for AHRS config, since it is becoming way to busy with all the calibration capabilities. Now using tabs, let me know if you like it. This is a work in progress.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2339 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-05 20:39:23 +00:00
edouard
609b244007 OP-234 Reset button now works again. Slightly tighter timing on board detection, if you get issues on Windows or MacOS, please let me know!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2330 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-04 22:03:27 +00:00
osnwt
b463bd2a09 GCS: Fixed config gadget description and some cleanup in *.pluginspec. No code changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2329 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-04 21:52:21 +00:00
peabody124
30b122afa9 GCS/Config: Edit tab stop order to be more intuitive
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2328 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-04 17:30:09 +00:00
corvus
a59d08b7af AHRS: Support for Linear Temperature Compensation Factors for Gyroscope X,Y,Z
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2327 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-04 00:54:31 +00:00
martin
a0bf048090 Removed the default settings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2326 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-03 21:26:09 +00:00
corvus
5b9a50127f GCS: UAVObjectBrowser: Use new widget for editing floats that supports scientific notation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2325 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-03 15:29:02 +00:00
osnwt
b826d4e51f Ground: Windows NSIS multilingual installer script and resources. To build the installer one needs an Unicode NSIS package and optionally SubWCRev utility (part of TortoiseSVN client, also available separately) to embed some interesting revision info into the installer executable. Please help with translations of strings_xx.nsh (utf-8 files). Only English and Russian are currently translated. Initial installer language is detected automatically but can be changed by user. Some hooks to the GCS should be done to preset a language on the 1st run.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2324 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-03 03:13:09 +00:00
edouard
82f092f115 Serial plugin: small change to wait long enough for the Unix serial polling thread to exit - removes one warning on the logger.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2322 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-02 22:22:28 +00:00
edouard
6091f0be63 Bugfix for dials text and minimum range.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2321 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-02 15:11:37 +00:00
edouard
0e43a0af5b Updated the default OpenPilotGCS.ini to reflect the latest dial additions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2320 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-02 15:11:14 +00:00
edouard
9b61879146 New Barometer dial for the 'default' set. This one uses an experimental feature of the dials plugin, which enables the display of the value on the dial on top of the needle, let me know if you like it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2319 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-02 14:49:17 +00:00
edouard
035c035f5b Added the barometer from the Deluxe set into the share directory. The default .ini file will be updated once all my work on analog dials is done.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2318 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-02 12:17:22 +00:00
osnwt
87b3d482d5 Ground: Some housekeeping for Windows packaging. No other changes. See also OP-92, OP-93, OP-221.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2317 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-02 00:32:09 +00:00
osnwt
2ea7f39b87 Moved remaining Wix installer files under Wix subdirectory. Also deleted DefaultSettings folder with files (they are not required anymore since included into the Core plugin as default settings).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2316 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-01 20:54:13 +00:00
edouard
0a554f79da Raw HID plugin: clean up debug output so that at least it does not use multiple lines.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2315 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-01 20:41:43 +00:00
edouard
a552addbf7 Updated the serial plugin to poll every 2 secs for new Serial ports on MacOS and Linux, where we don't get system events whenever a Serial/USB adapter is plugged in. No change
on windows where the OS already told our plugin about such events. Polling thread is lightweight, no worries...



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2312 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-30 23:00:49 +00:00
martin
f25f4ef8bb OpenPilot.msi renamed to OpenPilotGCS.msi
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2310 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-29 17:54:24 +00:00
martin
b7e49c34d5 Wix installer scripts moved to subfolder
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2309 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-29 17:39:39 +00:00
edouard
a8bfce8418 Improved Uploader gadget user feedback so that operation success/failure is easier to notice.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2307 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 21:27:21 +00:00
andrew
eda227ec8b Added BatterySettings UAVObject in preparation for updates to PowerSensor code.
As this changes UAVObjects both flight and GCS software will need to be recompiled to stay in sync.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2303 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 05:13:19 +00:00
andrew
76be2b991b Update to FlightBatteryState UAVObject in preparation for updates to PowerSensor code.
As this changes UAVObjects both flight and GCS software will need to be recompiled to stay in sync.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2302 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 04:28:39 +00:00
edouard
dbd083caee OP-227 Fixes to support for translation. Tested OK on my system (Linux)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2299 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 22:09:25 +00:00
edouard
b8af9da689 OP-227 Basic implementation of support of language override in the GCS. The new preference is in the Environment/General dialog.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2298 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 22:02:36 +00:00
andrew
39cb30d56f Update to SystemAlarms UAVObject.
Added:
Battery
Flight Time
I2C
GPS
Also added new alarm state of "Uninitialised"

no code to set these alarms yet.

As this changes UAVObjects both flight and GCS software will need to be recompiled to stay in sync.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2294 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 07:25:52 +00:00
andrew
bd5316eda0 Change to ignore the uninitialised state of a system alarm.
This is in preparation for a future change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2293 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 07:09:06 +00:00
andrew
cb5e3ef4b8 Updated system health diagram with GPS and I2C elements.
This is in anticipation of updates to system alarms.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2292 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 07:06:20 +00:00
andrew
cf72d545b7 Updated system health diagram with Power and Flight Time elements.
This is in preparation for updates to the flight battery module.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2291 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 03:28:03 +00:00
edouard
284a1ebd2c Updates to Notify plugin, now works fine on Linux too. Should still be OK on Windows, please confirm...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2290 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 22:14:56 +00:00
edouard
398ae4f90a Notify plugin did not work at all on Linux due to hardcoded backslashes in the path. Now using Qt "native separators" to become multiplatform.
One standing issue: the 1st second of the sound only is played...



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2288 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 18:55:28 +00:00
erhard
94721bf4cc OP-222 Ground: Load Default-Settings when no settings are present.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2287 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 16:21:49 +00:00
edouard
d1be74bcf4 Clean up HiTL plugin to remove old and unused files. You might have to clean and rebuild after this if you get errors. Made X-Plane HiTL bridge a bit more chatty at startup to help users.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2286 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 15:54:01 +00:00
edouard
d96a9aace9 OP-223 Basic support for X-Plane implemented. New Wiki documentation should be written, but basically: use 127.0.0.2 as the local IP, 127.0.0.1 as the destination IP, choose a (free) port as the input port which you will setup in the inet3 tab with dest address 127.0.0.2, and output port as 49000. Enjoy!
One potential issue: X-Plane expects 4-byte floats, the code is potentially not 64bit compliant...



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2281 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 18:35:34 +00:00
edouard
4ee9cf7aad GCS/Config gadget: problem with GCS crashing on input channel assignement should be fixed. Was triggered whenever no input channel was assigned to flight mode, as Corvus found out, thanks!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2277 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-23 22:28:24 +00:00
vassilis
6799f75aeb GCS/UAVObjectGenerator: Calculate and report number of bytes used by the object fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2276 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-23 16:01:31 +00:00
martin
be4df7b757 changed scripts and added tools for creating multilingual installer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2275 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 23:31:31 +00:00
pip
d072c30ba1 Settings additions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2274 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 22:16:44 +00:00
edouard
d72d4fa4d2 Freebie: implemented access to the UAVObject description in GCS-side UAVObjects, and added support for this in the UAVObject browser: leave your mouse over the name of a UAVObject and the tooltip will show the description. Nice, eh?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2273 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 21:29:23 +00:00
edouard
bb1d5e8b2e Uploader gadget: Increased AHRS detection time a bit in Rescue mode to make its use a bit easier.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2272 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 16:38:38 +00:00
edouard
fc27419cf6 OP-220 1st attempt at "horizontal bias calibration" for the AHRS. Very basic calculation over 100 samples, be my guest to make it more sophisticated if necessary, all the basics are there, you just have to plug a better algo!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2271 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 15:31:37 +00:00
edouard
c6f14c7530 HITL: Flightgear: velocitydown was the wrong sign, so vario went the wrong way. Fixed now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2269 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 09:19:25 +00:00
edouard
77f4fbe919 Fixed a rare issue with Heading becoming NaN and not checked by GCS (froze the GCS). Update op_dfu.cpp to reflect latest changes by PT_Dreamer on the CLI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2268 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 21:10:31 +00:00
edouard
195c811c90 HITL/SITL: Flightgear now works in SITL mode with the current stabilization algorithm which includes gyro rates. Upped the rate for attitudeactual and attituderaw to a value which makes the stabilization algo work properly, will cause trouble on slow machines.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2267 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 20:21:00 +00:00
edouard
da3d4cdab8 GCS Control Gadget: After double checks on actual quad, correct pitch sign now implemented.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2266 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 20:05:56 +00:00
martin
390a355c57 Added "phonon_backend" and "phonon_backend" dirs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2265 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 18:15:07 +00:00
martin
58152de093 Added phonon_ds94.dll
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2264 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 18:11:35 +00:00
zedamota
14ef24a3de OP-21/Bootloader - Maximize flash space available for user code. Bring back delay on HID send (board->pc) it still hangs when blasted with data. AHRS is now Readable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2263 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 17:25:24 +00:00
edouard
5748fe0e90 Add rotation rates into FG simulator to test Stabilization. Does not work well yet...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2262 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-20 22:30:42 +00:00
edouard
790637ba00 GCS Control gadget: invert the sign of pitch which was wrong. Bounding of values to -1/+1 so that it is not possible to put the red dots outside of the picture...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2261 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-20 17:30:38 +00:00
edouard
39d0b2e4a7 HITL: Flightgear did not work properly anymore in full SITL mode with the new throttling system (udp sent/received difference getting too big before FG sent its 1st packet). Fixed. Please report...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2258 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 21:14:07 +00:00
edouard
fc66814ed3 HITL: Flightgear plugin was broken, there was a missing space in the command line! Fixed now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2257 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 17:56:22 +00:00
edouard
51089b40bc HITL Plugin: "start sim on local machine" settings was not saved, fixed it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2256 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 17:51:27 +00:00
edouard
1ef88e854b OP-214 SSP protocol now implemented on the Uploader gadget, and board halt/reboot is now tested and working. Not tried an actual firmware flash yet, but if you do, please report (should work).
I have done my best to make the interface foolproof, by only enabling the relevant buttons in the relevant situations, please let me know if this creates trouble in some use-cases I have overlooked...



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2254 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 14:42:47 +00:00
edouard
3d0e90e266 OP-214 Extend connection manager to tell interested plugins about the current telemetry method. Used for SSP on the uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2252 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 10:32:16 +00:00
pip
e84b222272 PipX modem settings update .. note that they do not yet function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2248 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-18 13:54:35 +00:00
peabody124
50b5d0d289 Ground/UAVObjectBrowser: Don't crash for undefined enum values, just say
invalid

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2244 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-18 07:09:32 +00:00
martin
3adf0e044e new default configuration
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2242 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-17 15:13:45 +00:00
peabody124
a66ce5c0a3 UAVObjects: Syncing changes with FirmwareIAP to the autogenerated files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2240 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-17 07:02:41 +00:00
peabody124
4b4a66c2d7 PiOS/I2C: Lots of small changes. Added a few weird bus events that are
sometimes thrown, and made errors not lock it up by default.  It works for me,
but since this has historically been associated with lots of lock ups please
check your systems carefully.

PiOS/I2C: Make the bus by default try to recover from errors instead of locking
up

PiOS/I2C: After a bus error and clocking all previous data create a STOP
condition to make sure bus is released (note, this also requires creating a
START condition first)

PiOS/I2C: If the same event hits the I2C bus twice in a row then disregard
second one, there is no situation where we should get the same event multiple
times that matters and this gets us out really quickly to catch the real
events.  I was seeing this with repeated 0x70084 which means byte transmitted.
This is related to STM32 bugs in the IRQ timings I believe.

PiOS/I2C: 1) Mask out some bits we don't care about in the event flags
2) Don't lock up if the give semaphore fails, although why it does is strange
3) Recover from bus failure through the "auto" state path instead of just
coding state

PiOS/I2C: Change the reset bus code to follow
http://www.analog.com/static/imported-files/application_notes/54305147357414AN686_0.pdf
(thanks for the reference Neontangerine).  Although this may actually NOT clear
the bus the first time through, subsequent bus errors should eventually clock
it out.  The up side is it is less likely to clock a bunch of 1s into an ESC
and make it run up.

PiOS/I2C: Some cleaned up code for getting a snippet of the history when
something strange happens

PiOS/I2C: Export logging information from I2C through a UAV object

PiOS/I2C: Improve the diagnostic information

PiOS/I2C: Need to handle the event 0x30084.  This seems to happen between a
byte transmitted and new byte started

PiOS/I2C: Handle the NACK condition by simply going to the stopping state.

PiOS/I2C: Add a new NACK state to handle sending the STOP signal after a NACK
following the STM documentation.  Other error conditions still are not dealt
with.

PiOS/I2C: Should handle the NACK condition from all the write cases.  Need to
think about read cases

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2239 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-17 07:01:58 +00:00
zedamota
c034a35d2c OP-21/Bootloader - Changes to the IAPObject. Implements MB and AHRS user mode IAPObject. Added user mode reset command to the CLI. To many changes to bootloading system to write here, a Wiki page will have to be writen.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2238 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-15 19:06:28 +00:00
edouard
f7c824cdb8 OP-214 Start working on port selection within the Uploader widget to enable serial telemetry updates including rescue mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2237 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-15 18:39:04 +00:00
edouard
4be34fdb0f Modified all channel naming internally to use Channel 1 to Channel 8, instead of the previous convention of Channel0 to Channel7.
BEWARE: I have not flown my quad with this code, so please be careful, test, and report!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2234 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-13 23:54:30 +00:00
edouard
9277968e55 OP-214 : Ported SSP capabilities to GCS Uploader gadget - SSP not active yet, but USB still works as before.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2233 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-13 23:44:31 +00:00
dschin
06c42702f9 UAVObjects:
Add code to generate matlab code to convert GCS logfile to a matlab .mat file

Run OPLogConvert.m to convert log file
Then run OPPlots.m as an example of plots

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2228 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-13 03:03:24 +00:00
pip
08b43f5420 Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2226 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:26:39 +00:00
pip
ed6b02fec2 Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2225 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:26:26 +00:00
pip
6a44b0544b Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2223 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:16:00 +00:00
pip
c01c69299c Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2222 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:15:32 +00:00
andrew
c7eb0c912c GCS Control - controller now only updates the OP hardware when it is in GCSControl mode.
Previously it would update all the time and this could create glitches in control when both a standard Tx and the GCS were connected to the flight H/W.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2221 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 04:57:43 +00:00
andrew
1007cbd115 GCS Control - Joystick buttons can now toggle GCSControl.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2220 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 04:09:32 +00:00
pip
5a0d9fb36c Adding PipX modem settings/status UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2217 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-11 10:56:07 +00:00
pip
5f6024c06e Adding PipX modem settings/status UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2216 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-11 10:55:34 +00:00
andrew
b48953a5b4 GCS control - implemented channel reversal for joystick input.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2215 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-11 06:39:05 +00:00
peabody124
7d70d1f9f2 Bootloader: A few cross-platform changes for the serial uploading functionality
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2213 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-10 20:19:28 +00:00
zedamota
eb01c55478 OP-21/Bootloader CLI- New version to be used with the new BL FW. Linux and MacOs Devs please test it, I'm having probs using serial port in unbuffered mode under Linux VM. I'm hoping its just a VM problem.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2212 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-10 19:16:09 +00:00
peabody124
771173a492 TelemetrySettings: Commit a change Pip forgot :-p
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2210 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-10 17:14:37 +00:00
andrew
901725a9db _GCS control
fixed options panel so that user can only select 
1. axis for increase and decrease functions 
2. armed/gcs control for toggle function

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2207 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-09 06:54:33 +00:00
andrew
5f71795d67 Added -1 -> +1 bounding to button control functions
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2206 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-09 04:50:52 +00:00
sambas
c23df70b49 GPSposition trail added, quick and dirty copy/paste, but works OK. Needs settings for menus etc.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2204 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-08 19:36:02 +00:00
edouard
d8db3087ca GPS Display gadget: also display SNR above each satellite bar in the display gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2203 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-08 17:22:55 +00:00
edouard
970b155870 Add tooltips on the modelview gadget configuration page to explain more about VBOs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2202 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-07 22:23:04 +00:00
edouard
0fe666b7a2 Config gadget: Forward-pointing arrow on multirotor shapes in case those were ambiguous, and more tooltips for the servo config tabs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2201 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-07 21:40:54 +00:00
pip
dc58243b0f Forgot to commit a telemetry file after adding more telemetry baudrate options.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2199 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 21:04:19 +00:00
pip
72fab2f00b Added more telemetry baudrate options
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2197 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 08:31:01 +00:00
pip
4c08a4c2c7 Added more telemetry baudrate options
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2196 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 08:23:46 +00:00
edouard
f0bc081ae9 Disable actuator combo box on the config dialog, because of the risk of creating an inconsistent mixer. Letting the user change there was misleading.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2194 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-05 17:45:32 +00:00
edouard
476d548da9 Should hopefully make log/stop log operations more robust, as well as avoid crashing GCS upon exit in case the user did log during the session...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2192 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:39:32 +00:00
peabody124
6f1e7b4e41 AHRS: Add a configuration to export the sensor data either with or without INS
bias correction.  This is useful for stabilization to get rid of the gyro bias.
Making it an option is important for calibration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2189 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:25 +00:00
peabody124
a04e33ccc6 OP-192 Flight/ManualControl: Add an ArmedTimeout field to the
ManualControlSettings so that planes can disable the timeout
feature for gliding (holding roll on a plane not so good).

Note: This will require you to reconfigure your ManualControlSettings

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2185 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:16 +00:00
edouard
477657ea6e Logging plugin will refresh all the settings if telemetry is already connected, so that the log file always contains all the setting objects, which is vital for post-flight analysis.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2184 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 16:47:55 +00:00
edouard
327252f5c0 Fix for objects not getting updated properly upon USB connection: please please report how this works for you!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2183 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-02 07:36:38 +00:00
edouard
3069f81000 Modify AHRS config gadget so that Mag variance gets graphed in a meaningful way.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2180 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-01 19:28:09 +00:00
scott
8532bdfe28 An example batch file for starting Flightgear as a stand-alone app on Windows.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2179 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 23:34:03 +00:00
dschin
18809ce3dc AHRS - fixed time constant of baro altitude offset filter, added the offset to the EKF dump
Added new EKF data parser (m-file) to ground



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2178 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 23:28:38 +00:00