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

1851 Commits

Author SHA1 Message Date
peabody124
21b4e55029 OP-14 OP-16: I2C Improvements
1) Added nack counter monitoring
2) Made timeout for getting semaphore in I2C user space code use the one from
driver and record timeouts.  This does not influence timeouts in the non
FreeRTOS case
3) Remove case block from the error handler so that all bus errors reset the
i2c interface

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2469 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:12 +00:00
peabody124
8959007a38 Flight/Actuator: Log the longest update of motors in ms, not ms * 10
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2467 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-17 02:11:05 +00:00
edouard
64cb4024c8 OP-278 More thorough checking.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2461 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 23:20:56 +00:00
edouard
85e16cf633 OP-278 Prevent the user from entering red/yellow/green ranges inconsistent with the overall range.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2460 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 23:02:18 +00:00
edouard
b3ca037308 OP-277 Update all files to use a BOARD_TYPE and BOARD_REVISION scheme through the whole codebase.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2458 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 20:41:55 +00:00
FredericG
1ff3a2a900 OP-246 Configuring arming/disarming; added field to ManualControlSetting to define which channel is used for arming or to disable arming
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2454 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 18:15:47 +00:00
corvus
75a6b406cd OP-273 - UAVTalk - prevent object update-bursts caused by involuntary synchronization in case of long delays or time-jumps
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2450 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 15:28:49 +00:00
ligi
5c258a8476 unify the diffrent styles to mark units as not used http://forums.openpilot.org/topic/2811-uavtalk-code-generation/ and unify Degree<>degree
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2439 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 01:45:47 +00:00
ligi
3d3023e9ad new command line options for generator; print all used units on verbose ; new makefile target to test xml files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2438 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 01:45:42 +00:00
ligi
23f0cab0c3 remove autogenerated header files + one forgotten cpp file & .gitignore them
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2437 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-16 01:45:37 +00:00
edouard
1f7f9486c3 Changed logging messages to be more generic and consistent if Uploader gadget used on PipX.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2435 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-15 17:08:47 +00:00
osnwt
290c9c538f Replace decimal OBJID representation in auto-generated headers by hexadecimal (taking advantage of new UAVObjGenerator). It makes easier to read and compare them with files on SD card. This does not change OBJID values and should be completely transparent.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2434 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-15 17:00:17 +00:00
edouard
33ccd49c04 Added support for CopterCOntrol and PipX to the uploader gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2433 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-15 15:54:04 +00:00
peabody124
940792db5c OP-265 CopterControl: Fork main OpenPilot directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2416 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 01:38:24 +00:00
peabody124
982f2dd8af OP-261 Clean up GuidanceSettings to be more intuitive
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2414 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:52:00 +00:00
peabody124
c141b02339 OP-261 Drop PositionPID mode from GuidanceSettings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2413 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:51:57 +00:00
peabody124
aa8d9eb178 OP-261 Magic Waypoint: Accel feedback for position hold
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2412 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:51:54 +00:00
ligi
80bd656c22 removing autogenerated python&matlab/uavobject files with @ref http://forums.openpilot.org/topic/2811-uavtalk-code-generation/
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2409 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 22:17:38 +00:00
ligi
7addbc6c9d remove last autogenerated file for gcs/uavobjects @ref http://forums.openpilot.org/topic/2811-uavtalk-code-generation/
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2408 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 22:17:34 +00:00
zedamota
693c2219ec OP-21/Upload Plugin - Change HW ID to 16bits. Should still be compatible with the old version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2400 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 16:27:10 +00:00
zedamota
1f89ee1865 OP-21/Bootloader - Change HW ID to 16bits. Should still be compatible with the old version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2398 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 14:36:32 +00:00
ligi
3c8ee7a9d0 remove autogenerated gcs/uavobject files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2395 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 09:36:08 +00:00
ligi
dbc5d26605 splitting uavobject generation by language and cleanup:
- all languages to generate where processed everytime. In most runs only flight and/or gcs was needed but also matlab and python code was generated - now uavobjectgenerator has command line arguments to specify which languages to build and there are also new targets in the makefile.
 - generation code for all languages was in the parser section - was bit of a mess in general - now all splitted
 - its now more easy for new devs to add a new language or find relevant code for the language he is interested in

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

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



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

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



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

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

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

Actuator: Store the update times and maximum update time

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

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

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

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

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

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

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

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

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

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



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



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



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

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

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

no code to set these alarms yet.

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

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

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

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

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



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



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



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

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

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

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

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

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

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

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

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

PiOS/I2C: Improve the diagnostic information

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

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

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

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

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



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

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

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


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

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

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

