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

2435 Commits

Author SHA1 Message Date
James Cotton
0b78ae07bb OP-521: Match the flight logic for processing flight mode switch position on
GCS so the slider should always match what hte internal logic says.
2011-06-07 17:04:36 -05:00
Oleg Semyonov
268488a5b8 config: relax the CCPM mixer disclaimer (it has been used already) 2011-06-07 19:46:46 +03:00
Oleg Semyonov
b1d945c6f2 OP-369: remove completed TODO list, unify capitalization 2011-06-07 19:41:52 +03:00
elafargue
9b572407a7 Small compilation warning fixed and small typos 2011-06-07 17:15:16 +02:00
elafargue
dbba0afe0d OP-369 Last improvements to import option. 2011-06-07 17:06:50 +02:00
elafargue
a7dccb6648 OP-502 If a board is not connected, the "Save" button is grayed out. The "Apply" button is still enable, which enables creating configurations purely offline. 2011-06-07 16:56:16 +02:00
elafargue
81b29c2b51 Merge branch 'master' into bugfix-ground 2011-06-07 14:59:43 +02:00
elafargue
8ac5399c1d OP-527 Implemented as requested: will load the default settings if no settings found, without asking. 2011-06-07 13:54:38 +02:00
elafargue
4f248172a3 Fix flight mode dial SVG to show the complete status. 2011-06-07 13:50:24 +02:00
elafargue
b6326b855d OP-369 Implement help button and keyboard shortcuts as requested. 2011-06-07 07:01:58 +02:00
James Cotton
83916f3a4e Fix bug in UAVTalk where the expected packet length check was incorrect for
instances of objects
2011-06-06 10:37:57 -05:00
elafargue
2a5ff0b36a OP-369 : in case there is an objectID mismatch, still try to update the object if we found the name, but place it in "warning" mode. If during update some fields do not exist, then place in "Error" mode and prevent automated saving (will still try to update as many fields as possible) 2011-06-06 10:44:21 +02:00
elafargue
56b63613ba Merge branch 'master' into bugfix-ground 2011-06-05 22:58:03 +02:00
James Cotton
1365542103 OP-493: Populate the Accessory Desired from TX 2011-06-05 15:38:57 -05:00
James Cotton
4f47c06547 Merge branch 'saving_crc' into bugfix-flight 2011-06-05 15:37:44 -05:00
elafargue
ac7216946a Now use the ".uav" extension for exporting settings in XML format. Dormant feature: if you use a .xml extension manually, will export in full format. 2011-06-05 19:02:43 +02:00
elafargue
3077dec24d Merge branch 'bugfix-ground' into OP-369_Edouard_UAVSettings_ImportExport 2011-06-05 18:42:39 +02:00
elafargue
3d676d05df Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-06-05 18:41:46 +02:00
elafargue
e5e85fa47a Get rid of the "Request" button on the config gadget: it now tracks object updates and automatically keeps its state synchronized with UAVOBject changes. 2011-06-05 18:40:52 +02:00
James Cotton
2e089e2816 Changed text when using test output mode to remove deprecated comment about
arming.
2011-06-05 10:58:08 -05:00
James Cotton
e02aa1b818 OP-152: Make the zeroing of LSB of has occur after hash is computed so that the
LSB of individual field values still influences the hash

Note: This update changes ALL object IDs.  A new GCS is required to match the
firmware.
2011-06-04 18:36:44 -05:00
elafargue
864dbb0ab5 Add an object saving completion message, so that the user knows when saving is finished. 2011-06-04 14:32:15 +02:00
elafargue
2387958422 OP-369 Now the import operation provides a summary and lets the user selectively save the right objects. Also improved the saveToSD queue a great deal so that it can deal with failed save operations (on non-existent objects). 2011-06-04 13:06:12 +02:00
elafargue
787b43fa0b Merge branch 'bugfix-ground' into OP-369_Edouard_UAVSettings_ImportExport 2011-06-03 08:04:18 +02:00
Mathieu Rondonneau
31a06a5ae7 OP-423 add set/get uavobjects functions to access objects fields separately. 2011-06-02 21:18:34 -07:00
dankers
5957612870 Remove old ini file, add a modelview item for the new CC model to ModelView 2011-06-03 12:18:37 +10:00
dankers
d3ae9113d9 Update file names 2011-06-03 10:31:45 +10:00
dankers
62c172f280 Add Nuno's wonderful CC model 2011-06-03 09:46:59 +10:00
elafargue
f4b19fe65a OP-369 Settings Import/Export for the Airframe. Also sanitized UAV Object saving in flash in one central location in the uavobjectutils library. 2011-06-02 16:08:19 +02:00
James Cotton
f8b945401d Merge branch 'bugfix-ground' of ssh://git.openpilot.org/OpenPilot into bugfix-ground 2011-06-01 14:20:54 -05:00
James Cotton
8f808df113 Fix for Utils trying to not include the debug library on OSX and Mac 2011-06-01 13:59:10 -05:00
James Cotton
45244e3df5 On OSX make the plugins in .app/Contents/Plugins instead of PlugIns 2011-06-01 13:58:49 -05:00
zedamota
ad65dee643 Added auto select 2011-06-01 18:40:04 +01:00
zedamota
fce8038cf4 Create new setting "autoselect" 2011-06-01 16:08:14 +01:00
zedamota
844bc79f45 Merge remote-tracking branch 'remotes/origin/bugfix-ground' into OP-512-PTDreamer
Conflicts:
	ground/openpilotgcs/src/plugins/uploader/uploadergadgetwidget.cpp
2011-06-01 14:02:55 +01:00
elafargue
cacf03ae7b OP-515 Uploader Gadget UI improvements. Not implemented Firmware pre-check yet. 2011-06-01 14:49:22 +02:00
Oleg Semyonov
b46c5dbff9 Merge branch 'packaging' into bugfix-ground 2011-06-01 13:08:48 +03:00
Oleg Semyonov
038eadb97a Merge branch 'master' into packaging 2011-06-01 12:53:39 +03:00
elafargue
a953974dfa Merge branch 'master' into bugfix-ground 2011-06-01 11:29:10 +02:00
David Buzz Carlson
2691b80576 Fix segfault on close. Fix _terrible_ variable naming. Fix excessive qDebug messages. 2011-05-31 23:31:40 -07:00
elafargue
4569446a7b Merge branch 'bugfix-ground' 2011-05-31 22:57:21 +02:00
elafargue
bd35d9bff4 Forgot the configinputwidget.cpp file in previous commit. 2011-05-31 22:56:33 +02:00
elafargue
90024d69e4 Improve inline help icons, place them next to request/apply/save buttons where the eye logically goes when surveying the UI. Open for comments of course. 2011-05-31 21:20:38 +02:00
zedamota
fc7e7df863 OP-512 Remove some qDebug's 2011-05-31 15:41:05 +01:00
zedamota
1ffc0e3d56 Ground/OP-512- Autoconnect option, configured trough the options menu. Default is ON. 2011-05-31 15:29:53 +01:00
David Carlson
614fd138e4 Change the help button setup from in-line help to one per page. Will no longer open an HTML window, but will open the relevant section on the wiki using the OS default browser. 2011-05-31 00:16:01 -07:00
Oleg Semyonov
03ed76cf14 Merge branch 'bugfix-ground' into packaging 2011-05-30 16:56:37 +03:00
elafargue
887a23a3cf OP-510 Issue with patch in source file, sorry. 2011-05-30 07:38:37 +02:00
elafargue
46824dea4e OP-510: wider fix for Yaw channel servo fix which should improve the 'mixer not saving' issue too, as well as retrieving settings from the board for Yaw mode. 2011-05-30 07:29:26 +02:00
elafargue
93dd254c77 Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground
Conflicts:
	ground/openpilotgcs/src/plugins/config/configairframewidget.cpp
