1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-14 21:23:52 +01:00
Commit Graph

1542 Commits

Author SHA1 Message Date
peabody124
d2e5c7c301 Ground/Config: Allow negative yaw for people whos motors are all backwards
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2757 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:42 +00:00
peabody124
58a0cce89b Fix for OSX to enumerate serial ports correctly
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2756 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:38 +00:00
edouard
536123e9c3 OP-298 Flight mode position slider should now work properly in the config widget, please confirm it's OK for you too...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2749 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 14:29:05 +00:00
pip
73d134ad98 Removed unused code, bit of a clean up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2747 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-07 12:29:35 +00:00
andrew
2496c41ea2 OP-299 Swashplate Levelling UI
More levelling UI basic functions implemented.
Not tested for Flight use at own risk

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2746 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-07 03:05:30 +00:00
pip
b2eb141c10 100mW appears to be working again. A few bug fixes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2745 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 21:21:50 +00:00
pip
6559615ef8 Made quite a few constants/#defines capitals (previously lower case)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2743 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 10:55:08 +00:00
erhard
d53bf143e8 OP-310 GCS Welcome Plugin: Prevent saving of configuration as workaround for OP-232
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2738 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 22:35:18 +00:00
erhard
0ab4ccef9d OP-232 GCS Configuration: Add general Option to not save settings on exit.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 22:20:36 +00:00
corvus
afdaf88d4a UAVObjects: Allow Generation and Initialisation of individual UAVObjects
per target as defined in Makefile (and/or Make include file) For
OpenPilot this is flight/OpenPilot/UAVObjects.inc For sim_posix and
sim_win32 needs rebuild of uavobjectgenerator and uavobjects!

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2736 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 22:17:40 +00:00
erhard
250e154067 OP-231 OP-232 GCS Configuration: Commandline options to handle reset of configuration
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2735 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 21:00:48 +00:00
erhard
5eab9bf7e6 OP-232 GCS Configuration: Reset Settings. Proper functioning is blocked by OP-310.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2734 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 20:20:01 +00:00
dankers
037ff44436 Update RSS location, not final currently but enables me to test if it works.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2733 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 15:59:46 +00:00
erhard
eab8421e5f OP-99 gcs Import/Export Plugin: Support configurable plugins
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 14:01:18 +00:00
andrew
0a70df7e5b OP-299 Swashplate Levelling UI
More levelling UI not functional yet.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2728 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 05:30:42 +00:00
pip
41768be215 Allows modem mode to be set - BUT NOT YET IMPLIMENTED, use NORMAL mode for now.
Fixed bug in pipx plugin import function - wasn't restoring the AES key.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 23:00:48 +00:00
erhard
b0cc3d1f5f OP-232 gcs configuration: Override configuration on comand line
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2725 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 21:24:55 +00:00
pip
d377b417df Fixed export double confirmation dialogues.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2724 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 18:06:01 +00:00
pip
901b6f3882 Import/Export PipX setttings now working.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2723 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 17:29:52 +00:00
pip
f6391b1803 Added RSSI dBm value as text to the GUI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2722 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 16:17:57 +00:00
pip
14505ed9dc Added 230400, 460800 & 921600 #defines for windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2721 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 15:47:21 +00:00
pip
59a8b90653 Remove "toMSecsSinceEpoch" usage to be compatible with earlier versions of Qt
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 15:02:46 +00:00
pip
768bdbba44 Little cleanup, spelling mistake etc. Not yet got the AFC reading working.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2716 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 14:33:09 +00:00
pip
7643cd2016 Added 3 more baudrate options for windows users .. 230400, 460800 & 921600
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 13:13:29 +00:00
pip
3bad7982dd Fixed RSSI when no signal received.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2714 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 13:12:30 +00:00
pip
54ccc4e58f New PipX config protocol packets - YOU NEED TO UPDATE YOUR PIPX FIRMWARE to use plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 07:04:46 +00:00
peabody124
0de938090b Fix GCS problems with renaming the accels_filtered to accels. You'll have to
update your .ini file

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 02:42:46 +00:00
corvus
16eef53f02 UAVObjectgenerator: Autogenerate Make include-file for flight UAVObjects to be used in firmware Makefiles.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2702 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 20:15:28 +00:00
pip
c854b74690 Fixed carrier frequency problems.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 17:53:30 +00:00
pip
6714ce99fa Fixed AES encryption key problems
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 17:20:02 +00:00
pip
77501544b5 General clean up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2697 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 14:00:33 +00:00
pip
beb1a6e5e8 GCS can now configure PipX modem using the PipX plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2696 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 11:46:11 +00:00
zedamota
878829a7cf OP37/GCS MapLib - Try different DB method to improve speed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2694 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 10:41:27 +00:00
andrew
4434df6702 OP-299 Swashplate Levelling UI
Framework for levelling UI no functional code yet.
Some general cleanup of ccpm code.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-02 05:28:54 +00:00
pip
8a602c8b5e Removed unused files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 23:36:21 +00:00
pip
b378a38cb5 Fixed compile error.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 23:28:35 +00:00
pip
5756d17926 Re-commiting files due to commit clashes by 2 people at same time.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 23:22:16 +00:00
edouard
c1555d9dfe OP-306 Update revealed two bugs in the widget destructors, workaround for now, too late for today...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2683 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 23:15:29 +00:00
pip
959e9101b2 moved #include from .h back into .cpp
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2682 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 23:08:05 +00:00
edouard
9170155f5f OP-306 Update all Gadgets so that they destroy their widgets properly when they die.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2681 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 23:01:52 +00:00
pip
a568ff893d Include PipX plugin into builds from now on.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 22:59:18 +00:00
pip
b3c1994598 PipX plugin can now semi configure pipx modem
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 22:58:04 +00:00
edouard
38fa93312c OP-306 Tell core plugin to get rid of the gadgets upon plugin shutdown.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2678 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 22:47:10 +00:00
zedamota
8c5fe506b3 OP37/GCS MapLib - Various fixes to improve stability, created diagnostics screen available from maps context menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2674 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 18:18:29 +00:00
andrew
12cdec0ae7 OP-294 storage scope
Added column to csv file to show if data changed from previous row.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2673 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 17:43:30 +00:00
peabody124
d33d044088 Revert "Revert "Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures""
Putting Corvus patch back in.  Need to delete uavobjects-synthetics directory
for this to work.