Note: This will require you to reconfigure your ManualControlSettings

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



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2178 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 23:28:38 +00:00
scott
a4ba7fcbee Added option to start Flightgear 1.9.1 simulator as a stand alone application, optionally from a networked computer. Also enabled joystick input to control flightgear for complete manual control and debugging purposes. Joystick needs to be connected and armed in the GUI. Tested on WinXP. UDP receive needs more testing on linux.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2177 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 17:05:53 +00:00
sambas
bf8b9fd00c OP-51: GCS Antenna Tracker plugin, My (first) quick tester plugin for antennatracker. Not included into build. Heavily based on gps display plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2176 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 16:41:53 +00:00
edouard
45b216bf57 OpMap: now the HomeLocation is updated following the actual UAVObject value.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2170 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 20:13:32 +00:00
edouard
02366bf368 OP-35 Further cleanup of Uploader gadget, better debug messages, more reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2169 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 13:44:16 +00:00
edouard
a9cd9ac329 OP-35 Fix to .pro file for Windows. OK, I'll get a Win7 environment going for pre-commit checks...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2168 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 09:39:01 +00:00
edouard
9407eee059 More cleanup on opmap gadget, should fix Win compile errors?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2167 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 08:59:52 +00:00
edouard
353cc99227 Removed unnecessary entries from the opmap.pro (commented out)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2166 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 08:45:23 +00:00
edouard
63c3799521 OP-35 Cleanup of DFU object management, I think I have fixed all the potential segfaults, prove me wrong!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2164 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 23:20:17 +00:00
edouard
6ab6f3e84a OP-35 Now display a picture of the board layout for each device that is detected.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2163 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 22:49:50 +00:00
edouard
b840c5ec40 Update ActuatorSettings to remove obsolete fields.
YOU WILL NEED TO RECONFIGURE YOUR ACTUATORS!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2162 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 20:55:05 +00:00
peabody124
ebcb272da6 AHRS: Add a separate parameter for velocity and position variance and remove
indoor from the name since it's used for both indoor and outdoor mode now.
Increased default value to 0.4 to better reflect the GPS accuracy.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2156 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:08 +00:00
edouard
0c39ead89d OP-35 Only do a 'verify' operation if the device is readable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2152 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 10:44:05 +00:00
edouard
f759998f3b Update to the OPMap gadget: removed waypoint support, since it is out of scope for v1.0.
Besides SVN revisions, I also added a backup .ui file for the waypoint-suuporting UI.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2151 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 10:23:02 +00:00
edouard
fadb00860a Update to map library to avoid unnecessary redraws of the map and UAV icon when updating the UAV position & rotation which caused high CPU usage on the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2139 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 16:41:42 +00:00
edouard
d233d65e86 OP-35 Update to GCS Uploader plugin to reflect latest BL changes. Bug fixes too, should be more stable & reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2138 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-22 22:31:59 +00:00
zedamota
063d517ae7 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2135 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-11-21 18:45:11 +00:00
zedamota
67c579a6f8 DUMMY commit, just to find out my lost password
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2134 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-21 18:16:16 +00:00
zedamota
ec1cea09c6 DUMMY commit, just to find out my lost password
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2133 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-21 17:52:03 +00:00
edouard
05d8e2e36a OP-35 : Attempt at implementing a "Manual" mode which guides the use to get into AHRS + MB BL Mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2130 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-18 23:53:13 +00:00
andrew
884421d5e6 comment out sendReset command so that the CLI tool will upload firmware to hardware.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2128 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-17 06:04:50 +00:00
zedamota
fb21b141ba OP-21/Bootloader - fixed compile issue. Added user space reset function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2125 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 20:30:30 +00:00
edouard
ecb5c719d2 Get rid of yet more compile-time warnings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2124 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:25:14 +00:00
edouard
37a1f602b2 Remove compile-time warning to Raw HID plugin as well.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2123 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:03:45 +00:00
edouard
fbcce4a005 Remove compile-time warning for serial connection plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2122 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:03:18 +00:00
edouard
e1f61b0dee OP-202 Sorry, this is where the logging entries get moved, not previous commit..
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2121 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:02:47 +00:00
edouard
c463abab93 OP-202 Cleaned up the 'File' menu and removed (commented out) the entries which are not doing anything. "Save All" now saves the current GCS config so that everything is not lost in case of a crash. Easy to revert in case you don't like it. Also:
moved the logging menu entries to 'tools' where I think they belong - comments welcome - and also small change to iconnection.h to remove compile-time warnings.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2120 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 14:58:16 +00:00
edouard
213e582f56 OP-99 Add a Path chooser to the name of the INI file for better ease of use.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2119 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 11:13:10 +00:00
zedamota
b8b1fd61b7 OP-21/Bootloader - crude C++ implementation of Kokomo's classic C serial protocol. It will be used on the Bootloaders serial comms.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2118 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 00:46:12 +00:00
edouard
ec994ec2c0 Capitalize some filenames to match the 3DS references and make it working on Unix machines (Linux in particular).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2117 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-13 17:55:50 +00:00
edouard
e787d6b02b Updated Deluxe thermometer dial (needle was not rotated properly). Fixed now, works perfectly!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2115 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-13 17:41:58 +00:00
martin
73ad3d1b96 moved default_background.png
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2113 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-13 04:53:33 +00:00
martin
acd697a030 Removed QYmodem.dll
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2112 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-13 04:52:41 +00:00
peabody124
6ebc8ccd57 OP-163 Flight/Guidance: Add variations on position hold to try out. Only one will end
up in the final code.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2110 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-12 16:57:13 +00:00
peabody124
5850c1804d OP-199 Flight/Stabilization: Increment a counter in actuatorDesired whenever an
update takes longer than 15 ms

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2109 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-12 04:36:04 +00:00
andrew
ca16298793 OP-138 Minor changes to UI layouts to scale better.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2104 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-11 07:34:27 +00:00
andrew
ac42393502 Updated GCSControl configuration page for button input support.
Basic functionality now implemented.
Still need to add range checking and user settings verification.
not all toggle functions implemented yet.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2100 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-09 05:50:16 +00:00
ligi
f5f3b7d8e6 doing "TODO: Only write file if modified"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2098 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-09 04:27:36 +00:00
ligi
a9ba6464d1 be verbose with a warning if reading of a file fails
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2097 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-09 04:24:04 +00:00
andrew
8e3813327c Updated GCSControl configuration page for button input support.
Saving and recalling of settings now works.
Functionality not implemented yet

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2096 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-09 03:55:04 +00:00
andrew
fab0e6247a Added new tab to GCSControl configuration page for button input support.
Only the framework for now.
Functionality to follow.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2095 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-08 06:04:52 +00:00
andrew
1dae56ae3c Modified UI for ccpm to scale better and have less wasted space
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2094 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-08 06:02:43 +00:00
edouard
3c4a5a04c0 GCS Control plugin: now fully configurable (mode 1 to mode 4), and with joystick channel mapping as well. Not tested in-flight!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2093 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-07 22:16:45 +00:00
edouard
d826350b26 Control gadget: channel 4 was commented out for tests, re-enabled it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2091 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-07 15:22:45 +00:00
edouard
1ed26a8514 Control gadget: make it configurable. Mock-up of config interface included, does not work yet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2090 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-07 15:16:58 +00:00
corvus
800eb5320e HitL - some fixes to prevent EventSystem Overload
Hitl IL2 - prevent NaN numbers from getting produced


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2085 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-06 15:17:33 +00:00
edouard
489e22f0ba Put the new Thermometer "Deluxe" dial into the share directory, thus making the "Deluxe" set as complete as the others!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2084 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-06 14:27:46 +00:00
edouard
f1c31d422e OP-35 Big refactor and update of the DFU object. Upload/download operations are now asynchronous and do not freeze the UI. Firmware download implemented. More details and explanations for each step of operations.
I have updated the firmware on my mainboard with success several times on this, but it might very well destroy your board right away, just be cautious!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2083 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-06 14:17:21 +00:00
zedamota
229f772612 OPMapLib test app - To use:
1- Copy folder to ../opmapcontrol/src/
2- Uncomment "SUBDIRS +=finaltest" on src.pro file
3- Uncomment "DESTDIR = ../build" on mapwidget.pro file


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2080 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-05 23:41:55 +00:00
edouard
055b95461d Fix big bugs with speed and altitude display in the PFD code; They should now work again properly, i.e. speed in km/h and altitude in m.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2079 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-05 21:50:44 +00:00
peabody124
c5ff7ca5a8 Ground/Joystick: Make the joystick only update at 50 hertz to keep telemetry
reasonable

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2077 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-05 14:28:18 +00:00
edouard
6cccb2d86c Attitude Deluxe dial updated, and validated on GCS: works with same IDs as the other
dials (background/foreground, needle and needle3).



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2074 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-04 14:24:09 +00:00
muralha
7a8484edfb Ground/ModelView: Fixed attitude rotation of the 3D model.
Euler rotation has problems with Yaw, so now it's using quaternion rotation.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2064 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 22:20:45 +00:00
edouard
48a3b6c569 OP-35 Firmware upload works (tested on mainboard). Use at your own risk! Not threaded yet, so UI kind of freezes during the process, but it works. Don't blame me if it fries your board, though...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2063 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 21:41:32 +00:00
edouard
ae22e9103b OP-35 Cleanup of the uploader gadget, and removal of the ymodem library which is not used anymore.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2062 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 18:46:17 +00:00
andrew
3e5797a8d2 Update the curve generation UI to have range of -1 to 1 for the pitch curve widget
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2061 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 04:30:54 +00:00
andrew
0a2cfbacc7 Updated MixerCurveWidget so that it can have ranges other than 0 to 1.
Default behaviour not changed.
New functions allow the setting of the max and min values for the curve.
0 to 1 range is needed when output is used for motors.
-1 to 1 range is needed when output is used for a servo.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2060 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 03:38:22 +00:00
edouard
7180c4fe2d OP-35 Further work on uploader gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2057 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 20:50:59 +00:00
edouard
1e0c2eef22 OP-35 Boot button enabled, to get out of bootloader mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2056 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 20:02:59 +00:00
edouard
8d2c9c37fb OP-35 Fix complile issue on Win7 (please confirm), Halt button now puts the mainboard into bootloader mode. Nothing more...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2055 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 18:15:48 +00:00
edouard
e74927c244 OP-35 Uploader gadget: the "Reset" button now works. YMMV, please report. Other buttons do nothing so far. Also, small fix to uavtalk.cpp where a 'disconnect' call triggered segfaults on my system.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2054 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 14:06:33 +00:00
edouard
b4a22c5984 OP-35 New methods to suspend and resume USB polling by the Raw HID plugin. Required for the Uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2053 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 13:35:12 +00:00
edouard
f19439b1c7 OP-35 Add new method to connection manager to let a plugin initiate a disconnection. Needed for Uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2052 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 13:34:27 +00:00
edouard
dde66a3c24 OP-35 Preliminary work on the new DFU gadget. Not much to see so far.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2050 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 22:56:31 +00:00
edouard
6e0332eb10 New simple quad (X and +) design by Muralha, and series of simple backgrounds for the modelview gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2049 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 21:14:24 +00:00
sambas
634543dc27 OP-52 Ground/GPS Display: some updates, ZDA&VTG
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2048 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 08:01:56 +00:00
andrew
206700830e Minor UI changes to ccpm config
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2047 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 06:10:19 +00:00
andrew
bc8ec75ed5 Updates to ccpm mixer ui.
the curve settings now update the MixerCurveWidgets when generated or manually edited.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2046 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 05:55:23 +00:00
andrew
beda5965bf added function to MixerCurveWidget to update an existing curve from code without deleting the existing one.
Using the initCurve function to update a widget that had a slot connected to its curveUpdated signal caused the app to crash.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2045 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 05:54:10 +00:00
pip
b6c0344a0f Added extra error checking - making sure the packet size is valid and that packet sizes match.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2040 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 15:00:55 +00:00
edouard
a05ed34e77 OP-138 Get rid of object scene removal warning on curve widget. Also delete objects properly when reseting the curve.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2037 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 10:41:41 +00:00
edouard
88a199d20e OP-138 Finishing touches to the custom mixer editor (curve reset buttons, value displays, etc.)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2036 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 10:16:01 +00:00
andrew
c7b6341b21 Improvements to the ccpm curve mixing UI
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2035 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 05:15:39 +00:00
edouard
dbe20a7eab OP-138 Editing of Custom mixer table checks for bounds (-127/127), and sending to ram/sd now works. This interface
should be more user friendly that the uavobjecteditor.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2034 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-29 22:36:31 +00:00
edouard
739f4e468f OP-138 A few missing bits in the tricopter mixer settings, sorry...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2033 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-29 20:41:58 +00:00
edouard
e528cc306b OP-138 Support for Tricopter with yaw channel in the config gadget. Please please double check the mixer before flying, this is untested!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2018 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 21:54:42 +00:00
peabody124
aada18a0ea UAVTalk: Update protcol version number to go with new packet format and changed
a few constants to make it self documenting

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2017 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 17:41:41 +00:00
peabody124
4570d6df23 UAVTalk: Insert a sync byte (0x3C) and the packet size to facilitating handling
by PipX modems.  This is a change to UAVTalk so GCS and the hardware must all
be updated.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2016 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 17:16:29 +00:00
peabody124
4d7e053e06 AHRS Debugign code for dumping the EKF and importing into Matlab
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 14:31:34 +00:00
peabody124
2019edd612 AHRS: Store running time to make detect resets easier. Update OP and AHRS in
parallel for this update.  Also removed comment for rawhid

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2012 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 14:31:32 +00:00
edouard
a568e27703 OP-180 Implementd a setting to disable PFD smooth updates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2010 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-26 20:19:43 +00:00
edouard
d232461f9d OP-138 All multirotor frame types except Tricopter now supported, but... not tested yet!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2008 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-25 21:55:04 +00:00
peabody124
c2474a4c08 Ground/rawhid: Fix mutex deadlock condition
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2007 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:56:40 +00:00
peabody124
aed2a1ee2e Ground/rawhid: Cleaned up the code related to disconnceting USB device
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2006 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:07 +00:00
peabody124
9944cdfcb0 Flight/RateDesired: UAVObject for monitoring the desired rate out of
stabilization for diagnostics

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2004 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:02 +00:00
peabody124
488ae158c8 Ground/rawhid: Add mutexs between write and read from buffersi. Fix bug that
dropped some data by reading too much from buffers at variable rates.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2002 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 01:35:28 +00:00
ligi
cc497c43dc check if opening a device worked / prevents segfaults ( e.g. failing BT connection ) & checking if my svn account works ;-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-22 11:17:48 +00:00
edouard
9ad1618739 OP-138 Quad and Hexa implemented, custom table works (read only, not edit), and code improved to enable definition of matrices
in simple tables instead of ugly lines of code. Testers needed. Cautious testers. Also reshuffled the AHRS UI to put 6-point above sensor noise.
Next will be octo and coaxial frames.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1999 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-21 22:05:07 +00:00
sambas
d6e9080ec6 Ground/rawhid: quick hack to help on usb unplug freeze, need to make proper error handling
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1998 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-21 14:11:53 +00:00
peabody124
f618e6fffc Ground/HID: A few tweaks to the HID code, especially for mac, and make sure it
never tries to transmit too much data

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1995 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:21:23 +00:00
andrew
2a47f4baca more modifications to UI for ccpm mixing.
will now read back mixer settings from the flight hardware and try to determine the swashplate config automatically.
Looks good but only basic testing performed so far.
this has not been tested for flight in it's current form.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1994 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:04:19 +00:00
peabody124
33c5877031 Ground/rawhid: A small change to OSX serial number handling to be more
"maclike" and correct

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1988 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 00:50:51 +00:00
muralha
28c3dcf771 OP-150 GCS/ModelView: Create a fallback default setting on the ModelView plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1987 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 00:08:31 +00:00
pip
253d831fc9 Added more lat/lon range checking an nan prevention.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1986 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:37:41 +00:00
pip
e0f399e333 Forgot to include altitude nan value prevention.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1985 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:24:23 +00:00
pip
e9c0b9455f Added lat/lon/alt range checking.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1984 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:09:54 +00:00
pip
1f3d45defd Fixed map mode UI opmap button states.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1983 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 19:21:38 +00:00
edouard
da84b1fc76 OP-138 Custom airframe table now displays the generated mixer matrix and curves. Display only, editing it won't change the mixer.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1982 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 19:15:05 +00:00
pip
ac53d71877 Forgot to disable the manual home location move ability.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1981 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 18:32:57 +00:00
sambas
8c46d22aa7 OP-169 hitl/FlightGear fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1980 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 17:37:51 +00:00
pip
dc943baeaa Disable manually moving the home location on the opmap (for now).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1979 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 17:34:39 +00:00
corvus
8aecc1ec0a OP-169: Hitl: IL2simulator - updating new UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1978 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 16:55:18 +00:00
edouard
bdba5c9168 OP-138 Config gadget: display the new multirotor shapes. Mixer code is not done yet!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1976 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 15:11:37 +00:00
pip
3f6796138e Updated UAV lat/lon/alt value requesting code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1975 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:36:41 +00:00
pip
658f9046d2 Added UAV Yaw/Heading code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1974 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:23:13 +00:00
edouard
91695b4e7d Update UI for dials plugin for up to 5 decimals for factor.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1973 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:20:53 +00:00
edouard
82b702e239 Added the new Multirotor shapes to the SystemSettings object, as discussed on the forums. UID has not changed, but you should recompile still (sorry).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1972 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:15:47 +00:00
sambas
ef83d7a8ec FlightGear homelocation set
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1971 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:05:01 +00:00
corvus
ff87e8bd79 IPConnection telemetry module: Rev 1342 introduced a serious deadlock bug due to incorrect usage of QReadLock where a QMutex should have been used.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1970 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 22:29:19 +00:00
zedamota
41388d97bd OP37/GCS MapLib - Change to try lowering processor usage.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1969 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 21:10:29 +00:00
corvus
c067552f74 OP-169: HiTL - il2simulator now updates attitudeRaw
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1968 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 20:04:46 +00:00
corvus
ebae3ffa40 OP-169: HiTL: Added AttitudeRaw UAVObject to HiTL core, updated UAVObject update timings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1967 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 18:25:21 +00:00
corvus
82c533e914 OP-169 - HITL - hitl core is set up to update PositionActual, VelocityActual and HomeLocation - il2simulator.cpp is updated to set those correctly
(status: compilation OK, function yet untested)
xplane and flightgear yet need to be fixed
Note: I needed to change /libs/utils/coordinateconversions.h to have access to previously protected utility functions used to convert LLA to ECEF/RNE for HomeLocation
Code for this is "inspired by" flight/OpenPilot/Modules/GPS


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1964 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 14:30:36 +00:00
andrew
593c947f5e minor modifications to UI for ccpm mixing.
better integration into config gadget (now only one set of buttons)
this has not been tested with hardware in it's current form.
Still need to make UI small screen friendly.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1963 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 14:05:51 +00:00
edouard
d8086d6b72 OP-138 Small updates to config widget, start of custom configuration interface, lots of work to do still...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1961 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-14 21:48:58 +00:00
edouard
f2681ef2c4 OP-138 Feed forward tuning is now working. Watch out for stray props! For safety reasons, the FF tuning will only run if all three checkboxes are checked. Otherwise, follow the tooltips (or the new wiki).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1957 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 21:09:53 +00:00
andrew
9aae70fedf Most functionality is now in the UI for ccpm mixing.
Currently this will not update hardware correctly... 
but it will set the matrix under the Advanced Settings tab.
Do NOT use for flight!

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1952 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 06:06:32 +00:00
banigreyling
2d0196a5ea OP-42 GCS/Scope: Removed some code that was required for earlier config version upgrade. This code is not required anymore.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1951 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 05:47:06 +00:00
edouard
c2664a7843 OP-138 Various updates to config gadget: new quad shapes in the artwork, new tooltips, and start of the feed forward testing interface, with foolproof user safety (tm) built it...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1950 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 21:41:06 +00:00
dankers
c2db00fb40 Update Credits, add ttf with Logo for Altium.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1947 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 07:34:10 +00:00
andrew
093e475dfc continued modifying UI for ccpm mixing.
NONE of this has not been tested with hardware in it's current form.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1946 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 05:12:56 +00:00
edouard
1824440c8e OP-190 Added support for the flightmode switch settings in the config gadget. Let me know if you like the UI!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1945 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 19:03:27 +00:00
les
6d6ec37474 Manual control: Changed 'Position' stabilization mode to 'Attitude'
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1944 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 17:58:11 +00:00
zedamota
1f6f5fe674 OP37/GCS MapLib - Fixes auto find google maps version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1943 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 14:15:31 +00:00
andrew
f7bf258a50 Started to modify UI for ccpm mixing to integrate it into the look and feel of the config gadget.
Most of the functionality has not been implemented yet.
NONE of this has not been tested in it's current form.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1942 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 05:34:52 +00:00
zedamota
d64892069a OP37/GCS MapLib - Update to new google maps versions. Fixes safe area size update with digital zooming.
TODO: fix auto find google maps version.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1941 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 23:27:03 +00:00
martin
ccdc107ad8 Redesigned dialogs.
Added chinese installer.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1940 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 23:23:31 +00:00
edouard
4ec3f3fe4c OP-138 Hexacopter support in the config gadget. NOT TESTED on a real frame, do it at your own risk... and report, please!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1939 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 13:45:10 +00:00
edouard
64fb124856 OP-138 Update fixed wing mixer computations to be compatible with the -127/127 range as per the latest UAVObject updates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1938 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 12:56:44 +00:00
edouard
4dae7ef2df OP-138 Multirotor mixer supports adjustment of weight of Roll/Pitch/Yaw on quad + and X configurations.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1937 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 12:04:05 +00:00
edouard
706e418990 OP-138 : integration of Andrew's Heli mixer UI into the config widget. Not very well integrated, but the code is there, will improve over the next few days.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1936 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 08:02:44 +00:00
pip
d11e9c56e5 Removed center maguc waypoint to map
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1935 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 07:42:41 +00:00
pip
3a2fe4587d Fixed usleep windows compile problem
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1934 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 07:32:59 +00:00
peabody124
5f601bf5ab Flight/Guidance: Enable for any type of quad airframe
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1932 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 00:46:04 +00:00
peabody124
e72b6051b5 AHRS: Make mag variance account for the vector length of magnetic field. Also
moved around where the axis are swapped and made the negative sign come from
calibration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1931 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 00:46:01 +00:00
pip
fc0f0761a0 Added distance and bearing info of mouse or waypoint from home position.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1930 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 21:01:33 +00:00
pip
54af7e5753 Fixed mouse over waypoint problem - by setting their z values higher than any other graphic items on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1929 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 18:59:19 +00:00
pip
cad8644a47 Added MoveToMagicWaypointPosition function and GUI button.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1928 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 13:36:21 +00:00
pip
676166f045 Added UAV trail settings onto the right-click context menu on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1927 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 12:29:30 +00:00
pip
34dffe73de Fixed a few mouse position problems.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1926 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 10:23:29 +00:00
pip
c75628c018 Added public "GetFromLocalToLatLng" function to allow widget point to lat/lon coord conversion.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1925 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 10:09:49 +00:00
darkz
9a90a124fd Ground: Updated Hitl plugin and FlightGear to provide PositionActual.
Currently the only value that works is PositionActual.Down wich is mapped to the altitude.
PositionActual.North and PositionActual.East are hardcoded to zero.
Also defined M_PI as it said it was no defined.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1924 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 08:52:19 +00:00
darkz
6e34b78b85 Updated Hitl module and FlightGear to Provide VelocityActual.
Tested with FlightGear 2.0, But should not break 1.9.1, please provide feedback if anithing odd happens.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1923 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 00:59:14 +00:00
peabody124
4e6f100ae5 Flight: Swap to Les' code for main line
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1920 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 15:38:23 +00:00
peabody124
9ec694cc40 Ground/AHRSCalibration: Account for conversion in AHRS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1918 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 15:38:16 +00:00
pip
a081fb7ec1 Added Safe-Area options onto the right-click context menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1917 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 08:47:31 +00:00
pip
c13816db20 Fixed SetSafeArea parameter - it was BOOL but should be INT.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1916 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 08:43:39 +00:00
pip
cc584be136 Added magic waypoint buttons, added 'set home location' on right click menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1915 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 08:03:09 +00:00
peabody124
c4cb494a22 UAVOBjects: Just ran object genearator to get things compiling again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1913 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 13:09:35 +00:00
pip
3079476bb0 OPMap gui style updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1912 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 10:24:42 +00:00
pip
1741825ee2 Added 'map modes' to the opmap plug-in. "Nomral map mode" and "Magic waypoint map mode". Not yet complete!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1911 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 07:09:00 +00:00
pip
69d2e8828f Added two emit signals for when a waypoint is dragged around the map witht he mouse. Made the waypoint 'picture' object public (temp).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1910 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 07:06:18 +00:00
darkz
5c9b09a72d Removed the example ovjects references on ground/src/plugins/uavobjects/uavobjects.pro
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1908 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 03:23:45 +00:00
edouard
2426606a8b Remove example objects from GCS code and XML definitions, those are not useful anymore, the system is mature enough by now!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1906 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 21:51:58 +00:00
edouard
f9c41caaf3 OP-137 Bargraph dials now also support multivalued fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1904 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 21:34:25 +00:00
martin
b4befcee76 added default settings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1902 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 17:02:58 +00:00
edouard
5a6795b6cb OP-137 Support field with multiple element for analog dial gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1901 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 15:52:46 +00:00
peabody124
ecf4e74a71 Ground/AHRSCalibration: Make mag's calibrate properly
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1900 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 14:26:44 +00:00
peabody124
dea5c91646 AHRSCalibration: Make default values correct now Les extended
uavobjectgenerator to support multiple fields (thanks Les!).  Also
changed default scale on mag to +/-6g

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1899 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 14:26:42 +00:00
peabody124
66bf9d53d4 AHRS: Paramaterize the variance used for the indoor algorithm.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1898 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 14:26:40 +00:00
kokomojoe
86338404ed OP-185 Flight/GCS update the uavobjects.pro and uavobjectsinit.cpp with the firmware IAP objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1897 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 05:33:05 +00:00
kokomojoe
3c352f1d1d OP-185 Flight/GCS - object to get firmware version and to switch into bootloader mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 02:27:57 +00:00
kokomojoe
b9fabbe9ce OP-185 Flight/GCS firmware IAP object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 02:13:33 +00:00
martin
5dae137af0 OpenPilot.wxs divided into parts
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1889 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 01:54:59 +00:00
martin
bec724a11d Added copying files to installer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1888 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 00:07:31 +00:00
martin
0ed34d1399 added installer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1887 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 00:05:57 +00:00
les
7ddb0f6f80 Stabilization: Changed to new switch format. Both position and rate modes work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1886 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-05 14:51:33 +00:00
les
141f6e43fb UAVObectGenerator: Added support for multiple defaults
Arrays can now have one default for all elements:
elements="4" defaultvalue="1"
or a default for each element:
elements="4" defaultvalue="1,2,3,4"


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1883 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-05 12:40:42 +00:00
martin
39b59e7452 added block copying qt_*.qm files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1882 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-05 03:45:28 +00:00
dankers
d971746d26 Remove IT translation, two Italian speakers in the project have stated that the GCS will be in English and that this is common for computer programs in Italy. The chances of it being used as small and finding translators is even smaller.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1881 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-05 02:03:08 +00:00
martin
6206036226 Add: copying required QT DLLs (for installer)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1880 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 20:29:36 +00:00
martin
82b6b0f699 Add: copying required QT DLLs (for installer)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1879 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 20:20:22 +00:00
peabody124
ba3ecada1d Flight/ManualControl: Implemented settings to change what the Mode switch does
so it can also change parameters of Stabilization.  Please check your aircraft
behavior with this patch, but default behavior should be unchanged.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1878 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 19:48:09 +00:00
martin
037758c0ff Add: copying required for installer QT DLLs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1877 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 19:06:48 +00:00
muralha
a915ff5ff7 Ground/ModelView: Center 3D models in the scene.
When a new 3D model is load, it will be centered on the scene.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1875 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 11:56:50 +00:00
muralha
114956a514 Ground/ModelView: Added camera switching through keyboard (numbers: 1 to 0).
Also, fixed wrong rotation of pitch and yaw.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1874 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 10:17:59 +00:00
muralha
abba162dca OP-149 Ground/ModelView: Cartesian coordinates system + Object rotation instead of camera rotation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1873 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 09:53:31 +00:00
andrew
10a69a3c2c Added ccpm_setup.svp to config resource file
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1872 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 04:08:29 +00:00
peabody124
ffacbdcf1f Ground/UAVObjects: Remove attitudesettings from uavobject.pro file (looks
sheepish)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1871 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 02:03:50 +00:00
peabody124
99f6500c9a Ground/UAVObjects: Forgot to delete vtolsettings. sorry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1868 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 23:28:31 +00:00
zedamota
361f36da19 OP37/GCS MapLib - Small bug fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1867 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 23:11:17 +00:00
peabody124
07f8a227fa Ground/AHRSCalibration: Keep in sync with object changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1866 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 22:08:34 +00:00
edouard
646b65564e Helicopters in the share directory. Plus the default bg.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1865 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 20:41:55 +00:00
les
05a85c8c95 New stabilization module based on PI-P algorithm used in FlightOS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1864 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 20:39:23 +00:00
edouard
11d197b3fc Added planes to the GCS distrubution dir. Renamed all texture.jpg to TEXTURE.JPG so that all platforms can see the textures (3DS files refer to TEXTURE and linux is case-sensitive)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1861 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 20:28:49 +00:00
edouard
068c6bfa93 Added multirotors to the GCS distribution directory. Fixed the 'textures.jpg' case so that the textures work on every platform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1860 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 20:22:52 +00:00
edouard
3d8f11dc36 Remove old Easystar directory which is not used anymore in the share directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1859 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 19:56:00 +00:00
peabody124
a9495e2cbb UAVObjects/AttitudeSettings: Remove unused object, moving data to AHRSettings.
Added attitude bias to AHRSSettings.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1855 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 18:14:34 +00:00
peabody124
754200f9cf UAVObjects/Delete old VTOLSettings object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1854 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 18:14:27 +00:00
erhard
dd0d58f64f OP-99 GCS, Import/Export Plugin: Support for XML-File Format.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1852 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 16:13:28 +00:00
osnwt
9f34044d74 OP-175/Ground: Hopefully fixed some Modelview crashes on Windows due to VBO enabled by default in GLC_Lib.
Added debug message displaying current VBO states (enabled, supported, used) - check with mouse right-click.
Please confirm that this does not break the plugin on other systems and that VBO can be enabled and really
is used by GLC_lib on supported systems. Also changed default 3ds model path.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1850 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 10:38:35 +00:00
peabody124
aa50cf836b Ground/UAVControl: Throttle rate of messages when using GCS controller. Still
too high.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1848 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 04:34:09 +00:00
andrew
5c4331fe32 added ccpm swashplate image for config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1845 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 03:55:41 +00:00
edouard
aa18cb4ce1 New indicator for GCS: "Arm Status". Use the bargraph dial plugin and connect it to the "ManualControlCommand/Armed" object/field.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1843 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 12:47:17 +00:00
peabody124
5c9b5f4a99 AHRS: Get calibration working again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1842 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 03:10:04 +00:00
peabody124
0c30101f54 AHRS: Made an object setting to allow the downsampling rate to be changed on the
fly (EKF rate up to a limit).  Also, now the algorithm selects if you are
indoor or outdoor as well as if you use a mag indoor (if you do set the z
variance higher than it calibrates to).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1841 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 03:10:01 +00:00
peabody124
6d39d85b8f UAVObjects/AHRSStatus: Remove unused fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1838 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:29 +00:00
peabody124
2050864e59 UAVObjects/VTOLStatus: Remove unused object. Also added update time to
indicate stabilization loop time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1837 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:26 +00:00
peabody124
ea3fb03c7f Flight/AHRS Communications: Switch to Les' very nice UAVObject communication
scheme

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1835 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:18 +00:00
peabody124
3854541798 Ground/UAVObjets: Add missing files for AHRSStatus2
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1833 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 20:28:16 +00:00
peabody124
2a93f35807 UAVObjects/MixerSettings: Have values as int8, don't need float resolution
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1832 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 20:28:14 +00:00
les
b2d56ca34c AHRS: Added UAVObject based SPI communication between AHRS and OP.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1830 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 17:31:13 +00:00
edouard
8161d25774 OP-138 Yaw mixing was inverted in the config gadget! This update works for me, with the quad layout in the gadget's picture.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1827 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 16:25:21 +00:00
edouard
b80d2ae4c5 OP-138 Support Max Accel in the matrix mixer from the config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1826 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 15:49:54 +00:00
peabody124
c076a695ce UAVObjects/ActuatorSettings: Default values are all 1000 now so that an
unconfigured motor can't turn on.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1823 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 13:45:26 +00:00
peabody124
4766e11882 Ground/GCSControl: Reenable joystick. SDL required.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1822 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 13:45:24 +00:00
peabody124
93a85e24a0 Ground/Joystick/Magicwaypoint: Fix initialization condition that led to crash
when closing gadget and also center icon on click in magic waypoint.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1821 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:36 +00:00
peabody124
9f4e3906e3 Flight/Actuator: Made it use the detected dT for the feedforward computation
and removed the unused field from actuator settings (old setting time and all
the aircraft specific stuff).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1820 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:33 +00:00
peabody124
2dc40d11a1 Flight/Stabilization: Use the system clock to determine time from previous
update since now drive by events.  This means StabilizationSettings object
changing so write down your settings.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1819 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:29 +00:00
edouard
b5eb89ed5e OP-138 Added Reset button for curves, and display of value when moving a curve point.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1816 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 08:40:46 +00:00
edouard
b385ce961e OP-138 Modify Mixer curve to use values from 0 to 1 instead of -1 to +1, since the actuator module in OP works in the 0-1 range. Comments welcome on this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1815 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 07:28:12 +00:00
edouard
b32da232cb OP-138 Persistent (to SD) saves of all mixer settings working now (was missing two objects earlier).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1814 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 07:18:11 +00:00
martin
712725f3d3 Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1813 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 23:05:04 +00:00
cranphin
9c705aedf1 GCS: Removed last 'binary' config reading support, for layout/splitter settings.
Again, use the previous version to convert old config files if needed :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1812 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 20:55:15 +00:00
cranphin
b418fe18bf GCS: Control, Tiny fix to center the big red dots :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1811 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 20:14:39 +00:00
dankers
05896ec335 Update Sounds for Notify Plugin, update CREDITS.txt
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1809 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 12:21:54 +00:00
peabody124
c69f884f01 Ground/AHRS Calibration: Make sure it returns updateRaw to false after running
to stop from hammering telemetry and keep OP-AHRS smooth.  Also fixed bad
connection in magic waypoint.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1807 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:49:55 +00:00
peabody124
e2d63cbf19 Flight & Ground/AHRS Calibration: Made variance estimation into a two pass
approach again because ran out of numerical precision for single pass.  Also
made ground force the gyro signs to be correct.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:30:29 +00:00
peabody124
4caab584f1 Ground/AHRS Calibration: Hard code the signs of teh sensor calibrations to be
correct.  Six point calibration otherwise is sometimes inconsistent.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1805 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:34 +00:00
peabody124
25314ab92a Ground/UAVControl: Removed some debuggings and a qFatal in SDLGamepad for no
joystick found.  Changed gadget name to Controller to remove redundant UAV.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1804 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:29 +00:00
peabody124
f2d5db60da Remove debugging messages
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:26 +00:00
edouard
742987a314 OP-138 Small bugfix to prevent a crash when actuator settings are incoherent
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 19:40:11 +00:00
peabody124
4e3325f3ba Ground/Libs: I'm an idiot, forgot to comment out sdllibrary itself
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 16:02:20 +00:00
peabody124
ce75434017 Ground/Plugins: Disable joystick control by default because of SDL dependency.
People will need to install SDL :(.  Anyone know if we can make the joystick
aspect of this code separate and detect at build time if they have the
requirements?

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1796 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 13:15:48 +00:00
edouard
434a9499e2 OP-52 Hide Connect/Disconnect buttons in telemetry mode. Unhide in other modes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1795 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 12:12:46 +00:00
peabody124
c95b1e6117 Ground/UAVControl: Working joystick support although currently not configurable
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1794 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 03:59:03 +00:00
peabody124
7d6163c746 Ground/SDLGamepad: Import the library. This and the next commit introduce SDL
as a dependency.  Please let me know if you have any problems.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1793 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 03:58:58 +00:00
edouard
a246c0f9ad OP-138 Corrected inconsistency with Quad-X read/write.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-28 19:44:55 +00:00
edouard
bd6754cd6b OP-138 Mixer: fixed wing works, and Quad-Plus and Quad-X configurations are supported. Not tested for obvious reasons, since I am working in the train.
You can check how this works for you and report bugs. Layout works fine with screens as small as 800x600.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1791 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-28 18:27:34 +00:00
edouard
14af2b5726 OP-138 Small improvements and work on UI. Progressing slowly...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1787 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 20:38:39 +00:00
peabody124
e1e629d6fb Ground/Joystick Control: Separated the logic for changing values from the
visualization to prepare for real joystick support.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1785 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 19:35:25 +00:00
sambas
21278e7a0e Ground/share: peabody was half sleep when making this, so here is the fix ;)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1783 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 15:47:10 +00:00
peabody124
c5863320fe Ground/AHRS Config: Made gyro bias computation happen on GCS during 6pt
calibration

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1781 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:48:28 +00:00
peabody124
22db0d8785 Ground/Share: Sorry, writing it more elegantly. Tired.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1780 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:48:26 +00:00
peabody124
bdcca823fc Ground/Share: Ok, previous patch for this messed up on windows. I'm making
Linux/Windows act like before but Linux people should check if they want the
mac version or not, I'd guess $(COPY_DIR) on mac more like osx.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:43:42 +00:00
peabody124
f74d64f0be Ground/Share: Remove the second $$dir to prevent copying the resource
directories into the directories on a second build.  Also checking for
resources using the configured path instead of the hardcoded one.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:28:23 +00:00
sambas
6eabaeba2c GCS compile problem fix, windows, QTCreator, qt 4.6.3
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 06:58:38 +00:00
sambas
9599bb384b uavobjectgenerator: user file removed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1772 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 05:50:25 +00:00
erhard
9d5f82727f OP-99 Ground Import/Export Plugin: Add version-number to plugin configuration.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1771 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 17:34:23 +00:00
sambas
a46b46f939 Ground/hitlnew: makefiles removed from svn
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1770 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 15:02:12 +00:00
cranphin
c2fee8fc6d GCS: Right, fixed this the right way per suggestion of PeterG (Thanks :)
). Splitters now have 6 pixels of grab area on each side again, without
crashing 4.7.0.
I still is ugly code, but Qt leaves us no option :) Added some comments
to make this clear.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1769 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 09:29:23 +00:00
peabody124
a3ea9a5461 AHRS: Add a weak mag correction in indoor mode to remove gyro bias and try and
get a reliable heading

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1765 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:51 +00:00
peabody124
a91e5502b4 Ground/XPlane: Should update GPSPosition with gps position
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1764 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:47 +00:00
peabody124
6d66060730 Ground/MagicWaypoint: Now displays the current position and desired position (icons could do with work)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1763 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:45 +00:00
peabody124
6fe9a12358 Ground/OPMap & Coordinate conversions: Keep units in cm throughout
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1762 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:41 +00:00
peabody124
ba0fb92853 Ground/MagicWaypoint: New gadget that controls position desired in a magic waypoint fashion.
Ground/PFD: Update to use velocity actual

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1761 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:37 +00:00
peabody124
77b68e5169 Flight/Guidance: Initial template for guidance module
Flight: Create PositionDesired (the active waypoint) UAVObject and make the FlightSituationActual no update since it not used.
Flight: New velocity desired object that passes information between the look computing the desired velocity and the PID loop to get it (updated at different rates)
UAVObjects/PositionActual: Remove unused GPS fields
UAVObjects/PositionActual VelocityActual: Split the velocity into a separate object.  ALso make sure all the information telemetered around is in cm to avoid using floats.
UAVObject/GuidanceSettings: New guidance settings object for the guidance module
Flight/Posix: Add the new objects to the Posix sim
Flight/Guidance: Computes a desired velocity based on position error than runs a PID loop to control roll and pitch to achieve that velocity.  All distances are in cm, and updated the PositionActual fields to reflect this and use int32.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1760 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:27 +00:00
cranphin
cb9fdc8df6 GCS: Trying to tidy up splitter code some :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1756 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 21:14:16 +00:00
peabody124
a01783b2a8 OP-140 AHRS: Explicilty deal with if it is initialized or not, use that to
determine retransmitting calibration, home location and such.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1755 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 21:05:38 +00:00
zedamota
4536bc38db OP37/GCS MapLib - File committed by mistake, reverting changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1754 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 19:35:05 +00:00
zedamota
06e07fef2f OP37/GCS MapLib - Should stop black tiles on digital zooming
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1753 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 19:31:09 +00:00
cranphin
467bb42b02 GCS: 'This file isn't big enough for the two of us!' Moved SplitterOrView to it's own files, makes stuff easier to figure out :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1752 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 18:56:57 +00:00
pip
9bf6bbcbeb Removed manual set home position, fixed go home functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1751 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 18:15:44 +00:00
dankers
4787a6f5cd Update the translations, rename Chinese translation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1750 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 18:07:33 +00:00
cranphin
c9af2b23d0 GCS: This should fix crashing with splitters in Qt 4.7.0 :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1749 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 16:42:24 +00:00
zedamota
e2dde2c097 OP37/GCS MapLib - Increased google true zoom to 21. It seems it was increased on one of the latest google maps versions. Thanks Peabody and Pip for the heads up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1748 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 16:13:06 +00:00
cranphin
a64981ae4c GCS: Fix on the fix, I messed up so gadget layouts wouldn't load at all, ever :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1747 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 16:09:34 +00:00
cranphin
da113799ad GCS: Tiny cleanup, remove a member variable which wasn't really used.
Makes stuff easier to understand :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1744 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 14:32:16 +00:00
cranphin
8fd00b9466 GCS: Small bugfix, with no ini file, the initial workspaces got their
'empty gadget/widget' removed.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1743 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 14:24:52 +00:00
pip
1f482371ca Fixed (hopefully) opmap plug-in zooming,
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1742 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 11:51:31 +00:00
peabody124
9b28f2d72c OP-167 OP-157 AHRS/Calibration: Added mag scale and really cleaned up calibration.
Calibration should take less time now too (using second moments to estimate
variance in one pass).  Now need to change to multiple messages to get the
calibration in to keep the request message size minimal.  Also currently
running sensor calibrate doesn't store the gyro bias so if you want to use this
you'll have to tweak it manually.  I'll fix that step tomorrow.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1741 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 09:20:38 +00:00
edouard
fd370f571d OP-138 Initial Quadcopter mixer UI, to be refined. Quad shapes artwork.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1740 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 23:02:32 +00:00
edouard
ef222a8739 OP-138 Mixer interface: implemented Elevon fixed wing. Not flown either.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1739 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 22:16:20 +00:00
edouard
918770f4a2 OP-138 Standard Fixed wing mixer implemented. I have not flown with it yet, take your responsibilities :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1738 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 21:24:42 +00:00
edouard
eedf85a5ac OP-138 Start of the new Mixer configuration interface, for fixed wing only. This does not work yet, takes a long time to fully implement.
The system settings UAVObject is updated, you will have to recompile your firmware. If you want to take a look and let me know, please do!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 20:39:37 +00:00
zedamota
fa4818542e OP37/GCS MapLib - Fixed drag with digital zooming, enhanced graphics quality
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1735 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 19:28:40 +00:00
dankers
d9b890791c Basic Chinese translation for the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1734 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 18:17:34 +00:00
edouard
fde1615fed OP-138 Preliminary work on the mixer settings (in the config/airframe tab).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 06:22:53 +00:00
peabody124
7a49f13540 Ground/OPMap: Fix compile error that PT made:
http://img93.imageshack.us/img93/8520/angrymonkey3uv.gif
Also I'm not sure ZoomReal is correct, this just gets things running.  There
are some quirks with the OPMap scroll bar now that need to be addressed.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1731 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 23:23:47 +00:00
cranphin
1758f55f1c GCS GPS Display: Noticed redrawing got real slow if I left the GPS
Display running for a while. I'm blaming that on the text area filling
with a million lines, though that still needs to be confirmed.
So I added a arbritrary 200 line limit, after which lines at the top
start disapearing. Seems sensible anyways :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1730 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 22:19:40 +00:00
corvus
1472b342c1 1.0 Featur Freeze -
Removing some Experimental and Incomplete Modules and their UAVObjects not suited for 1.0
- they will be moved into an experimental branch:

