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

1279 Commits

Author SHA1 Message Date
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