This reverts commit 9cd98bec8fb5e0679c625eb256a94d161a8ce345.

Conflicts:

	flight/CopterControl/Makefile

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2671 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 15:46:59 +00:00
cwabbott
3f05e05721 Scope plugin: make compatible for Qt 4.6.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2670 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 14:57:39 +00:00
peabody124
1c6b51b704 UAVObjects/AttitudeSettinsg: Object for CC to tune the attitude estimation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:26 +00:00
peabody124
bbbdea26b9 Revert "Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures"
Note: This patch did not build after a clean build.

This reverts commit 7e75b5d16481a32689433c868b67916816d8b9fb.

Conflicts:

	flight/CopterControl/Makefile

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2651 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 01:56:02 +00:00
pip
5f83c4170e General clean up, removed unused variables. And apparently fixed random crashes on GCS exit (maybe).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2647 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 23:26:36 +00:00
pip
6662d856fd gadgetWidget destructor now gets called.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2646 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 23:12:21 +00:00
pip
5f07a95234 gadgetWidget's destructor now gets called OK.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2645 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 22:39:06 +00:00
edouard
0a87ed23c7 OP-306 More updates to plugins to properly destroy the Widgets when the gadgets are removed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2644 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:50:11 +00:00
pip
6ef4dec59f Added more comms code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2643 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:46:42 +00:00
edouard
2dfc907a8c OP-306 Scope plugin: destroy the widget explicitely when the gadget is removed. Should improve stability on the GCS. If so, I will generalize this on all current plugins.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2642 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:38:41 +00:00
corvus
c2ba1f517b Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures
On architectures supporting automatic initializing, flight/UAVObjects/uavobjectsinit_linker.c is used
On architectures NOT supporting automatic initializing, an uavobjectgenerated file build/uavobject-synthetics/flight/init/uavobjectsinit.c is used
build/uavobjects-synthetics/flight/uavobjectsinit.c went away, so that a wildcard include in the Makefile will not include the (wrong) initialisation code in either version



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2640 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 20:37:11 +00:00
zedamota
94c1f9793d OP37/GCS MapLib - Fixes small bug on the SQL caching
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2638 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 17:22:49 +00:00
zedamota
8297f0e43e OP37/GCS MapLib - Small change to force static lib relink on change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2636 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 13:09:06 +00:00
pip
b13648da36 General cleaning up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2635 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 10:16:06 +00:00
andrew
9c313ebb7a OP-294 Add logging to scope plugin.
First attempt to add logging to the scope gadget.
Logs a snapshot of data from the scope configuration at the same rate as the update timer set in the options page.
This has configurability via the options page for logging path.
File name is based on the configuration name and the date/time the logging starts.
This uses synchronous file writes in the update timer.