Navigation     : experimental code only
FlightSituation: experimental code only 
Guidance       : preliminary draft - possibly to be replaced by peabody124 position hold code if finished in time.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1729 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 22:05:03 +00:00
cranphin
e5c8c2129f GCS GPSDisplay: Add SNR bars, fix sattelite indexes from nmea parser.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1728 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 21:35:08 +00:00
zedamota
aec96a3867 OP37/GCS MapLib - Upgraded to new google versions.
Zoom now as no limit.
Other changes:
OPMapWidget:
SetZoom(double) accepts any value. Ex:19.4
double ZoomReal() returns the true zoom.
double ZoomDigi() returns the current digital zoom.
double ZoomTotal() returns digital+true zoom.
SIGNAL:
void zoomChanged(double ZoomTotal,double ZoomReal,double ZoomDigi);

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1727 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 21:13:18 +00:00
edouard
7598973824 Removed useless debug output from the dials plugins, to make GCS less verbose.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 20:17:17 +00:00
corvus
7125378cae OP-169 - Fill in new NED vector values from flight simulator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1725 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 19:48:08 +00:00
nickolay
53c630c7eb [HITL] : - add X-Plane bridge;
- appropriate and needed changes in HITL core files;

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1724 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 15:16:45 +00:00
cranphin
e217f8fc31 GCS: Whoops! I broke saving layout for empty workspaces. This should fix
it, Sorry! :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1723 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 22:28:52 +00:00
corvus
e44045f422 OP-165 : Guidance Module
Creating GuidanceModule together with PositionDesired UAVObject (as discussed),
so dschin and me can work on it :-)
Will compile and (on sim_posix) execute, but PID logic is yet untested and preliminary.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1722 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 22:16:48 +00:00
cranphin
d9dc37ad33 GCS GpsDisplay: Display PRN numbers in constellation, and some cleanup.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1721 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 21:36:11 +00:00
cranphin
e4d317f40e GCS: Drop read support for binary plugin configuration. If you haven't converted your old ini yet, load it up once in a revision built from source before this change.
See also: http://forums.openpilot.org/topic/1850-existing-configuration-files-read-this-if-you-have-them/