2011-05-30 07:26:44 +02:00
David Carlson
eb337c6e5c Fix for tri yaw channel being reset. 2011-05-29 21:07:22 -07:00
zedamota
144ca219a5 Cosmetic changes to Uploader Gadget Rescue mode 2011-05-30 03:08:24 +03:00
Oleg Semyonov
91f5fd2318 Merge branch 'os_gcs-version-info' into packaging 2011-05-30 02:56:11 +03:00
James Cotton
df69bbb950 Merge commit '07a48573ea828685f0465786e16dd13db68a850f' 2011-05-29 17:08:17 -05:00
PeterG
d18a229a76 Change default settings format from ini to xml 2011-05-29 14:02:10 +02:00
zedamota
d591d509ed Merge remote-tracking branch 'remotes/origin/PT-bugfix-ground' into bugfix-ground 2011-05-29 10:57:57 +01:00
PeterG
8b80b35964 Remove " Gadget" from gadget names since it adds nothing useful. 2011-05-29 09:51:39 +02:00
PeterG
3a7f8c7fc5 Remove empty options pages for config, pipxtreme and uploader gadgets. 2011-05-29 09:42:26 +02:00
elafargue
b702db2549 OP-510 Fix for setting tail servo on tricopter, and retrieving tail servo settings. Please test thoroughly and report! 2011-05-29 09:37:19 +02:00
PeterG
ba4a060c27 Changes to allow icons to be displayed for gadgets in the options page and in the gadget dropdown list.
Also, allow gadgets to have exactly one configuration only, which gives them a bit more real estate in the options page.

For gadgets to use this, call functions setIcon(QIcon) and setSingleConfigurationGadgetTrue()
in the constructor of the gadget factory, e.g.:

SystemHealthGadgetFactory::SystemHealthGadgetFactory(QObject *parent) :
        IUAVGadgetFactory(QString("SystemHealthGadget"),
                          tr("System Health Gadget"),
                          parent)
{
    setSingleConfigurationGadgetTrue();
    setIcon(QIcon(":/core/images/openpilot_logo_64.png"));
}
2011-05-29 09:32:42 +02:00
elafargue
07a48573ea Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-05-29 08:59:21 +02:00
elafargue
da887d3f2e OP-513: Endianness problem on GIT revision and Date display on uploader gadget. Fixed, please confirm on your own architectures? 2011-05-29 08:58:14 +02:00
Stacey Sheldon
3a755dcdbb gcs: fix id of quad-x image in SVG
The quad-x image was missing in the GCS config gadget.

GCS expects the quad-x image to have id=quad-X (upper
case X).
2011-05-28 22:17:40 -04:00
Oleg Semyonov
8c6526cf25 gcs: add git version info to the About dialog using version-info.py 2011-05-29 00:27:07 +03:00
PeterG
ce3196c33c Changes to the tree view to the left on the options page. 2011-05-28 20:10:06 +02:00
elafargue
cf74908bcd Merge branch 'bugfix-ground' 2011-05-28 19:30:04 +02:00
elafargue
79c2c16ae4 Fix: Y6 multirotor drawing was wrong for motors 3 and 4. 2011-05-28 11:21:07 +02:00
Oleg Semyonov
f676859854 package: (win) make SDL.dll mandatory for packaging, add some comments 2011-05-28 11:46:06 +03:00
zedamota
7f5c9b6c43 Cosmetic changes to Uploader Gadget Rescue mode 2011-05-27 11:49:15 +01:00
elafargue
39c2f074f2 Merge branch 'master' into bugfix-ground 2011-05-27 07:53:05 +02:00
Oleg Semyonov
6420eaf22f Merge branch 'bugfix-ground' 2011-05-27 08:51:57 +03:00
dankers
97e383afce Small text fix for windows and Mac, praying it works on linux 2011-05-27 14:31:58 +10:00
Oleg Semyonov
a715012184 Merge branch 'windows_installer' into bugfix-ground 2011-05-26 00:30:11 +03:00
elafargue
9cb380fba3 Make sure the "Advanced" settings is not selected by default in the airframe config UI. 2011-05-25 21:25:29 +02:00
elafargue
3edd7e3c3d Support for packaged firmware files (opfw) in the uploader gadget. 2011-05-25 21:23:22 +02:00
zedamota
ccd383c999 Fixes compile issues on windows with latest Qt 2011-05-25 16:15:01 +01:00
Oleg Semyonov
5dc28260ba credits: fix mixed newlines and trailing spaces 2011-05-25 17:59:18 +03:00
elafargue
5b787272f5 OP-504 Attempt to fix the Rescue/Boot issue, and bugfix in firmware version display in UPloader gadget. 2011-05-24 08:15:57 +02:00
zedamota
b69402b7ab This should fix the upload CLI tool. 2011-05-23 11:55:09 +01:00
Oleg Semyonov
cbdba940b5 OP-483: remove gcs/packaging subdirectory (not required anymore) 2011-05-19 13:08:54 +03:00
Oleg Semyonov
5b1e45a8df OP-483: move Windows installer out of ground/gcs tree
In preparation for release build the Windows installer source is moved
out of ground/gcs source tree into release directory. It is also disabled
in the qmake source file and removed from top level Makefile.
2011-05-18 22:22:40 +03:00
elafargue
cc9fa772c0 Improvement: now the config output panel in the config gadget remains up to date all the time, no need to click on the "request" button after setting up the mixers. 2011-05-17 22:23:08 +02:00
David Carlson
21213dd3c5 Merge branch 'master' into OP-495_CheBuzz_HelpButtons
Conflicts:
	ground/openpilotgcs/src/plugins/config/output.ui
