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

242 Commits

Author SHA1 Message Date
stac
e05f4cf068 uavobjects: Added support for generating python classes
The uavobjectgenerator can now generate python classes for each
UAVObject definition.  This is useful for writing simple test
applications in python that can exercise the UAVObject handling
code on the embedded boards.

This is a work in progress so the structure of the generated
classes is likely to change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@623 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-14 04:32:30 +00:00
sambas
9922df3524 Added 38400 for my XBEE
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 16:22:41 +00:00
vassilis
8eab65a17b OP-4 GCS/Telemetry Add connection timeout detection
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@609 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 04:11:25 +00:00
vassilis
9c800f6007 GCS\Telemetry Implement telemetry settings object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@606 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 02:43:26 +00:00
vassilis
85e5d74710 OP-4 GCS/Telemetry Flush telemetry queues while connection is not yet established (to remove stale data)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@604 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 00:21:49 +00:00
edouard
dafdac14e2 The System Health gagdet now works: load the system-health-path.svg file from the config dialog, and send system alarms to it!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@603 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 22:19:27 +00:00
edouard
e965ee0771 First connection of System Health plugin to system alarms. Only debug code for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@601 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 16:01:49 +00:00
ephy
ea108813ab OP-9 GCS/uavobjectbrowser: Refactoring.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 07:03:28 +00:00
vassilis
23ed286883 GCS/UAVObjects: Merged all UAVObjectFields into a single class using a QVariant for the data, updated UAVObjectBrowser and fixed a bug with array fields, added isNumeric() and isText() functions to UAVObjectField
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 01:49:38 +00:00
edouard
df419e281a Added system health plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@594 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 16:10:29 +00:00
edouard
bb21f6c6b9 Start of System Health plugin. Only displays the mainboard components for now, does nothing more. Waiting for more info on system alarms before continuing. This gadget can in theory display alarms from any subsystem given the right SVG source file.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@593 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 16:09:37 +00:00
edouard
2b6ffc8bb0 Fixed the small display bug in the linear dial. Display code is now OK, what is missing is: writing numeric value, connecting to input (either uavobject or other abstraction level)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@591 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 13:20:57 +00:00
edouard
19b6c70588 Configuration now works, much better way to display the zones - explanations to come in the wiki concerning dial design. Remaining display bug of index, will fix later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@590 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 12:17:10 +00:00
ephy
35437220a2 GCS/Lineardial: Compile fix for Linux (case sensitive)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@588 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 10:05:24 +00:00
edouard
10215c96c3 New "bargraph" dial. Use with the recently uploaded linear dial SVG. Settings to not work at the moment, I'll add them later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@585 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 23:09:39 +00:00
vassilis
7edfaa5f26 GCS/ObjectBrowser Added erase button and modified load and save buttons to act on only the currently selected object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@581 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 02:12:50 +00:00
vassilis
e22aaa939e OP-4 GCS/Telemetry Implemented telemetry connection manager, persistent objects are now automatically retrieved each time a new connection is established (to ensure that the GCS objects are in sync with the Flight objects), minor telemetry bug fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@579 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 01:31:06 +00:00
edouard
2dc5e416ac Smooth and fast needle rotation, using timers. The only remaining thing is to do the actual connection to UAV Objects - everything is in place, configuration-wise.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@575 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-03 05:59:41 +00:00
julien
5ad8ab3de7 GCS/DoNothing : Updated dependencies in .pluginspec
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@574 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 17:20:20 +00:00
julien
38171a89c5 GCS/connectionmanager: Trying to fix segfault reported in OP-70
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@573 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 16:13:12 +00:00
edouard
7ce98b0bf5 Bugfix (division by zero error if Maxvalue=0...). Rotation code can/should be improved, but still, it's a start.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@571 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 14:32:44 +00:00
edouard
61804f91dd Settings for SVG analog dials all finalized except actual connection to UAVObjects. The test code randomly assigns values to the dials to demonstrate smooth needle rotation. Let me know if you like it!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@570 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 14:07:00 +00:00
edouard
2ab8ea6eb3 Full featured option page for analog dials up to two analog indicators. Ongoing work, the settings are not fully active yet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 11:13:18 +00:00
edouard
06dac9cb09 Updates to airspeed gadget: the background SVG file is now defined in the configuration options, is properly saved and restored between sessions, etc. Several dial configurations can be defined. Next step is to enhance the configuration system to create generic dials.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@568 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 22:19:12 +00:00
vassilis
fe29624590 GCS/Objects Metaobjects are now also stored in CF and retrieved on power-up. At this time settings and meta objects are automatically loaded on startup if they have been saved in the CF card (to test use Save button in the object browser), if a file is not found in the CF card then the defaults specified in the XML file will be used.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@560 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-30 02:27:37 +00:00
edouard
c9ef6dcfeb Added the beginning of an options page for the airspeed gadget: eventually this should become a more generic "analog dial" gadget supporting any sort of analog indicator with one or more rotating needles and text display. The options do nothing at the moment, it is just ground work for later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@559 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-29 16:08:58 +00:00
vassilis
ce4aa6efc6 GCS/UAVObjectGenerator Added support for default field values (used to initialize settings with defaults)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@557 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-28 01:50:53 +00:00
edouard
4ef9c7de22 Make the Airspeed gadget dials resize dynamically when the gadget size changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@555 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 14:04:06 +00:00
vassilis
d04983a6a5 GCS/Objects Updated systemalarms.xml
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@553 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 01:52:30 +00:00
vassilis
4d59a46ae4 GCS/UAVObjectGenerator Generate more information for each field
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@552 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 01:50:45 +00:00
ephy
c6ca9772e5 GCS/qxt: Add libqxt to libs.pro
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@551 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-26 05:12:56 +00:00
vassilis
fcc94eaec0 OP-4 GCS/Telemetry Implement CRC in telemetry protocol
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@550 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 21:20:28 +00:00
ephy
2dc193ae5a GCS/console: Fix coloring misbehavior.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@548 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 18:50:11 +00:00
ephy
8f5ecf399d GCS/consolegadget: Addition of primitive console gadget that displays log messages.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@546 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 18:01:13 +00:00
ephy
c51c7f72e7 GCS/core: Add logging support to core.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@545 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 17:55:21 +00:00
ephy
462b7f6adf GCS/libqxt: Updated project files for windows.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@544 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 17:47:49 +00:00
ephy
541f80aa33 GCS/libqxt: Addition of libqxt (www.libqxt.org) for its logging framework.
Basic usage: qxtLog->info("foo");

    * trace()
    * debug()
    * info()
    * warning()
    * error()
    * critical()
    * fatal()
    * write()

