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

601 Commits

Author SHA1 Message Date
edouard
f9c5ca21a1 System Health diagram for the GCS gadget, functional version for most existing system alarms.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@602 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 22:17:33 +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
edouard
bc9f3f72ec Updated system health diagram (for GCS plugin)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@600 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 16:00:23 +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
stac
0826af11e5 Add startup script for gdb for openpilot board
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@597 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 01:44:57 +00:00
stac
5275b794a0 Add top-level Makefile
- manages QT and ARM toolchain installation on Linux
 - manages OpenOCD build and installation on Linux
 - downloaded install packages are placed in <top>/downloads
 - defaults tool installs to be under <top>/tools directory
 - builds both the GCS and the openpilot firmware
 - build targets to regenerate the UAVObjects synthetic files
 - builds are placed in <top>/builds

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@596 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 01:44:56 +00:00
gussy
7544aab7fe Comment out testing task.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@595 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 17:24:39 +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
db5c938d11 System Health diagram which works with the system health plugin. the XML IDs of each part of the SVG (will) match system alarms, so that no specific configuration is needed in the plugin itself.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@592 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 16:00:29 +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
edouard
bba2582bd3 Final(?) update for linear dial master.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@589 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 12:15:35 +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
5660df8c16 Updated linear dial: design simplified.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@587 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 09:42:38 +00:00
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