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

9164 Commits

Author SHA1 Message Date
FredericG
192134967d Lock I2C before usage as it should
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@565 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:54:35 +00:00
fredericg
3281b1a128 OP-27 Use RTOS in LockDevice() and UnlockDevice()
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@564 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:49:51 +00:00
FredericG
724e82712b Added vApplicationStackOverflowHook()
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@563 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:45:10 +00:00
FredericG
916f6163fd Configurable address
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@562 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-30 06:40:13 +00:00
vassilis
0999c1ce58 Flight/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@561 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-30 02:28:16 +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
99b67388bf Flight/UAVObjects Added support for default field values (used to initialize settings with defaults)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@558 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-28 01:54:24 +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
1e8abdcc39 SVG for the compass/heading dial, compatible with the dial widget, so that you can test the GCS with more than one moving dial. Next step is to turn the dial gadget into a more generic display system through the Options dialog.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@556 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 14:20:41 +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
8c11a03129 Flight/Alarms Implemented Alarms library, now checking for stack overflow, out of memory, event and other errors (see the SystemAlarms object). All modules will be reporting their alarms using this library.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@554 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 01:55:28 +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
vassilis
613b17f970 OP-4 Flight/Telemetry Implement CRC in telemetry protocol
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@549 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 21:20:13 +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
vassilis
aaef72955e OP-4 Flight/Telemetry Make objectTransaction() fully reentrant
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@547 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 18:34:03 +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
7b99c3d7f0 Flight/System Restructure start-up code, now all initialization in done after the RTOS is started
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@541 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 02:21:03 +00:00
vassilis
4f0377194d Flight/PiOS Remove use of semaphores in COM/USB ISR (not used and not working also causing random crashes)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@540 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 02:17:25 +00:00
vassilis
ecb83a52d3 OP-4 Flight/Telemetry Bug fixes and improved response when telemetry is fully loaded
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@539 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-24 04:05:39 +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
sambas
b8b5bffe4d OP-25 Flight/GPS: using strsep instead of strtok_r (thanks for the hint PeterG). Prepared for GPGSA.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@535 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 09:56:23 +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
vassilis
f999028753 Flight/UAVObjects Added support for named arrays (i.e. each array element can have a name - needed for alarms)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@531 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 02:49:11 +00:00
edouard
d0d620d1fe Added analog altitude indicator to the master SVG, and used the B&W version of the OpenPilot logo on the upper left corner of the dial background, looks much better.
Next step is now to standardize the layer naming conventions for easy use by a GCS widget, the idea being to minimize effort for both GCS developers and Dial creators.

Again: Inkscape is the reference tool for editing this file. www.inkscape.org

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@530 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-20 09:58:32 +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
6026a6ba61 This new version of the one-SVG version of the speed dial can be drawn selectively using something like:
m_needleItem->setElementId("needle");
or m_backgroundItem->setElementId("background");
The only catch is that the needle/background elements cannot be layers, but can be groups, and they both have to be of the same size.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@525 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 21:25:39 +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
edouard
afce3e0333 speed-complete.svg is a try for an integrated SVG for easy dial display.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@523 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 20:29:44 +00:00
sambas
923ee3ccaf OP-25: gpsinfo removed, cleaned things up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@522 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 07:37:55 +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
vassilis
b92cf530a5 OP-4 GCS/System Created CPU utilization measurement and created object to report system information (load, heap and time)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 02:14:42 +00:00
vassilis
40beb15129 OP-4 Flight/System Created CPU utilization measurement and created object to report system information (load, heap and time)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@519 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 02:13:59 +00:00
vassilis
ed48dc25de GCS Updated gpsobject XML file (made it a single instance - less protocol overhead)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@518 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 22:28:50 +00:00
vassilis
ef36a79e12 Flight Updated gpsobject XML file (made it a single instance - less protocol overhead)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@517 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 22:28:19 +00:00
vassilis
fdbcc1921f OP-4 GCS/Telemetry Create new objects to report statistics of the telemetry link (plus a few bug fixes, heap size was also increased)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@516 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 22:17:25 +00:00