1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

1363 Commits

Author SHA1 Message Date
edouard
dce3c25771 Add missing header on some files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2595 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 16:49:21 +00:00
pip
549e92f9c0 Added USB port detection
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2594 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 12:01:09 +00:00
osnwt
61d8c23a51 OP-301 Allow some special characters in uavobject enum options.
Now they can include special chars like '.' (dot), '-' (dash), '/' (slash), ' ' (space). All such chars will be removed from autogenerated identifiers ("S.Bus" -> SBUS), but kept intact in text strings (to be displayed by the GCS).

This will not change any existing object IDs.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2592 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 00:22:54 +00:00
edouard
3968a99e22 Make qt-creator build work on Linux too (respect debug/release directives again)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2588 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 22:37:55 +00:00
osnwt
449474b66c Windows GCS installer cleanup.
Moved obsolete Wix installer into Experimental branch. NSIS installer moved one level up. Now it supports new build directory structure, does not require to be copied into it and can be built using packaging/winx86/Makefile.cmd or as a qmake-generated "installer" target (using "make installer"). NOTE: this target will NOT be built automatically, you have to build it yourself.

Install system requires Unicode NSIS installer and optionally uses SubWCRev.exe utility (from TortoiseSVN package) to extract some build info from local SVN copy (like revision number, etc.). This info then is available as a properties of installer executable and also used in the installer's executable file name. SubWCRev utility is optional, if it is not found - no extra info will be generated and used.

Also fixed unescaped backslash in openpilotgcs.pri (please check that it does not break !win32 builds).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2584 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 19:27:49 +00:00
edouard
900d9a2452 Fix uavobjects.pro on Linux (or more generally !win32) : stray ")".
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2583 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-24 18:12:20 +00:00
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