Note: Reading binary layout (which gadgets are shown in each workspace and how they are split) still is available, since that was a later change. That'll get done somewhere in the future :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 19:57:02 +00:00
pip
c734584b01 Tidied up the zoom code in the map widget plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1719 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 08:42:38 +00:00
edouard
3dec1b4105 Added Compass dial to GCS share directory as it is working fine. Reminder: "artwork" is for work in progress and the developer repository for artwork in general.
the share/openpilotgcs/dials contains the dials artwork which are installed with the GCS.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1718 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 08:38:24 +00:00
peabody124
3c647f3481 Ground/UAVTalk: Export UAVTalk object so logging compiles on windows (and reenable). Cross platform my ass.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1717 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 06:11:34 +00:00
peabody124
5cd8791f7a Ground/Logging: Disabling this plugin by default until we get it building on windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1716 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 05:28:20 +00:00
peabody124
5771769acf Ground/Logging: Change replay state at end of replay file to stop lock up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 01:04:24 +00:00
peabody124
674ee88f6d More Q_UNUSED
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1714 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 22:53:08 +00:00
peabody124
b376350bc2 Ground/UAVTalk: Add destructor and make sure it's called in Logging when stopping logging to disconnect the signals.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1713 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 22:52:49 +00:00
peabody124
2a9fd99b06 Ground/Logging: Support for pausing and resuming playback and time rescaling plus an (ugly) toolbar to control it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1712 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 21:43:23 +00:00
peabody124
d30c6830e7 Ground: more Q_UNUSED
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1711 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 20:17:55 +00:00
les
ef7ee86d45 Mixer: zero throttle shuts off motors and changed MixernMatrix to MixernVector
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:31:17 +00:00
peabody124
b6bffaeb27 Ground: Cosmetic change
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1709 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:45 +00:00
peabody124
af6b6d91a3 Ground: Suppressing some more random unused variable warnings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:43 +00:00
peabody124
df0ed37d29 Ground/Logging: Supports replay. Still needs a sexy widget to allow seeking (although seeking will be difficult since technically it depends on the entire state but we can probably ignore that). Also I think the interface for replay shoudln't be through a menu item but should be like any other connection. The way I implemented it (custom QIODevice that buffers the logfile and reads the timestamps) makes this pretty easy to do. I'm just not familiar enough with the connection manager to do this. This means currently if you're connected to device and start a replay you get updates from two places.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1705 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:28:01 +00:00
peabody124
a56e757003 Ground: Supress a few warnings. A drop in a bucket...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1704 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:37:59 +00:00
peabody124
7a8424e98e Ground/UAVObjectField: Explicitly handle case of bad enum values to avoid crashes. Still shouldn't occur.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:36:04 +00:00
peabody124
f96654ace1 Adding mixerstatus/mixersetting uavobject files that were missed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1701 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:08:51 +00:00
peabody124
5c9701753b OP-24 Ground/Logging: Made logging module use QIODevice passed to UAVTalk which inserts timestamps and object sizes. Should be trivial to implement read functionality. Need to confirm that QIODevice writes the data in the correct size though so timestamps are in the write place for sure.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1700 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:07:39 +00:00
cranphin
0634f8ec53 This should fix the problem with splitter positions not being stored when the workspace their on isn't viewed before closing GCS, as Edouard found out.
The source of this problem is that QSplitter.sizes() only returns the sizes set by setSizes() after the QSplitter is actually shown. Even though save/restoreState manages to retrieve them in the same situation. I think it's a bug, not sure if I can be motivated enough to report it though :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 20:11:16 +00:00
les
875437f483 Added matrix based actuator mixing. Note the makefile is set to use the original actuator code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 19:27:08 +00:00
zedamota
7a69feea8c OP-21/Flight PC app - Minor change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1694 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 20:53:00 +00:00
cranphin
318a60e05e GCS UAVGadgetManager: Minor bugfix, wasn't always deleting oldstyle
subgroups, which would cause them to be loaded.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1693 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 19:16:01 +00:00
zedamota
5c848d4944 OP-21/Flight PC app - Created AbortOperation function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 18:34:20 +00:00
cranphin
400f832b3c GCS: Import/Export The checkboxes didn't work, fixed :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:39:04 +00:00
cranphin
0441b8b786 GCS FlightGear sim: This is how it's done in the manual, and seems to
work well for me :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:37:41 +00:00
cranphin
e59a58aa0e GCS: Remove support in [UAVGadgetManager] for Settings/DefaultSettings.
Wasn't really used since it wasn't properly finished (no support in UI).
The idea of having ways to support defaults is good, but can probably be
done better in a different way. (I like the idea of a embedded second
ini file, which serves as 'default'. But many ways are possible).