2011-05-17 01:06:28 -07:00
David Carlson
b1ec27bd75 Add help buttons to the config gadget UI. Also connect all signals to its slot in configgadgetwidget.cpp. Also some very trivial .html help files. 2011-05-16 21:54:23 -07:00
elafargue
b2587a5b9f Improvement & bugfix: now the output config tab in the config gadget only shows the channel assignments as labels, not dropdowns, and more importantly does not try to save them when clicking on save/apply! 2011-05-17 00:34:25 +02:00
elafargue
98f286a682 Uploader gadget improvements 2011-05-16 22:05:33 +02:00
elafargue
6dc6b45f1b Merge branch 'bugfix-ground' 2011-05-16 20:10:20 +02:00
elafargue
3129c10d05 Bugfix (uploader gadget) 2011-05-16 20:09:51 +02:00
elafargue
65201ec81c Improve Uploader gadget widget behaviour when clicking on halt & boot (prevent double clicking) 2011-05-16 20:03:41 +02:00
David Carlson
d076418895 Merge branch 'master' into OP-495_CheBuzz_HelpButtons 2011-05-15 19:36:38 -07:00
elafargue
6d566c27fe Merge branch 'bugfix-ground' 2011-05-15 23:37:24 +02:00
elafargue
50f1e15f54 Aditional artwork for GCS (artwork directory), plus show basic board info when connected on the uploader gadget. 2011-05-15 22:48:18 +02:00
dankers
2c1caa957c Add some more sounds to the complete sound set 2011-05-15 22:13:21 +10:00
elafargue
2d6b4dce55 Small fix to System Health gadget, to make it behave correctly when started while the connection is up already. 2011-05-14 16:31:59 +02:00
elafargue
3a17168708 Merge branch 'master' into bugfix-ground 2011-05-14 15:45:11 +02:00
elafargue
fab880a7d2 Improvement by pip1996 on opmpap widget, to limit update rate and solve the CPU hogging issue. 2011-05-14 14:47:49 +02:00
dankers
7fc87700cc Fix the default config. The control gadget was on the config screen to help new users validate their inputs. Adding it back. 2011-05-14 17:59:20 +10:00
elafargue
f9212cda7b Last minute default settings refinement.
CC Attitude UI improvement.
2011-05-13 08:24:34 +02:00
elafargue
d2cf5529bf Merge branch 'bugfix-ground' 2011-05-13 07:55:42 +02:00
elafargue
dceae1a9b0 Make bargraph dials better (color and range for roll/pitch/yaw are now correct). Disable use of OpenGL by default on config to ensure max compatibility with all graphics cards. 2011-05-13 00:01:31 +02:00
elafargue
c65c1ac109 Merge branch 'bugfix-ground' 2011-05-12 17:02:39 +02:00
elafargue
ab7fdfcc1f OPReview-40 : Disable min/max output channel range controls when doing a servo test, in order to avoid mistakes by careless users. 2011-05-12 16:32:38 +02:00
David Carlson
5bddbc4108 Add help buttons at relevant places within config gadget. This is only the UI change and the buttons have no effect currently. 2011-05-12 03:37:34 -07:00
James Cotton
55fbb5413b Merge branch 'bugfix-ground' 2011-05-11 20:22:52 -05:00
James Cotton
69c27aa1ce Move "zero while arming" option to below other CC Attitude widgets. Was
overlapping other fields.
2011-05-11 17:45:14 -05:00
elafargue
ca39cbe1fe Merge branch 'bugfix-ground' 2011-05-11 07:16:11 +02:00
elafargue
d5fbc0be4d Fix "Halt" command on Windows XP sp2. 2011-05-10 21:19:51 +02:00
elafargue
f904e09353 Merge branch 'master' into OP-307_Firmware_Description_Packaging 2011-05-10 08:31:25 +02:00
Oleg Semyonov
94c49ac6d0 OP-179: fix library dependencies 2011-05-09 21:05:23 +03:00
Oleg Semyonov
1cae0cd167 OP-179: final fix (builds on Linux and Windows) 2011-05-09 20:09:00 +03:00
Oleg Semyonov
75c5761506 Revert "Revert change for opmaplib, causes linking problems on Windows."
This reverts commit 822017953e
and fixes it to work on Windows too.
2011-05-09 19:36:17 +03:00
elafargue
1c09f85be2 Merge branch 'master' into bugfix-ground 2011-05-09 16:50:11 +02:00
elafargue
822017953e Revert change for opmaplib, causes linking problems on Windows. 2011-05-09 16:48:46 +02:00
James Cotton
fb8417a0ff Merge remote-tracking branch 'origin/op_475_476_calibrate_during_arming' 2011-05-09 09:23:16 -05:00
elafargue
262cc805b0 Updated opmap lib and opmap plugin to use the Utils::StoragePath correctly. 2011-05-09 16:09:35 +02:00
elafargue
a97efad8f9 Modify "StoragePath" to use the settings storage directory and not the home directory. Works on Linux. 2011-05-09 15:19:10 +02:00
elafargue
c36b6a715b OP-451 Add a tooltip for input configuration channel reversal checkboxes, as requested. 2011-05-09 14:24:36 +02:00
elafargue
1f88060671 Merge branch 'master' into bugfix-ground 2011-05-09 14:21:11 +02:00
David Carlson
20fcfe186b Merge branch 'bugfix-ground' of ssh://git.openpilot.org:22/OpenPilot into bugfix-ground 2011-05-09 02:57:22 -07:00
David Carlson
b89909756c Increase accel bias samples to 60. Add debuging output if enabled during calibration. Add check for the possibility of multiple signals arriving before slot is disconnected and causing bias to be calculated incorrectly. 2011-05-09 02:55:05 -07:00
elafargue
9dc3dde2c8 Small UI fix to avoid labels looking ugly on config input panel. 2011-05-09 11:19:55 +02:00
James Cotton
785054a694 OP-475: Update HITL for the FlightStatus object 2011-05-08 16:04:26 -05:00
elafargue
a7b5a2d5f4 Merge branch 'master' into OP-307_Firmware_Description_Packaging 2011-05-08 21:28:24 +02:00
elafargue
4d58967e49 Now check board model and SHA1 hash of the file when uploading a packaged firmware. 2011-05-08 21:22:00 +02:00
Oleg Semyonov
f1ead62dec Windows installer: remove trailing whitespaces in script file 2011-05-08 20:18:56 +03:00
Oleg Semyonov
3e0bb8a876 Windows installer: add option to run GCS after installation 2011-05-08 20:18:54 +03:00
Oleg Semyonov
0f7fc8168e Windows installer: increase verbosity level to show stats 2011-05-08 20:18:53 +03:00
Oleg Semyonov
d228cefae2 Windows installer: always show language selection (even if it was set in the Registry) 2011-05-08 20:18:52 +03:00
Oleg Semyonov
60db758637 OP-179: Windows uninstaller: remove OpenPilot user profile subdirectory if empty 2011-05-08 20:16:20 +03:00
Oleg Semyonov
a3e59429d8 OP-179: Windows uninstaller: update mapscache location to be removed 2011-05-08 20:16:19 +03:00
Oleg Semyonov
0e60e24db7 OP-179: default GCS config: remove mapscache locations
Their locations in user profile have been changed,
see http://progress.openpilot.org/browse/OP-179

If they are defined as they were, they are not removed
by Windows uninstaller.
2011-05-08 20:16:17 +03:00
elafargue
4af0c562e3 GCS-side implementation: if a firmware is package with description 100 byte bin blob at the end, it will use it, and parse it back
if description is structured the same way.
2011-05-08 11:36:55 +02:00
elafargue
61007fd0eb Update Arm status dial to reflect changes too. 2011-05-08 09:44:23 +02:00
elafargue
2b11fa6ee6 Add support for Gyro bias calibration upon arming configuration in the CC Attitude config gadget. 2011-05-08 09:33:54 +02:00
elafargue
f59e7f3410 Update default config to match new UAVObjects and avoid the GCS complaining. 2011-05-08 08:55:20 +02:00
elafargue
b61bd5bf31 Start of Uploader plugin parsing of packaged firmware. work in progress, not fully working yet. 2011-05-08 00:57:59 +02:00
James Cotton
10e55c25bc OP-475: More changes to get the FlightStatus object to work for Armed and
FlightMode
2011-05-07 15:06:04 -05:00
Corvus Corax
97b483dc88 Merge branch 'bugfix-ground' 2011-05-06 15:00:10 +02:00
dankers
db0f7c39c3 Update the RSS feed URL, will only shown when new site is live.
Add reviews site to the list of sites.
2011-05-06 14:34:18 +10:00
elafargue
b0baee3d17 Hooked the autoupdate on CC Attitude widget on autopilot connect. 2011-05-05 23:02:42 +02:00
James Cotton
7e418866be Update the AttitudeSetting object to make the board rotation more human
readable and update the GCS fields appropriately.
2011-05-05 13:04:56 -05:00
Corvus Corax
bff970d414 GCS: notifyplugin: fix casing in phonon include to lower case. Qt ships phonon in lower case directory. 2011-05-05 19:37:23 +02:00
elafargue
6845a77571 Add GPL & authorship info to experimental PowerLog utility in the soruce repository. 2011-05-05 14:54:18 +02:00
James Cotton
80d4589743 Add assert when enum set to invalid value 2011-05-05 01:23:43 -05:00
James Cotton
3d3a4e9572 OP-481: Make max TurboPWM through Config gadget 400 Hz, and change tabstop
order to make more sense.
2011-05-05 01:13:58 -05:00
James Cotton
21a71e5294 Merge branch 'master' into spin_while_armed
Added back the "Spin arming" button to output panel and made it work
Conflicts:
	ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp
	ground/openpilotgcs/src/plugins/config/output.ui
