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

585 Commits

Author SHA1 Message Date
stac
42c4c9b343 Lower priority of HIDTest task
Commit @583 uncomments the HIDTest task creation.  HIDTest task is configured to run at
priority 4 (== tskIDLE_PRIORITY + 4) which is higher priority than the "System" task at
priority 3 (== tskIDLE_PRIORITY + 3).

The HIDTest task never blocks so it prevents the system task (and any other task of priority
less than 4) from ever running.

This commit does not fix the root problem of HIDTest never blocking, but rather lowers
its priority to be equal to the system task so that they share the CPU.  This is a
temporary workaround.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@586 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 03:19:47 +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
edouard
5d20bfd802 Linear/bargraph dial graphics - to be used with linear dial gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@584 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 23:06:20 +00:00
gussy
a574f56961 HID Loopback test now working. GCS code now needs to be brought up to speed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@583 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 19:56:06 +00:00
gussy
0aba12fe1f Loopback test of HID working. Still a WIP but committing what I have to show progress.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@582 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 18:54:43 +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
7ca10bf5d7 OP-4 Flight/ObjectPersistance Implemented saving/loading of individual objects from the SD card
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@580 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 02:11:16 +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
vassilis
e10a16f1c3 OP-4 Flight/Telemetry Implemented telemetry connection manager
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@578 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 01:29:04 +00:00
FredericG
0c65a90a9d Write counter-value to memory in Task2
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@577 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-03 18:31:34 +00:00
FredericG
58514baa49 Fixed test
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@576 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-03 18:18:43 +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
ed7927a544 Altitude dial
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@572 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 14:38:08 +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
edouard
ff722b21e1 Added the Airspeed indicator by Guy (thanks!), compatible with the current experimental dials widget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@567 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 20:23:38 +00:00
fredericg
8cdd056d84 Start using 2 I2C devices from 2 different threads - Untested
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@566 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 14:57:26 +00:00
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