AS usual, write support removed, read support still there for now.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:35:48 +00:00
edouard
33494ffc7c OP-160 Curve widget: 1st working version. Use "initCurve" with a list of double to create a curve, and connect to the curveUpdated signal to
read it (or call getCurve manuall).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1687 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:49:48 +00:00
osnwt
88de8f789a Ground/OPMap config page: fixed vertical stretch of Default longitude textbox.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:40:57 +00:00
edouard
be7ff70491 OP-160 Small progress on the widget, points move vertically only now. Next commit will be fully functional.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 05:47:18 +00:00
zedamota
40c9c208cf OP-21/Flight PC app - Update to work with embedded changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 23:39:37 +00:00
martin
900c19a2ee Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 08:22:33 +00:00
zedamota
569e7a94e7 OP-21/Flight PC app - Added send delay.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 00:47:45 +00:00
edouard
35c36da060 OP-160 Rough draft of mixer curve widget, for comments. I will make it look nicer later, this is just for seeing what can be done.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1677 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 20:49:24 +00:00
edouard
b435053e66 High-Contrast dials for the share directory (text converted to path for being independent from SVG renderer capabilities and
installed fonts)




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 09:01:27 +00:00
cranphin
b1b4b15ef4 GCS: Also zero the structures in the il2 sim.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:35:36 +00:00
cranphin
3d43f1cff1 GCS: Zero data structures, since this is not Java ;)
I was getting some weird initial random values from the sim.
This fixes that.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:32:49 +00:00
cranphin
303d2c19e1 Pass the correct port numbers to the simulator.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 21:54:25 +00:00
cranphin
96990b5f60 GCS: Make [UAVGadgetManager] also human readable.
Makes the ini file a bit more verbose, but debuggable/hackable :) (Not to mention more robust).