2011-05-05 00:23:51 -05:00
dankers
6d30da68e6 Windows backslash issue for an icon, thanks Buzz! 2011-05-04 20:06:24 +10:00
dankers
35f787dde6 Slight update to default config 2011-05-04 19:48:18 +10:00
dankers
b10f1db55e Update ah.png icon 2011-05-04 19:31:56 +10:00
dankers
5a5e878a80 State we are a alpha release 2011-05-04 19:08:03 +10:00
dankers
f21e33833e Add one more icon 2011-05-04 18:50:50 +10:00
dankers
12fd32eb96 Use new icons for the workspaces 2011-05-04 16:27:38 +10:00
dankers
69192f0594 Add some new icons for the GCS 2011-05-04 15:46:05 +10:00
dankers
5e355e82bf Default background less crowded and cleaner 2011-05-04 13:07:22 +10:00
elafargue
4c80b458c4 OP-468 Config gadget now detects CopterControl and Mainboard and updates its controls to setup TurboPWM accordingly. 2011-05-03 16:50:31 +02:00
elafargue
9c4fa5214e Better default configuration more suited for CopterControl. 2011-05-03 13:41:53 +02:00
elafargue
d4a021242c Bugfix: in some rare cases, the GCS could crash if the Scope Gadget configuration contained a non-existing UAVObject name. 2011-05-03 10:54:38 +02:00
David Carlson
46566d05e8 The "Dave is not a robot" bug. Small case change for config gadget artwork, quad images. 2011-05-02 23:25:54 -07:00
James Cotton
bd06f156da OP-474: Config gadget option for the "spinning while armed" check box 2011-05-03 00:42:47 -05:00
dankers
3103fc8e13 Update shapes to have a more subtle shade of red 2011-05-03 12:38:24 +10:00
James Cotton
e75e6c86ea Merge branch 'master' of ssh://git.openpilot.org/OpenPilot 2011-05-02 16:19:32 -05:00
James Cotton
028b731a5b Make the boards look better in the Uploader gadget 2011-05-02 16:19:19 -05:00
elafargue
ff51e996f6 Make config gadget artwork on transparent background, as well as curves. Looks much much better! 2011-05-02 22:56:01 +02:00
elafargue
37359a82b9 New SVG rendering of multirotor shapes for the config gadget, thanks Haalvard! 2011-05-02 22:18:26 +02:00
James Cotton
d9221fac06 Merge remote-tracking branch 'origin/OP-452_InputConfiguration' 2011-05-02 03:40:59 -05:00
James Cotton
1f36e00287 Merge remote-tracking branch 'origin/OP_442_OP_437_PT_Dreamer' 2011-05-02 03:34:09 -05:00
elafargue
2c89d34e2a Merge branch 'master' into OP-367_UAVObject_Query 2011-05-02 09:14:21 +02:00
elafargue
30751b4eb2 OP-463 Fix Phonon includes for better cross platform compatibility. 2011-05-01 15:19:36 +02:00
elafargue
874ac25d8b Merge branch 'master' into OP-367_UAVObject_Query 2011-04-30 23:48:45 +02:00
elafargue
b2f62e724b OP-456 OP-459 OP-460 and OP-461 fixed. 2011-04-30 23:43:01 +02:00
elafargue
358902156c Merge remote branch 'origin' into OP-367_UAVObject_Query 2011-04-30 21:42:34 +02:00
James Cotton
46ea18f54b OP-449: Just UI layout to make longer message fit 2011-04-30 12:49:43 -05:00
elafargue
6b00ed3866 NACKs implemented on both ground and flight side, connect time goes under a few seconds now. 2011-04-30 19:32:42 +02:00
elafargue
1c6d760371 Updates on ground side, corrected bugs. 2011-04-30 17:50:36 +02:00
elafargue
f234651d9c Implemented NACKs on UAVTalk on the ground implementation. 2011-04-30 16:52:07 +02:00
James Cotton
5ef47a1253 OP-449: Changed message in input configuration to correctly describe situation
where channels not mapped so receiver is not detected
2011-04-29 18:00:20 -05:00
zedamota
42c2b7193a Should fix the impossibility to choose a non existing file to download FW to. 2011-04-29 21:50:58 +01:00
elafargue
61e8df8b20 Implemented stabilization tuning UI improvements as per OP-429. 2011-04-29 22:39:24 +02:00
elafargue
9e26d7edcc Feed Forward settings now moved to "Advanced" tab. Will initiate review. 2011-04-29 22:25:31 +02:00
elafargue
cdc0839e6e Move the feed forward settings to a "Advanced" tab: not thoroughly tested yet, but feedback welcome at this stage. 2011-04-28 16:53:00 +02:00
elafargue
dd7c6820f1 Merge branch 'master' into OP-320_Erase_all_settings 2011-04-27 14:30:46 +02:00
James Cotton
819bc9d441 Merge branch 'master' into OP-430_Ligi_UAVTalk-Code-Review 2011-04-26 12:49:32 -05:00
elafargue
53685faabe Update dialog on configplugin 2011-04-26 19:27:29 +02:00
elafargue
c49382cdec OP-444 : changed the error message to a QMessageBox as requested. 2011-04-26 18:02:32 +02:00
elafargue
921fe640a8 Forgot a small change to make sure that in case the request times out, we get an error. 2011-04-26 00:53:37 +02:00
elafargue
ce6987ffab Added a menu entry in the Tools menu to erase all settings.
Note: on CopterControl, this fails if all settings are at default value sometimes, due to something going on flight-side, not quite sure what.
Please test & report how it is working on your board, be sure to save your settings somewhere first!
2011-04-26 00:45:08 +02:00
Oleg Semyonov
f9953c8235 Change reference to svn by git (in comments, no code change) 2011-04-24 20:23:20 +03:00
Oleg Semyonov
2ca0dc72cc No more .svn r/o subdirectories, no need to remove them 2011-04-24 20:17:44 +03:00
Oleg Semyonov
af8e7c38f8 Change version info scripts to use git instead of SubWCRev svn utility 2011-04-24 20:15:59 +03:00
marcus bueschleb
93358ee4ae rm useless code 2011-04-20 11:38:20 +02:00
elafargue
f0bfffda09 Merge branch 'master' into OP-372_Edouard_UDP-connection-menu-name 2011-04-18 08:44:58 +02:00
dankers
309929245b Add help icon to config gadget, had this hanging around for a while, just getting ready for move to Git.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3169 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-17 09:04:09 +00:00
Edouard Lafargue
cd1922cd52 Now the dropdown menu behaves better with unconfigured IP connection plugin. Restored the
type of connection for better clarity too ("Serial", "USB", "IP", "UDP", etc).
2011-04-17 08:34:35 +02:00
corvus
08eabd21e4 Fixed files with mixed line endings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3168 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-15 12:03:20 +00:00
peabody124
3afdc7e41c CC-24: Rotate the CC board at any angle relative to "flat and level" with GCS
config plugin updates.  Has not been tested in flight yet although seems
sensible so please be careful when using this code.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3166 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-15 06:37:16 +00:00
peabody124
9c4432b097 Fix tricopter configuration. 2946 for a second rudder had a bug.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3156 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-11 18:47:50 +00:00
pip
697b8d2a13 Fixed problems that blocked compiling on Windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3153 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-11 10:07:06 +00:00
jonathan
55cba70bd7 spellcheck comments: no substantive changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3149 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 18:32:19 +00:00
jonathan
c57ea90657 OP-191: Refactor some routines that will be common to both coarse and fine calibraiton;
Save the aircraft's initial calibration scalers and restore them in the case of a calibration failure;
Add sanity checks for calibration scale factors to prevent making things worse in the face of a failure;
Correct sign of the gyro_bias when resetting this value to its default;


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3148 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 18:29:53 +00:00
jonathan
8f26a6fa83 OP-191: Spellcheck comments. Also, prevent an infinite loop in the case of a terrible calibration point set.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3147 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 18:25:52 +00:00
edouard
92944dcfcb OP-374 Disable "Rescue" button during rescue procedure, to avoid people pressing it twice...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3145 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:46:41 +00:00
edouard
7f445c8a08 OP-375 Also update in share directory for GCS installation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3144 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:37:52 +00:00
edouard
e8b4ef6954 OP-373 Uploader gadget now checks whether the autopilot is connected already when it starts, so that it displays the right state.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3142 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:23:03 +00:00
edouard
103b290cc5 OP-376 More updates for DIal plugin config page.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3141 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:18:45 +00:00
edouard
0f9fb49fbc OP-376 Make the Analog dial plugin options page display much better when resizing the dialog.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3140 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:13:29 +00:00
dankers
d1aa380b01 Minor change of the messages displayed. In a smaller screen size this save the gadget shifting slightly for the longer message.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3139 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 03:44:58 +00:00
edouard
f29f0477d4 Make tooltips and text even more clear for arming procedure.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3135 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 15:37:57 +00:00
ligi
8e7fd4da81 adding juavtalk
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3132 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:32:26 +00:00
ligi
23ab893f38 updating readme on how to build jar
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3130 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:25:42 +00:00
ligi
bb9306d018 - fill deserializing gaps
- byte->int for arraypos and fieldid ( better save than sorry )

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3129 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:25:15 +00:00
ligi
2d315d791a adapt to path changes in build dir
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3128 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:08:57 +00:00
edouard
640e9afc39 OP-371 Update all config dialog buttons to Apply/Save instead of Save to RAM/SD.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3127 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-08 20:17:41 +00:00
erhard
65e8077d31 Fix 64-Bit Linux build problem in QT-Creator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3122 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-03 16:25:21 +00:00
edouard
da6530537b OP-347 Implement the option to reverse the input controls on the config gadget: this is mostly useful for people with TX which do not offer this option. Tested on my small hex.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3121 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-03 06:47:07 +00:00
pip
5c69e94e83 Fixed min/max code error.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3119 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-02 12:49:58 +00:00
pip
aa84845c1e Added the option to link output channels when in "Test Output" mode - useful for testing quads, hexes etc.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3118 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-02 11:58:19 +00:00
zedamota
fca5a42949 OP111/OP112/CC38/GCS
CC-38 - Map now has Dragons.
OP-111 - Added the capability to plot trail lines. Trail dots/lines can now be shown/not_shown by selecting the option on the maps context menu.
OP-112 - UAV icon on the map is know selectable on the maps options page.