Tested to work on Win XP and Linux (Fedora 14)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2634 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 02:09:44 +00:00
erhard
311bcdd492 OP-232 gcs configuration: First step to configure all plugins in a standard way
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2632 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 23:22:51 +00:00
pip
5ce1538c03 Disable/Enable the GCS main connect button when suspendPolling and resumePolling functions are called - to prevent the user from trying to use the telemetry ports whilst another plugin is using them.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2629 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 14:46:25 +00:00
osnwt
f1116356f5 Windows installer: Spanish translation. Now we have all GCS-supported languages in the installer too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2628 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 14:39:16 +00:00
pip
89df836c23 PipX plugin now connects/disconnects from communications port. Have yet to write the comms stream routine/thread and packet protocol.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2627 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 13:28:22 +00:00
osnwt
1ae14c5682 GCS/Uploader plugin: display DeviceID in hex making it more sensible (201 -> device 2, revision 01).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2626 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 01:49:32 +00:00
edouard
50ba2dfa22 Small capitalization fix on PipXtreme gadget to enable cross-platform compilation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2621 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 07:52:03 +00:00
pip
6a42a77e46 Fixed Uploader entry details (it was altering the modelview depends)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2620 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 00:01:20 +00:00
pip
b5640896ea Corrected the PipXtreme plugin entry details
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2619 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 23:46:37 +00:00
pip
05a7da2462 fixed the .pro file (included a non-existant file)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2618 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 23:45:57 +00:00
pip
7c73f9c2c8 Corrected GUI widget spacers, added OpenGL rendering.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2617 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 22:41:34 +00:00
corvus
f6805de71e UAVObjGenerator: Allow generation of specific UAVObjects only per commandline specified list - possibly needed for CopterControl
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2616 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 22:35:44 +00:00
pip
e5e80bde27 Made openGL option default to not used, added smooth option to dials plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2615 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 21:20:45 +00:00
pip
3c49944e73 Added OpenGL option to the "Dial" and "LinearDial" plugins.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 20:45:45 +00:00
sambas
ba5ebb6b13 OP-303 PIOS/Sonar: preliminary support for HCSR04 ultrasound altimeter module, tested and working :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2610 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 19:21:22 +00:00
osnwt
3787787404 Windows installer and build scripts: few minor changes (listed below), no code change.
- Fixed unescaped backslashes in openpilotgcs.pro, translations.pro, glc_lib.pro (don't like warnings).
 - Fixed comments in Windows installer batch file.
 - Changed Windows uninstaller section names for better readability.
 - Changed Windows installer executable properties (makes sense if you use SubWCRev).
 - temporary disabled Windows installer Spanish language until someone helps with translation (no changes for GCS itself).
 - small beautification of winx86.pro.
 - some changes in the top Makefile.cmd (more changeable parameters for batch build)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2609 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 18:18:08 +00:00
edouard
b079d7e90b French translation for installer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2600 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 21:54:12 +00:00
osnwt
eb517e7075 Windows installer: fixed minor dependency issue with SVN info extraction.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 14:39:45 +00:00
osnwt
208c965e65 Windows installer: added Chinese and German translations.
Thanks to:
 - zhao0079 for Chinese translation,
 - Corvus Corax for German translation.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 13:19:42 +00:00
edouard
ba606c7054 OP-249 : GCS / Pause scopes during log replay if pause button is pressed. Was more difficult than planned! You will have to clean your GCS build or at least delete the scope and logging shadow build dirs in order for this to work properly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2597 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 22:21:54 +00:00
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
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