Again, I left in support for loading the binary version, so this shouldn't mess up people's configurations. Keep a backup handy anyways :)

In the future, that needs to be removed though.

Anyone with a 'old style' configuration may notice the binary versions are left in the ini file, I can't easily delete them without deleting the new groups also, but they won't cause any problems, and aren't read. Feel free to delete them for a clean ini file :)

I left in the 'DefaultSettings' stuff, but I think it can be removed too ( or whatever it was meant to support should be added :) ).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 19:52:12 +00:00
edouard
4888b34ac8 This time, the OPMap config dialog should have a consistent look on all platforms. Or??
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1662 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 17:24:35 +00:00
edouard
9a31fea559 OP-153 Implemented a default storage path: "OpenPilot" in the user's home directory. OPMap will use this as its default path for its mapscache.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1661 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 17:17:42 +00:00
peabody124
3b015b41c5 Flight: Got a much nicer arming/disarming system going. Made it a separate flag in the end to allow testing the stabilization code with motors not running. Also changes maxRoll/maxPitch/maxYaw to uint8 to keep object size smaller - no reason for float precision for this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1660 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 15:41:11 +00:00
peabody124
a6e71177e4 AHRS: Yaw stabilization now supports rate stabilization or heading hold. Also need to cleanly support rate stabilization on all the other axis. Les suggested this be in manual mode which will require changing the logic somewhat (essentially for vtol it will always be running through the Stabilization module) in an aircraft dependent manner. An alternative would be a stabilization flag indicating to do full attitude hold, attitude + yaw stabilization, or all axis gyro stabilization. This would be my preference.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1659 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 15:41:08 +00:00
peabody124
64018c88c1 OP-144 Ground: Removing assert on getObject when it returns null because this seems to happen whenever uavtalk gets a bad message.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1658 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 06:20:49 +00:00
peabody124
89ba1b59fa OP-144 Ground/UAVObjects: Add assert(0) when returning null in getField/getObject as there is no reason to try and get a non-existing field. Hopefully this will help us more explictly catch any bugs from this. No objects in IRC or http://forums.openpilot.org/topic/1648-uavobjectgetfield-setvalue-behaviors-etc/ but feel free to revert if I'm missing something.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 05:43:48 +00:00
peabody124
dd0668c164 Ground/Logging: Finally add object ID and instance ID to information logged so it _might_ be readable. Still want to move size into the UAVTalk protocol and use that for logging.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1653 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 05:07:30 +00:00
peabody124
885c966e53 AHRS: Added a tracker for number of ADC updates the EKF misses. Also updated the Telemetry autogenerated files to accomodate the 11500 baud rate.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1652 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 02:59:00 +00:00
peabody124
19e80da928 AHRS: Update UAVObject with information about AHRS rate
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1650 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 01:54:21 +00:00
edouard
04fea701d4 Make OPMap options page a bit nicer with resize and consistent with behaviour of other config dialogs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1649 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 19:51:34 +00:00
zedamota
63805b8f3b OP-21/Flight PC app - CRC use
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1648 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 18:07:25 +00:00
pip
c8ac6eb712 Added 115200 option to telemetry speed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1636 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 16:50:31 +00:00
pip
9c94db6dd7 Added 115200 baud option to the UAVTalk telemetry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1633 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 14:47:38 +00:00
edouard
d280204dd8 OP-151 Also update OPMap widget to use PathChooser, and make it use the path translation utilities. Not relevant on every platform, since typically on a Unix, the share path will not be user writeable. Still, doesn't hurt.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1619 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 20:27:39 +00:00
edouard
1cbd44f564 OP-151 Use PathChooser in all plugins, and update pathutils to behave consistently across platforms by always using "/" as its internal format. Should solve the issues we have been having with windows paths not being removed properly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1618 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 16:58:40 +00:00
peabody124
1051d894b9 AHRS: Merged in some new code from Dschin that expliclity writes the prediction terms in the covariance matrix. Also made changes to compile with -Os. Now runs around 125 - 150 Hz depending on corrections used (this will become adjustable from GCS shortly).
Squashed commit of the following:

commit 897e3365ab6c762584c34238efd12dc144e72af0
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 22:15:21 2010 -0500

    AHRS: Getting it running nice and quickly.

commit 53d72fb849164730c89873cab81c9e09be0b112b
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 15:57:46 2010 -0500

    AHRS: Make more variables volatile for -Os.

commit 4fa90821b5d3d8c2ea5e67756313a8a63c0eeb8c
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 15:11:31 2010 -0500

    AHRS/Makefile: -O0 not added to allow me to try various space flags that don't break code.

commit 5bd17a304dc28dc271c2f3e8c6cb8ad4a830404f
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 14:44:05 2010 -0500

    AHRS: Make debuggign USART easy to disable

commit 5453f2a7939492769fe9e9cc822e69c107320670
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 14:38:37 2010 -0500

    AHRS: Explicitly expand covariance prediction.  Brings computations from 160 to 90.  Makes it not fit in AHRS though.

commit b6712da7eece2a464a2073d24b77be22bfa47094
Author: James Cotton <peabody124@gmail.com>
Date:   Sun Sep 12 22:59:42 2010 -0500

    AHRS: Make it easy to comment out the I2C/Magnetometers.

commit 8c84d0091f3d6f6bedc7a0224a4ed9cb099b022b
Author: James Cotton <peabody124@gmail.com>
Date:   Thu Sep 9 00:49:50 2010 -0500

    AHRS: Small change to INSGPS analysis tools

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 06:42:56 +00:00
sambas
41a23a8eeb Ground/GCSControl: weird problem with assert in windows environment, this hack seems to help it
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1608 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 15:12:58 +00:00
martin
ba18af6ed9 Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1606 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 00:54:02 +00:00
martin
f03958b4a6 rollback to the previous path to *.qm files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1605 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 00:08:40 +00:00
peabody124
10cfeeb35f AHRS/Matlab: Small bug in the quaternion transformation in case anyone else uses this :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1602 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 21:22:44 +00:00
erhard
be1dc09c29 OP-99 Import/Export: Reflect the format-changes from 1599 in the version-number.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1600 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 21:05:35 +00:00
cranphin
f826ee0a20 Use QSettings key/properties instead of byte arrays for plugin configurations.
I've left in the reading of the byte arrays for now, so people can load their old config files, on the next save they'll be converted. This should be removed at some point in the not too far future though, since it's a lot of duplicate code in each plugin.