Also fixed an issue with the UAV/Trails not being shown while replaying logs.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3117 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-01 19:21:17 +00:00
corvus
63f4ba514f GCS/HITL/Xplane9 - added correct quaternion calculation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3115 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-01 15:11:09 +00:00
edouard
89061ac606 OP-357 Config gadget now checks whether the autopilot is connected already when it is instanciated.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3114 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-31 20:48:43 +00:00
edouard
ae32af82b1 Bugfix: swapped ProductID in the USB constants!!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3113 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-31 20:16:40 +00:00
corvus
b78c3ad0a8 GCS:Hitl/IL2: no explicit updates since periodic updates now work
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3109 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 20:31:22 +00:00
corvus
ff3ed79bdf GCS:plugins/uavtalk/telemetry.cpp bad Bug in processPeriodicUpdates, remaining time updated in copy instead of original object, never got stored.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3108 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 18:50:27 +00:00
corvus
a4cbbfd016 GCS/Plugins/HiTL: Updated Xplane to provide correct measurements for all Stabilization and Guidance relevant data. Based on Export format for Xplane 9!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3107 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 15:59:53 +00:00
zedamota
282661734e OP309/OP179/GCS - Fixes maps cache location not being selectable, now defaults to "C:\Users\name_of_user\AppData\Roaming\OpenPilot\mapscache" on windows, no idea where this goes on nix.
Also tried to fix crashes seen on Mac, but I'll need a Mac or a stack trace to do a better job.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3106 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 15:57:53 +00:00
edouard
b125e51251 CC-33 Now the config panel only shows the relevant panel once the board is connected.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3105 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 20:32:09 +00:00
zedamota
06826840aa OP356/GCS - Update uploadergadgetwidget to cope with latest changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3104 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 18:43:53 +00:00
zedamota
6bcacb1630 OP356/GCS - Makes the dropbox show devices "friendly name". Type of connection and previous serial number accessible via tooltip.
Kind of hacky, we should refractor connectionManager but that can wait for after V1.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3103 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 18:25:24 +00:00
peabody124
cebca6f67e OP-349 CC-32: Improved the object save confirmation logic. It's got a lot of
checks in there so pleaes let me know if people get any segfaults.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3099 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 01:29:56 +00:00
peabody124
4326a323e4 OP-353: Display confirmation when testing motors advising to remove propellors
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3098 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 00:15:56 +00:00
peabody124
aabe652451 Improved transmitter icon. Thanks Murlaha!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3097 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 00:15:38 +00:00
peabody124
f09763b0a6 OP-36: Remove debug
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3096 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 00:15:27 +00:00
peabody124
1e8e2f89fd OP-36: Save button for CC attitude bias
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3095 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 21:31:44 +00:00
edouard
57adfdb708 CC-39 Have GCS detect whether the board is a CC or an OP, and update the INS calibration widget accordingly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3094 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 21:15:44 +00:00
peabody124
48c20d37a9 OP-349 CC-32: Added a Completed operation that is returned after successful
save or load

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3093 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 19:16:50 +00:00
peabody124
687d4f7cc8 OP-36: Forgot some files with previous commit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3092 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 19:16:38 +00:00
peabody124
e70fe52966 CC-36: Added panel to config gadget for zeroing the bias on CC. Ed will make
the appropriate window show for CC or OP calibration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3091 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 18:43:15 +00:00
peabody124
cdb521ac4a OP-328: Use removal callback when device unplugged and also added mutexs to
protect the list of devices from race conditions.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3089 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 15:39:35 +00:00
peabody124
852e6072c3 Break the input and output configuration into separate config gadgets
Anyone who wants to, please improve my transmitter icon.  I am not an artist.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3088 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 15:39:22 +00:00
sambas
64cacc2c69 Better init values for gyro_scale, I had problems getting gyros calibrated.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3087 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 15:29:21 +00:00
peabody124
3bdcdb94fa Make the Eigen library compile on OSX again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3085 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 10:41:10 +00:00
peabody124
c0d481431c OP-354: Layout out the flight mode settings a bit more intuitively and so the
labels are properly shown

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3084 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 10:40:46 +00:00
peabody124
4120937391 OP-364 OP-191: Convert the OPMap setting of HomeLocation to mGau to match the
changes in flight code

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3083 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 10:40:26 +00:00
jonathan
9b8494e9f6 OP-350: Resolve this bug by explicit local stack alignment annotations. The Win32 ABI only guarantees an 8-byte aligned stack, but SSE requires 16-byte alignment.
OP-191: Include code for computing the misalignment rotation, but #ifdef it out until the feature freeze is lifted.
OP-191: Clean up UI to inform the user that HomeLocation must be set prior to multi-point cal, and disable multi-point cal's start button until it is done.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3082 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-27 20:26:29 +00:00
edouard
1ef9eceac5 Lower amount of debug output in Linux USB Monitor.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3079 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:57:16 +00:00
edouard
332cafa8b8 Improve behaviour of Uploader gadget whenever the board does not manage to get into bootloader mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3075 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:22:31 +00:00
edouard
34fffd0e50 CC-39 New helper function to get the Board model (synchronously). Will be used by config gadget to dynamically load the right interfaces for the board type.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3073 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 01:25:26 +00:00
edouard
81269f786e USB Stability fixes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3071 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 14:50:23 +00:00
erhard
79c4b2fe76 OP-358 GCS: Just keep the default dials in the dials showcase
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3069 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 13:05:29 +00:00
edouard
8a6f83e232 OP-352 Reorder config gadget widget to have a more logical order.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3068 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 12:16:49 +00:00
edouard
417e637904 Sorry...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3067 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 11:24:27 +00:00
edouard
9d0ce95b37 Attempt to fix GCS crashes on USB disconnect: please confirm on other operating systems it is still working fine in all situations.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3066 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 10:59:24 +00:00
chebuzz
c00090391b OP-342 GCS/ModelView - Update glc_lib to newest 2.1 release (fixes known issues) and update modelview to use this new lib.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3063 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-22 21:15:46 +00:00
peabody124
593ccfad7b OP-334 USB HID now working again on mac
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3060 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-22 11:50:26 +00:00
jonathan
32430a3b15 OP-191: Merge from full-calibration branch. Replace 6-point calibration with multi-point TWOSTEP-based calibration. Currently uses 22 points, but can scale up or down as needed. Simultaneously computes gyro bias, accelerometer bias, accelerometer scale factor, accelerometer orthogonality, magnetometer scale factor, and magnetometer bias calculations.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3058 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:54:09 +00:00
jonathan
baf848d4f0 Attempt to get a useful error string when we cannot connect to a USB device;
Fix typo.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3056 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:50:15 +00:00
jonathan
44e3466e0a OP-191: Merge from full-calibration branch. Add an implementation of TWOSTEP, including bias-only, bias + scale factor, and bias + scale factor + orthogonality calibration methods.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3053 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:45:40 +00:00
jonathan
e40f6752bd OP-191: Merge from full-calibration branch. Import Eigen 2.0.15 to the GCS. Add the bits that eclipse missed the first time around.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3052 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:44:22 +00:00
jonathan
bf191fed27 OP-191: Merge from full-calibration branch. Import Eigen 2.0.15 to the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3051 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:43:09 +00:00
edouard
f2a7f8e187 Add Powerlog plugin to plugins.pro (disabled)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3050 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-20 15:55:43 +00:00
edouard
11f7766ab4 Raw HID plugin: improve initialization in case another plugin wants to use the USBMonitor.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3049 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-20 15:55:02 +00:00
edouard
d10dd33016 This is a GCS plugin which adds an entry in the 'Tools' menu to get the output of the Junsi PowerLog6S. This plugin is not enabled by default.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3048 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-20 15:54:23 +00:00
fredericg
ef1dcf6939 rename batterysettings.xml => flightbatterysettings.xml
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3046 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-19 18:31:58 +00:00
edouard
03a5e78897 Junsi Powerlog utility: output data in CSV format, so that it is actually useful. Works great to make graphs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3044 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-17 18:12:08 +00:00
chebuzz
1e59cc79ec GCS/MagicWaypoint - Missing dependency for magic waypoint in .pro file that caused build to fail when using multiple jobs (-j2, -j12, -jX...)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3043 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-16 08:04:44 +00:00
edouard
7100c2e9cd Better phrasing for telemetry configuration interface.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3041 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-15 14:24:40 +00:00
edouard
823f814d85 OP-330 Log replay does not crash at the end anymore.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3039 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 22:27:26 +00:00
edouard
c355dfff44 OP-250 Update menu entry for logging so that it reads "Stop logging" when logging is going on.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3038 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 21:23:26 +00:00
edouard
2d847fe4d7 Update OpenPilotGCS.ini (default config) to use the latest artwork and dials configuration.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3034 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 16:15:30 +00:00
edouard
89fc8141fc OP-228 Make System Heal gadget aware of link status (autopilot connected/disconnected). A new version of the diagram is bundled which displays the status, you will have to update your configuration to use it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3033 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 15:08:02 +00:00
edouard
581d2497c8 OP-247 Scope gadget: restore checked/unchecked state of curve legends when unhiding.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3032 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 14:14:52 +00:00
edouard
afb7aaf374 OP-334 : reverted opening method in RawHID plugin, as the new pjrc_rawhid class does not play nice with the USBMonitor system in case several devices with the same PID/VID are present on the system (such as two PipX for example)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3031 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 13:03:11 +00:00
corvus
9859829fcc HITL/IL2: Fixed calculation of AttitudeRaw.accel[XYZ]
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3025 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-11 20:16:31 +00:00
zedamota
e1eaf4d132 OP GCS/HID - Now found the true problem, I just need to find an hungry French monkey now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3024 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-11 18:52:44 +00:00
zedamota
162deda2ba OP GCS/HID - Fixes a problem created with the conversion of the monitor class to singleton. I don't quite understand the problem so this is just a quick fix. Also changed PipXtreme gadget to use new PID.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3023 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-11 18:42:32 +00:00
edouard
cb95edaedc Upate RawHID plugin to cope with the new PID/VIDs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3021 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-09 18:55:06 +00:00
edouard
bfed85a9b0 Update uploader gadget to use the USB monitor to get the list of available devices.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-09 00:07:07 +00:00
edouard
51a8a2d525 OP-334: Make the USBMonitor a singleton and export its symbols in the RawHID plugin, so that other plugins can use its instance(). Also implement a way
to ask for devices in bootloader or running mode.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3012 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 23:59:29 +00:00
edouard
6dcb9b2dcc use constants in the rawhid plugin instead of hardcoded VID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3004 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:16:50 +00:00
pip
5c7e74e169 Removed commented out un-used signal/slot
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3003 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:07:41 +00:00
pip
69b930899c Removed un-needed signals.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3002 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:06:57 +00:00
edouard
191df1a118 Small utility to parse the output of a Junsi PowerLog6S, should work on Linux, Windows & Mac. Testbed for the HID library and USB device detection we're working on, not directly related to the GCS...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3001 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:00:26 +00:00
edouard
18a39c964e Corrected several typos in the device detection code, improved Linux detection (more efficient).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 21:50:13 +00:00
edouard
c1546d818f OP-328 Stub for MacOS support of USB Monitor.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2999 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 20:38:34 +00:00
edouard
61c8ea9185 OP-334 Now fill the bcdDevice and other fields (except HID page info) on Linux too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2994 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 22:57:34 +00:00
edouard
cc1a53417d Barometer in High-contrast theme was missing from the share directory. Added.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2991 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 17:34:28 +00:00
osnwt
6a0a8f00c9 OP-305: fixed syntax error when building on Windows under sh
Line:
  $(CHK_DIR_EXISTS) dir $(MKDIR) dir