qDebug(), qWarning() etc can also be used. 

     std::cout << "foo" 
and 
     printf("foo") 
should not be used.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@543 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 13:42:34 +00:00
vassilis
e406db3786 OP-4 GCS/Telemetry Limit transmit buffer size
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@542 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 02:21:36 +00:00
vassilis
dbba3b95b3 OP-4 GCS/Telemetry Bug fixes and improved response when telemetry bus is fully loaded
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@538 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-24 04:00:30 +00:00
vassilis
22251f195d GCS\ObjectGenerator (more) Minor changes on the way named arrays are implemented
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-22 00:56:11 +00:00
vassilis
56f88a6a79 GCS\ObjectGenerator Minor change on the way named arrays are implemented
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-22 00:44:14 +00:00
ephy
5b5cdd23fa GCS/core: Place empty gadget first in drop down list.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@534 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 05:47:38 +00:00
ephy
2cadc80818 GCS/config: Rename config.pluginspec -> Config.pluginspec
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@533 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 04:54:19 +00:00
vassilis
8622b7323d GCS/UAVObjectGenerator Added support for named arrays (i.e. each array element can have a name - needed for alarms), updated object browser to display names instead of just array index.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@532 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 02:50:51 +00:00
pedro
62f3f3c42e added config plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@529 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 21:03:48 +00:00
pedro
87aae1ea77 OP-38 ConfigGadget - just the inicial classes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 21:02:15 +00:00
julien
28cd8f002b GCS/airspeed: fixed build for Windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@527 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 19:03:40 +00:00
chebuzz
119280edbc OP-60 GCS/Dials: Create first analog dial. This uses a single multi-layer SVG file created by Edouard. Work remaining involves accepting a UAVObject to update display and smoothing the rotation of the two needles.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 06:38:03 +00:00
edouard
19344dea84 Optimized display for multi-SVG example.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@524 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 20:45:07 +00:00
sambas
0ec2156f4a OP-25: More fields for GPS Objects, preparing gpsinfo remove
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@521 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 07:14:00 +00:00