I've converted all the plugins, it's certainly possible I made a typo somewhere, I tried to test as much as I could, sorry if I broke something though :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 16:24:54 +00:00
erhard
ddf6ee46ee OP-99 Import/Export: Prepare for version compatibility.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 15:51:14 +00:00
peabody124
e90e714c2b Flight: Tweaked the throttle handling and VTOL use of it to make sure engines can be shut off easily in stabilization mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1593 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:49 +00:00
peabody124
56131476ef AHRS: Switch to sampling at 2khz, plenty of CPU usage. However need to make EKF rate different for outdoor mode with this patch because otherwise will drop samples :-(
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1592 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:47 +00:00
peabody124
5d1ebf76ea Flight/VTOLmixer: Fix bug in mixer that messed up roll mixing. Also changed minimum to -1 so that neutral can be position motors come on and -1 the off position. Also made failsafe throttle value -1 to be consistent.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1591 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:44 +00:00
peabody124
c376711405 Flight/Stabilization: Make the derivative account for the sampling time (dAngle/dt) for the PID loop since integral does and also make the integral bounds uavobject settings. It was originally bounded by constant/Ki but I'm not sure why as you change the gain of the error integral you also want to decrease the maximum error it can cause.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1590 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:41 +00:00
peabody124
8999355327 Flight: Made actuator a periodic task. I don't think the queue is low enough latency - should figure out how to make this happen as callback is the right way to go.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1589 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:38 +00:00
peabody124
dceb20b16d Flight: VTOLStatus object that returns the thrusts on all the engines
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1588 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:34 +00:00
peabody124
bba3b0c64a Flight: VTOLSetings object to contain the mixer settings for VTOL crafts
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1587 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:30 +00:00
edouard
929f7dd5d8 Make Notification plugin sound path portable too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1579 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-11 21:17:44 +00:00
edouard
ce53757baa Servo input config was missing the accessory inputs. Changed the plugin to remove any hardcoded value, so it should be safe for future new channel assignement types
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1578 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-11 09:05:42 +00:00
edouard
3d388d2e93 Modelview: another ugly fix to complte the first one. There is a lingering issue of initing the GL context on the first valid
model that is loaded, this fix addresses it but it could be much more elegant, I'm sure.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1576 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-10 15:25:05 +00:00
edouard
4d399d7034 Fix for Mac build, sorry
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1575 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 22:01:45 +00:00
edouard
beed9c8936 Solved (please confirm) modelview crashing on non-existing files
Made configuration portable for: dials, bargraph dials, pfd, modelview and system heatlh
THis means: if your config points to resources in the share directory, then the config will be portable


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1574 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:18:43 +00:00
cranphin
3b0b860c7b GPS Viewer: more layout tweaks. This looks kinda Ok, I think.. :)
Suggestions/complaints welcome ;)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1573 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:01:47 +00:00
cranphin
4db1849c6c GPS Viewer: Use a grid layout for the 4 main parts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1572 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 20:12:42 +00:00
cranphin
2634067727 This should scale a bit better again, hopefully :) more coming!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1571 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 19:56:16 +00:00
edouard
2b70ed53f7 New "PathUtils" Utils function, to help plugins detect where the "share" directory is located. Should be improved but it is a start.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 15:17:37 +00:00
cranphin
38f0cffede GPS Viewer: Try to improve scaling a bit, add split thing between log
and main view. Hope noone dislikes the changes ;) QT Layouts are fiddly!
:) Kinda a work in progress still.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1566 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 23:20:31 +00:00
edouard
4b3096dd57 OP-38 Ground / Config Gadget: implemented channel reversal for output channels.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1564 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 21:31:09 +00:00
peabody124
cd9f5a0a5d Ground/Logging: Fix bug overwriting timestamp. Thanks Cranphin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1563 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 18:48:16 +00:00
peabody124
6cdb9b0b48 AHRS: Added Matlab code to analyze the INSGPS friendly data dump format and plot the important variables. This requires "DUMP_FRIENDLY" be enabled in the file.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1560 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 06:15:21 +00:00
peabody124
e499f33fd5 AHRS: Improved code to stream raw data from AHRS and added a matlab function to acquire and analyze the data. The QT program to analyze it should work but QextSerial seems to have a bug and drops or inserts data
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1559 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 06:15:18 +00:00
edouard
b53f19dc03 OP-38 Ground/Config Gadget : another try at making AHRS settings more intuitive. And the Object queue now works (...)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1558 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 20:08:29 +00:00
edouard
b5608ed2ac OP-38 Ground/Config gadget: implementation of a queue to manage successive ObjectPersistence updates, will solve several issues (two updates
one after another will fail if we don't wait for the transaction completed signal).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1557 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 19:31:19 +00:00
peabody124
9895b403c7 Ground/SerialLogging: Improved the serial dump from AHRS to have a big random frame header and to detect it on the logging program.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1556 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 16:33:10 +00:00
chebuzz
755c47d666 OP/GCS ModelView - Added transparent rendering support, as well as debug output with right-click
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1555 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 12:52:52 +00:00
edouard
0af3d26981 OP-38 Ground/Config gadget: AHRS indoor mode works, as well as Home Location saving.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1554 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 12:26:33 +00:00
cranphin
d06d7025ff Don't forget to unhide the gps data stream when switching back to serial
input :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1552 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 21:16:21 +00:00
cranphin
e8b0169b34 Add fix type (auto/manual), and fix sv's to nmea parser (not connected
to anything atm.)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1551 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 21:02:35 +00:00
cranphin
c87ff38039 Some fixing/cleanup:
- Swap fix type and satelite count in UI.
- Use QString for the packet signal, if it ever happens to be
multithreaded signal/slot this will be better (And char* should perish
:) )
- Make QString in the slots const and by reference, that seems to be
preferred (const = safer, reference = faster).
- Don't use 'new' QStrings in the nmea parser, not sot sure if that
causes memory leakage, but it wouldn't surprise me.
- Emit fix type updates from the (Serial) nmea parser.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1550 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 19:15:42 +00:00
zedamota
609d215749 OP-21/Flight Bootloader PC APP- Cosmetic changes only.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1549 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 19:05:41 +00:00
edouard
5c4ba7140b OP-38 Ground / Configuration gadget: automatically save results of 6-point calibration to SD (consistent with behaviour of sensor noise calibration). Other smaller updates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1548 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 11:53:13 +00:00
edouard
ce6a4325e4 OP-38 Ground/Settings gadget : query uavobject properly for input channel assignements, so that any new input type is supported. Solves the issue with accessory inputs not appearing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1547 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 08:26:27 +00:00
zedamota
01b4c5d0e3 OP-21/Flight Bootloader PC APP- Finished, not tested on HW though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1543 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 23:15:45 +00:00
stac
44b41c32d2 gpsdisplay: correct lat/lon minute calculation for 3/4 of earth
The computation of the minutes portion of the lat/lon was
wrong for any negative values.  lat-deg was effectively
doubling the whole degree part rather than removing it for
any negative whole degree part so you would get huge whole
minute parts.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1542 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 23:10:36 +00:00
edouard
1690e500e9 OP-52 Ground/GPS Gadget : make it resizable, within reasonable limits. Should behave much better now on smaller screens.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1540 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 20:23:25 +00:00
edouard
0c884ed14d OP-136 Ground/PFD Fixed issue where pitch value was used for roll settings. What was it about the monkey again? ;-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1539 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 17:30:49 +00:00
edouard
7ef12a801e OP-52 Ground/GPS Gadget: DOP values on NMEA sentences too. Tested on both telemetry & NMEA/Serial
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1538 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 08:20:32 +00:00
sambas
6868a3ec48 OP-52 Ground/GPS Display: Refixed, I guess edouard tested only the telemetry stuff
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:39:30 +00:00
edouard
22ea3ce214 OP-52 Ground / GPS Gadget. Fixes, that will be all for now...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:13:02 +00:00
edouard
d689c2cf23 OP-52 Ground / GPS Gadget: sorry, missed the 1E-7...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1535 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:05:17 +00:00
edouard
1f78c63648 OP-52 Ground / GPS Display: overhaul of UI - should not change anymore hopefully - to be more compact and more readable, with more info
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1534 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:03:29 +00:00
sambas
2283e2e9ad OP-52 Ground/GPS Display: More tweaks
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1533 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 06:28:30 +00:00
sambas
d457781173 OP-52 Ground/GPS Display: Maybe this works better
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1532 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 06:06:59 +00:00
zedamota
70715ba0e2 OP-21/Flight Bootloader PC APP- More command line parameters handled.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1531 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 00:18:49 +00:00
peabody124
f9a0b799a2 Foolishly forgot object like I always do
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1529 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 22:01:11 +00:00
edouard
a378621666 OP-52 Ground/GPS Display: better data formatting, added display of location on tiny worldmap.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 19:55:06 +00:00
peabody124
c21d058110 Flight: Added ability to use a third accessory input. Currently using that to select tuning roll/pitch bias and PID tuning. I also _STRONGLY_ recommend if you enable these accessory channels (and thus these features) you make the saved meta data for the StabilizationSettings and AttitudeSettings read-only, so only on flights where you mean to can you change these settings. I'm also not convinced about the interface - it seems like flicking TX switches to get into adjustments is a recipe for disaster. Probably need to just control through GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 17:08:02 +00:00
peabody124
45e8131a30 Flight: Added ability to use additional TX inputs to tune attitude bias. Note this form of the calibration is temporary and will likely be replaced by a rotation matrix to deal with more general rotations.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1525 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 17:07:59 +00:00
edouard
aa909cf7dd Various updates: use PDOP on PFD since the INSGPS algo relies on it, and more work on GPS Display gadget, minute improvements...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1524 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 16:42:56 +00:00
edouard
24f5023e10 Ground/PFD : fixed the heading issue. Careful with this code, it's precision mechanics ;-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1523 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 07:21:13 +00:00
peabody124
cd93574511 Ground/PFD: Removing a debug output I forgot
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1522 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 06:13:13 +00:00
peabody124
8dbc382e5b Ground/CoordinateConversions: Shows correct location now. I just typed in a 3.14 constants and forgot to change to M_PI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 05:58:43 +00:00
peabody124
544f15eadf Ground/PFD: Reconnected right data to PFD. Edouard - heading doesn't seem to scale between degrees and transform on the compass correctly, but I don't know the right constant.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1519 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 03:20:40 +00:00
peabody124
b4ff14b725 Ground/GCSControl: Swapped sign conventions of sticks to match the sign convention of roll/pitch/yaw. I.e. now right on the roll causes a + roll, pulling down on the pitch causes + pitch.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1518 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:06 +00:00
peabody124
bb45b0c38a Ground/GCSControl: Swapped sign conventions of sticks to match the sign convention of roll/pitch/yaw. I.e. now right on the roll causes a + roll, pulling down on the pitch causes + pitch.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1516 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:02 +00:00
zedamota
72e64e1009 OP-21/Flight Bootloader - Command line parameters added, still some missing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1514 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 01:07:44 +00:00
cranphin
6e9b745f18 GPS Viewer: Delete port/parser when configuration gets reloaded, and
make connect/disconnect work properly for serial.
This did include some refactoring, sorry if that interfers with someone
else's work! Should be too hard to merge tho (and I couldn't find   
Edouard online, and I'll be gone the rest of the weekend :) ).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1512 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-03 22:04:54 +00:00
cwabbott
d7a3ffb464 flight/PiOS.win32: update Makefile.win32 with new UAVObjects, also change UAVObject headers to have a newline at the end.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1510 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 23:55:24 +00:00
zedamota
f4464c01a7 OP-21/Flight Bootloader - More functions added, file hash now automagicaly created and uploaded. Device discovery working. As with the bootloader embedded SW this is highly experimental.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1509 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 22:46:06 +00:00
cranphin
f8873b9a18 Make GPS options panel more pretty.
And more usefull for coming IP stuff :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1506 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 18:36:09 +00:00
cranphin
25076d09a7 Hide sat. icons initially.
Hide sattelites not in the last GPS update (based on the magic number
'16' from the constellation widget).
Fix a range check.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1504 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 23:11:54 +00:00
cranphin
a6ec576f97 Add a first version of support for sattelites in the nmea parser.
Small 'fix', don't parse the checksum as part of the data of nmea lines.
This can probably be fixed in a tidier way.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1503 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 22:41:55 +00:00
martin
529fb6468d Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1502 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 21:49:48 +00:00
cranphin
102a16f0ff Fix serial GPS not working (base function was not virtual), and some
minor tidying.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1501 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 21:49:47 +00:00
banigreyling
9d1168226c OP-42 GCS/Scope: Added UAVField units to curve legend
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1500 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 21:29:24 +00:00
edouard
66e009a861 Update dial plugin config UI
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1499 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 20:19:14 +00:00
edouard
6589e55019 OP-52 Big update to GPS gadget: now supports a new mode, "Telemetry", to display the onboard GPS data, including GPS constellation.
This is not tested in Windows yet - I will do this on another machine ASAP. It might break the serial mode as well, I just lack time to test everything but I will eventually do it.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1498 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 18:53:02 +00:00
cranphin
65c832da35 Stop rawhid (Windows) from logging a debug message because it can't open
all my input devices for writing. And also swap logging statements, so
that we do qDebug after GetLastError, since qDebug seems to wipe the
last error code.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1497 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 18:49:18 +00:00
peabody124
ef9ed042b3 OP-118 Ground/AHRS Config: Made calibration average over more samples from the raw data. Seems to improve things for me. Still want to add a mag scale parameter.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1495 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 05:03:48 +00:00
peabody124
a377bea862 Ground/CoordinateConversions: Found out from Dschin that rotation matrix inverse is rotation matrix transpose. Now should convert correctly from NED to ECEF. I will check tomorrow by frolicking around with a plane.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1494 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 03:12:06 +00:00
martin
b5f6452d7c Update russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1493 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 01:05:01 +00:00
martin
e5831f37f0 Added -noobsolete to LUPDATE
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1492 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 01:03:31 +00:00
martin
d20ec7bd56 Fixed Label
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1491 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 00:38:16 +00:00
peabody124
06d281c2ba GCS/Logging: Added size information to GCS Log file so naieve parser can not fail. Also added a few comments.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1490 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 17:22:46 +00:00
edouard
e74fc394e7 Updated PFD to use the new GPSPosition object for GPS information.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1488 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 16:56:17 +00:00
edouard
1553ca6799 Missing include for Linux (stdint.h needed on that platform)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1487 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 12:28:15 +00:00
edouard
7956835163 OP-95 Please pretty please this is a multiplatform project, check that your code compiles at least on Windows & Linux before sending anything!!!
Unix (MacOS & Linux) = CASE SENSITIVE, no stray caps please
 Makefiles should not be included
 object_* should not be included


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1486 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 12:21:06 +00:00
edouard
9e67c780da OP-38 Fix Windows complile issue (usleep missing) and restore callback-based settings so that there is no hardcoded transmission waiting time anymore.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1485 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 12:15:33 +00:00
dgodin
89535ee9d9 [OP-95] Update plugis.pro file:
+ add new HITL plugin;
        + remove old HITL and IL2 sections from plugis.pro.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1484 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:24:18 +00:00