under cmd translates into
  if not exist dir mkdir dir
but under sh it becomes
  test -d dir mkdir dir
which is syntax error.
So CHK_DIR_EXISTS removed, MKDIR made unconditional.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2989 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 13:38:30 +00:00
zedamota
0eb0f4365a OP GCS/HID - just added the Usage field to the USBPortInfo struct.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2977 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 15:58:17 +00:00
sambas
8fb82584b1 removed some redefined warnings in windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2976 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 13:51:29 +00:00
pip
5c01155c4f oh ***! .. to early on a Saturday morning to be doing this .. sorry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2974 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:55:38 +00:00
pip
1db840ed8a Correct mistake just made in "ConnectionManager::connectDevice()"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2973 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:19:37 +00:00
pip
7fe74cda15 We weren't closing the device (after opening it) if "io_dev->isOpen()" returned false in the "ConnectionManager::connectDevice()" function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2972 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:17:18 +00:00
edouard
e290d37df5 Fix logging gadget for replay speed setting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2969 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 23:22:49 +00:00
pip
63d919dbbe Removed monitor (SIGNAL/SLOT) for deviceClosed event. will remove the device closed stuff in rawhid if alls well later
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2968 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 23:16:51 +00:00
zedamota
ea5d4367b4 OP GCS/HID - function to filter based on VID/PID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2965 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 20:49:18 +00:00
pip
fe6b41e6f9 Fixed problem with GCS crashing in windows when GCS exits still connected to USB device
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2964 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 20:42:47 +00:00
zedamota
492152d506 OP GCS/HID - 3rd try, sorry guys
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2963 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 19:26:11 +00:00
edouard
f2fc9b03d4 OP-334 Better exit code for the RawHID plugin (termintes usb monitor)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2962 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 09:59:43 +00:00
zedamota
3e52d08b2b OP GCS/HID - BIG fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2959 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 02:17:46 +00:00
pip
f8f25bf2d2 Added exception catches in known problem areas if GCS is closed while it's still connected to a USB device.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2958 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 22:03:03 +00:00
edouard
e4535ed575 OP-334 OP-332 Linux usb monitor working fine now, and rawhidplugin.cpp updated to use this new mechanism, no more polling thread opening the device every second!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2957 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:44:59 +00:00
zedamota
623bdb6298 OP GCS/HID - small fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2956 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:14:56 +00:00
zedamota
18eef2f532 OP GCS/HID - Moved notifications to a new class
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2955 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:03:24 +00:00
edouard
086f78b6b8 OP-334 Progress on USB Monitor, compatible with both Win32 and Linux
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2954 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:00:37 +00:00
edouard
cd3168d123 OP-334 Further work on USB Monitor, incl. Win32 stub.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2952 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 16:58:48 +00:00
edouard
1c89211df1 ... sorry
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2950 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 13:43:45 +00:00
edouard
c01329810a OP-334 Linux start of implementation and Windows stub to enable compilation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2949 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 13:41:13 +00:00
edouard
28d4bbbcfb OP-332 Linux work in progress implementation (not compiled right now)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2948 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 11:37:09 +00:00
edouard
bce469c184 OP-334 header file for usb monitor object, work in progress.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2947 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 08:46:56 +00:00
scott
afc788bea4 Added 2nd rudder to fixed wing config. This is necessary for flying wings, in particular, that have rudders on the wingtips.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2946 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 05:33:51 +00:00
vassilis
b084ea7ea1 FlightPlan/Python: Updated object generator to create a Python file for each UAVObject. It is now possible to access all UAVObjects from the FlightPlan Python scripts.
Warning: The memory utilization when importing objects is unacceptably high making it unusable in the flight code at this point. It can be however used with the SITL simulator. Some more investigation is needed to understand why several kb of memory are used each time a module is imported (even before any functions are called or objects from the module are created). 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2938 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 02:22:50 +00:00
edouard
870242d456 Changed the save GCS settings menu text to a more precise description since there are now three elements which can be saved..
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2937 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 13:10:04 +00:00
peabody124
c21e9f74b3 OP-329 Make the stabilization mode config gadget compatible with new mode.
Feel free to revert the layout change part - but I'm trying to make it clear
that "stabilization1" no longer naturally matches "position1"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2936 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:47 +00:00
peabody124
39588fef39 UAVParser: Support comments in objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2934 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:40 +00:00
peabody124
8930ec01de OP-313 Quaternion based stabilization, gets rid of lots of checking angle
signs, should be stable for all orientations

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2932 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:34 +00:00
osnwt
52643dd6c6 OP-305: remove r/o attributes from copied .svn/* files (share.pro)
Those files are copied to make built GCS self-contained, but share.pro also
copies hidden and r/o SVN files. With them on Windows cp -rp can't copy over
old build, and rm -rf can't remove them.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2928 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 22:23:12 +00:00
pip
eb5b97ca3a Added widgetbar for RSSI indicator because QProgressBar going in large steps.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2925 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:50:42 +00:00
pip
1a83f0c461 Removed all references to widgetbar
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2924 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:50:04 +00:00
zedamota
53e18382b3 OP GCS/HID - Added functions to allow already connected devices to trigger the signals.
For this to work, signals have to be subscribed before calling "setUpNotifications()".

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2921 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 21:01:02 +00:00
pip
4eec350318 Neutral position text is now correctly set on GCS start up on the RC input config widget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2920 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 17:27:28 +00:00
pip
ffdfedfaa1 Reverted RC input config widget to using sliders to allow manual adjustment
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2919 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 16:44:04 +00:00
pip
6e12a2f04c Fixed linux compile problem.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2917 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 10:15:56 +00:00
zedamota
b8a5249246 OP GCS - sorry made a mess dealing with conflicts
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2916 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 01:37:25 +00:00
zedamota
0c2a563c34 OP GCS - created USB connect/disconnect signals for windows using the system API.
Need to call setUpNotifications first!!!

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2915 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 01:01:57 +00:00
pip
49170f0628 Monitor telemetry disconnection.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2914 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 00:35:11 +00:00
pip
a2cf1c4673 Now able (hopefully) to unplug USB device from PC whilst the GCS is still connected to it via USB .. in WINDOWS ONLY.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2913 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 00:34:31 +00:00
pip
011abe3117 Added deviceUnplugged emitted signal in windows version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2912 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 23:14:04 +00:00
pip
ed4aefbb95 Removed unneeded mutex in the enumeration thread.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2911 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 21:15:32 +00:00
pip
f15bd6259e Cosmetic graphical display changes to the RC input config display.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2909 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:52:03 +00:00
pip
4e89c1f245 Updated servo input level bars. Disable some buttons if no telemetry link with OP/CC.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2908 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:20:43 +00:00
pip
d38c44f529 Cleaned up and made the pjrc modules purely C++ - they were a mix of C++ and static C functions and data :( ... although NOT altered the MAC code - someone who knows MAC code needs to do that.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2906 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 17:07:41 +00:00
pip
e3b6a29bfd Possible fix for mutex lockups on GCS exit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2905 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 14:39:56 +00:00
pip
2eaedfe78a Hopefully a fix to stop the GCS crashing on exit (in windows at least) if the GCS is still connected to a USB device whilst telemetry is in full flow.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2902 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 11:58:58 +00:00
pip
efd12532eb clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2901 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:27:04 +00:00
pip
47f9808e9f clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2900 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:26:50 +00:00
pip
4afdb8c478 clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2899 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:26:18 +00:00
edouard
21a31df392 Better tooltips on stabilization config interface. Removed remaining "AHRS" references in the INS config interface.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 18:05:30 +00:00
edouard
f41cfc3d00 New CopterControl rendering in full SVG for the uploader gadget, should look much nicer than the previous pixmap.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 18:01:41 +00:00
edouard
b4cacbcf76 Sorry, had to change the connection detection, it makes the Linux library crash immediately...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2892 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 14:53:06 +00:00
edouard
dc9efb4d55 Added the Guidance and Attitude system alarms to the system health diagram.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2891 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 14:01:20 +00:00
edouard
4d76926561 Compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2890 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 13:53:50 +00:00
pip
770c623f34 Removed TestThread stuff
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2889 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 13:35:50 +00:00
pip
77cbc36ad5 Added object destroyed monitoring to the RawHIDEnumerationThread object to ensure it doesn't crash if it's parent (m_rawhid) is destroyed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2888 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 12:56:14 +00:00
edouard
6d00146a2b Removed the availableDevChanged(QObject*) in rawhidplugin.h as it hid availableDevChanged(IConnection*) and prevented
the connection manager from getting the signal whenever a USB device is connected/disconnected. Any side effect on Windows?




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2887 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 12:01:00 +00:00
edouard
930928e6fa OP-146 More tooltips for stabilization tuning. Someone double-check...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2885 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 09:11:53 +00:00
edouard
3b6ebdcd9f OP-146 New gyroscope icon for the stabilization config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2884 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 09:03:30 +00:00
pip
70f1e4a3e9 Can't for the life of me remember what I updated this time!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2883 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 03:20:16 +00:00
pip
333d61192b Stopped GCS crash on exit if USB is still connected - at least in Windows anyway.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2882 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 03:19:24 +00:00
edouard
6e431c29ba OP-146 Max angles can now be adjusted from the stabilization config dialog.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2881 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 23:05:23 +00:00
edouard
495445c3a5 OP-146 Stabilization configuration: can now update stab settings in real time on the airframe, and link roll/pitch for easier adjustment...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2880 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 21:17:07 +00:00
pip
09786b763f Changed the RC input sliders for vertical bars. Simplified some code areas.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2879 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 20:43:58 +00:00
pip
81baa9506a Added 256Kbit/s RF datarate mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2877 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 11:40:02 +00:00
pip
5f22a885ad oops! .. missing spelling of "#ifdef"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2873 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 10:35:27 +00:00
pip
3883a561e4 Added option (#define USE_SCIENTIFIC_NOTATION) to use scientific notation (or not as the case maybe)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2872 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 10:31:23 +00:00
pip
223b3089ed Added missing "parameterValueChanged(double value)" function in "configstabilizationwidget.cpp" .. wouldn't compile in windows without it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2871 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 08:58:21 +00:00
edouard
3d26b4ec60 OP-146 Slow progress on the stabilization configuration UI. New approach, more efficient. Not functional yet but we'll get there eventually.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2867 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 23:06:35 +00:00
osnwt
a4fe867c1d GCS: UAV Settings Export: added support for *.ini files.
INI file format is to be used for compact export to publish on forums, etc.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2866 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:36 +00:00
osnwt
bd665790c2 GCS: UAV Settings Export: added support for simple *.xml files.
UAV Settings files (*.uav) now include option lists for enum fields.
Simple XML files (*.xml) contain only subset of fields (name and values).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2865 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:19 +00:00
osnwt
606cc46ea1 GCS: New UAVObjectField::getTypeAsString() function is used for UAV Settings Export.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2864 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:05 +00:00
osnwt
da18ee67b1 Windows Installer: Ignored SubWCRev error (if, for instance, built not from an SVN working copy).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2863 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:26:50 +00:00
pip
20e95027b1 Changed the scopes minimum update period from 100ms to 10ms (for those that can have fast scopes)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2862 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 15:31:05 +00:00
pip
c819ac938e A few clean ups to the spectrum scanning code (not yet enabled)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2860 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 09:35:30 +00:00
edouard
7d2b5ae744 OP-146 Stabilization config interface: this is a work in progress, and a pure mock-up of the UI, I would like feedback.
The idea is to use a 'vernier' dial analogy, whereby you can either of course edit the values by hand in the config dialog, but you can also select the outer dial and adjust it with either mouse or keyboard (up/down and pgUp/pgDn).
Eventually, there will be a tab for the P factor, a tab for the I factor, and a tab for the rest of the adjustments (rate limits etc).




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2847 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 22:03:32 +00:00
pip
931102bf37 Added more error checking (checking for NULL pointers)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2835 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 15:33:20 +00:00
pip
3dcd93e66b Added telemetry functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2834 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 15:10:06 +00:00
pip
1bb5ed54ff Added save to SD card functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2833 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 14:14:59 +00:00
pip
5e501f3cae Fixed Lat/Lon scaling in the GetHomeLocation functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2832 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:50:31 +00:00
pip
9b10842f5d Updated some parts of the map plugin to use the new UAVObject utility.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2831 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:33:10 +00:00
pip
a5f17b148b Added getGPSPosition() function to the UAVObject utility
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2830 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:32:22 +00:00
pip
d666a61bf5 Created a new UAVObject utility plugin to make UAVObject access much easier for all plugins
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2829 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:21:02 +00:00
pip
ba7e7ba85d Check for error returned from homelocation util.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2828 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:17:30 +00:00
pip
4a1842f3be Added code to check for invalid parameters.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2827 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:15:39 +00:00
pip
32ae936df5 Uses the new home location utility
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2826 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:09:20 +00:00
pip
7a34e25956 Added a home location utility
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2825 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:08:56 +00:00
edouard
06a8fdb45d Change AHRS to INS in the config gadget widget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2814 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 23:04:38 +00:00
osnwt
7af611139e GCS Installer: fixed German translation, thanks to Wellenbrett
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2807 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-18 08:47:02 +00:00
corvus
015e49ee5a some comments about gyro temp calibration added inbto the code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 15:32:26 +00:00
corvus
50e78b4265 typo fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 01:51:49 +00:00
corvus
a91a35685a IL2 add quaternion attitude and accels
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 01:51:45 +00:00
osnwt
fe2a43e07f GCS: Fixed UAVSettingsImportExport plugin dependencies. Also unified comment capitalizations and fixed few descriptions. No code changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2800 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-16 14:30:19 +00:00
pip
ac7cfcc358 Added "Ready-To-Send-Time" parameter adjustment
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2795 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-15 12:57:46 +00:00
pip
b10c1a4cad Can now show/hide the scope legend by double clicking the scope.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2793 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 10:19:18 +00:00
osnwt
ceea6085b4 GCS: Remove ambiguity in UAV/GCS Settings Import/Export menu commands, add support for translation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 10:15:56 +00:00
andrew
c6e228e768 OP-299 Swashplate Levelling UI
Added core functionality for levelling routine
Added instructions to each step
Added warning dialog if user tries to interrupt levelling process

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2790 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 05:46:45 +00:00
pip
e8e27f9696 Smaller axis text size.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2784 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 00:44:33 +00:00
edouard
5bc0641d09 Fix a small typo in the tooltips of the config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2783 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 21:31:38 +00:00
pip
e2b22039f1 Darkend scope curve indicator area to try to make it easier to match the colour with a scope line.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2782 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 21:04:31 +00:00
osnwt
eec4959391 UAVSettings Import/Export plugin (import is not implemented yet).
This plugin registers itself in the GCS File menu and allows to save the settings database (all UAVObjects which have settings flag set) into an XML file. No import function is implemented yet, but the XML is human-readable and can be used to enter values by hand.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2781 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 20:11:41 +00:00
edouard
d0d5d2db4e OP-308 Make actuators read-only and set them to zero when running calibration, so that engines cannot be started by accident.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 19:10:29 +00:00
edouard
bcdad47e1c OP-308 Added a warning in red to warn users about engines connected during calibration.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2777 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 17:08:45 +00:00
pip
e5c56e462e Oscilloscope now has finer lines for seeing detail.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2774 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 10:11:51 +00:00
edouard
40fc5f9618 More descriptive label for arming settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2767 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-10 22:36:42 +00:00
andrew
b793a33baf OP-299 Swashplate Levelling UI
Minor graphics tweaks

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2764 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-09 05:04:07 +00:00
edouard
04ba1261f0 OP-311 New "Arming" tab in the config widget to setup how the airframe is armed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2763 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:49:33 +00:00
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
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