dgodin
a035c93052 [OP-95] Combine both HITL plugins in to a single plugin.
First release

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1483 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:17:14 +00:00
dgodin
5bdf9e3006 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1482 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-31 10:16:16 +00:00
dgodin
d43e028ddd git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1481 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-31 10:16:03 +00:00
dgodin
bf03570eb8 [OP-95] Combine both HITL plugins in to a single plugin.
First release

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1480 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:14:24 +00:00
dgodin
94ee367d21 Remove old HITLs,
and replace with new HITL plugin

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1479 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:11:32 +00:00
peabody124
4f246c64ca GCS/Logging: First pass at a logging plugin. Data format is 32 bit timestamp (in ms from start of logging) then the UAVObject.pack. Still want to add a header to indicate the objects available. Next part will be writing a reader and then making a gadget to control playback (and to indicate recording status).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1478 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 09:09:16 +00:00
peabody124
f906346795 Ground/OPMap + Position Information: Initial version of conversion from NED to LLA and integration into OPMap. I don't particular love how this is done. The main issue is the Utils didn't like having any UAVObject stuff linked to them (in my hands). That means in OPMap gadget I had to write the code that will pull the HomeLocation and PositionActual together, but this code will likely need to be reused. I will update the Altitude getting code later too, I need to look how the whole internals::position is working on OPMap.
To comment please post to http://forums.openpilot.org/topic/1578-changes-to-gps-objects/page__pid__4705#entry4705

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1477 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 05:09:57 +00:00
peabody124
260d436156 GCS/Scope: Small bug that prevented adding traces when none exist
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1475 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 02:11:19 +00:00
peabody124
12657440c3 OP-132 AHRS: Added an indoor flight mode and also add an ad-hoc quality heuristic to the GPS signal to increase the measurement variance from GPS when fix quality is poor or when in indoor flight mode. In addition corrected the indentation to conform to the tab/space convention forum discussion.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1474 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 02:11:09 +00:00
cranphin
f632e9c568 Little bit of cleanup, move Designer set properties to designer and out of cpp, and update the comment on fitInView (it doesn't work cause we're not shown yet, but fixed is fine since the widget is fixed size too).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1473 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 22:00:48 +00:00
cranphin
22828744fc In the GPS widget the three boxes are in fixed locations compared to
eachother again. This tends to be more stable with different fonts and
such.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1471 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 21:12:59 +00:00
edouard
ea89d9f570 OP-38 Fixed Paper plane SVG which contained a strange reference to a non-existing file...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1470 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 20:44:08 +00:00
cranphin
d8ab7221af Make GPS widget autosize/layout, and use all available space.
This makes especially sense for the 'log' output.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1469 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 20:00:53 +00:00
banigreyling
ec62e528b1 OP-42 GCS/Scope: Forgot (again) to remove test data generator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1468 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 19:39:56 +00:00
banigreyling
e15a12329c OP-42 GCS/Scope: Added support for array-like UAVObject fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1465 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 14:17:15 +00:00
banigreyling
617de242c4 OP-42 GCS/Scope: Changed options panel behaviour. An existing curve can now be updated, and does not need to be duplicated and removed anymore
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1461 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 22:45:12 +00:00
edouard
46ac5c8054 OP-38 A bit of visual feedback on 6-point calibration. Hope you like the UAV I used, very simple model ;)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1459 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 22:00:54 +00:00
cranphin
098cff530f Seems I missed a .h include, I blame the SVN server being troublesome today :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1458 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 21:50:00 +00:00
cranphin
37e9dd52eb Use event based IO instead of our own thread + polling, the manual says this is preferred/easier.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1457 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 21:20:32 +00:00
peabody124
f202884ce8 AHRS: Numerous changes. Added CPU load monitoring for AHRS as well as some friendly debugging output options. Also added a new CalibrationMode setting to AHRS (Echo) to speed up sensor calibration. Cleaned up the 6 point calibration interface to make it more friendly, but I think Edouard will clobber it with something nice and sexy :).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1455 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 06:38:30 +00:00
martin
2062dbe620 Generated 488 translation(s)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1454 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 02:51:11 +00:00
stac
ecac1fb79d nmea: parse GSV sentences and populate GPSSatellites object
This creates a new UAVObject called GPSSatellites to hold
information about which satellites the GPS receiver can see
and the quality of their signals.

NMEA GSV sentences are now parsed.  The full set of GSV data
may be split across multiple GSV sentences, each containing
info for at most 4 satellites.  Once an entire set of GSV
records has been collected, the GPSSatellites UAVObject is
updated.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1453 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 01:46:14 +00:00
stac
679f59f19d uavobjectparser: fix alignment of field init in generated code
Change from spaces to <TAB> to match the formatting in
the template.  No functional changes, just whitespace.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1451 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 01:46:09 +00:00
cranphin
1cdaf2ecdc Some cleanup, renamed labels/values, tidier layout.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1450 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 23:14:31 +00:00
peabody124
8128c3bbfa OP-118 AHRS: Added 6 point calibration routine to AHRS config widget. To use it, click "Cal Mode", then place the AHRS on each of 6 sides of a cube then click save position. Finally click compute to push the updated scale abd bias terms to the AHRS. Also fixed a bug in UAVObjectField that would not allow you to setDouble for extra fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1449 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 18:48:51 +00:00
erhard
331dba4870 OP-99 Import/Export Plugin: Integration to File menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1448 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 18:40:28 +00:00
erhard
e0a939819a OP-99 Export-Import-Plugin: Fix crashes on import.
Before the UAVGadgetView is deleted, the gadget (GadgetDecorator) must always be 
removed, otherwise the widgets (toolbar) will be automatically deleted but
this might cause a crash since the gadget is managed by the GadgetInstanceManager.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1446 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 12:43:14 +00:00
erhard
511a9c6635 Minor change in Error-Message.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1445 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 12:30:09 +00:00
martin
8f940ab4b1 Generated 364 translation(s)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1442 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 23:49:23 +00:00
martin
5c58642caa Fixed label text (latitude)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1441 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 23:44:34 +00:00
peabody124
e61fe4cff6 Flight: Sorry forgot some files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1440 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 21:25:12 +00:00
peabody124
ced0a4b952 AHRS: Fixed silly bug that made the default mag variance be zero - explains "hopping around" default behavior. Still should run calibration though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1439 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 21:05:41 +00:00
peabody124
16361dea12 AHRS: Making AHRS populate the NED/Vel fields of PositionActual. May rename object to PositionVelocityActual. Also created a GPSTime object which is populated from the GPRMC command. Also added a GPZDA parsing command, but by default OP GPS doesn't send this command. Made the computation of the world magnetic model use the current time to set the magnetic vector. Note: currently if you set your home location and save it to SD, this will not recompute the vector over time. I'm not sure how sensitive this is.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1435 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 19:59:25 +00:00
zedamota
6443b7c830 OP37/GCS MapLib - Fixes a bug which Edouard was experiencing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1434 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 15:24:13 +00:00
edouard
ae5177b70c OP-38 Updated pluginspec requirements - those are ignored on Linux but required on Windows, it seems.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1433 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 14:19:42 +00:00
peabody124
70f13ba896 OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are:

  flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query
  flight/OpenPilot/UAVObjects/uavobjecttemplate.c

  flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query

  ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1426 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 00:15:46 +00:00
peabody124
a8df6e2c4d OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are:

  flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query
  flight/OpenPilot/UAVObjects/uavobjecttemplate.c

  flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query

  ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1425 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 00:15:42 +00:00
edouard
48d04d73d4 OP-38 Forgot to connect the signals, sorry...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1424 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 21:51:55 +00:00