1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

11246 Commits

Author SHA1 Message Date
edouard
6373bec4dd OP-60: Analog dials gadget can now also display the numeric value on the dial if the dial is configured to do so (just add an element called with the same name as the needle + "-text" and the text will be displayed there). Removed unnecessary update() calls which slowed the gadget down. Wiki documentation to follow...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@897 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 13:44:42 +00:00
pip
0cc894c94a Cleaning up the new map user control colours, trying to fix the tooltip popups.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@896 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 12:44:28 +00:00
FredericG
55f13788de FlightBatteryState Object : Made Voltage and Current fields float
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@895 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:59:11 +00:00
FredericG
8204143f9d MKSerial: Do not generate BatteryState as this is now generated by the battery-module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:31:27 +00:00
FredericG
302be3ee6f OSD: Send battery-current info to OSD. Consumed mAh is calculated by the OSD
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:27:10 +00:00
dankers
9ebfcf1617 Header updates for Doxygen
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@892 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 17:38:03 +00:00
pip
cdd3e305b0 Adding a waypoint treeview onto the left hand edge of the the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@891 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 16:18:33 +00:00
edouard
dbf897245c OP-60: Altimeter now has three needles for range from 0 to 1000m.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@890 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 14:49:30 +00:00
edouard
06d9919981 OP-60 : more performance and precision improvements for the analog dials plugin. Config dialog size corrected as well.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@889 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 14:48:24 +00:00
pip
9f0d8795c8 Added an 'Access Mode' option to the new map plug-in options page.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@888 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 09:03:54 +00:00
vassilis
c74eb2f0e9 OP-26 Flight/Stabilization First release of stabilization module. Tested using FlightGear, default tuning is for the HITL simulation. Works fairly well but a number of improvements can be made to aid tuning. The ManualControl settings must be first set as you would normally do for HITL simulation, flight mode is changed using the mode channel.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@887 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 02:28:16 +00:00
vassilis
d652c853d0 OP-26 GCS/Stabilization First release of stabilization module. Tested using FlightGear, default tuning is for the HITL simulation. Works fairly well but a number of improvements can be made to aid tuning. The ManualControl settings must be first set as you would normally do for HITL simulation, flight mode is changed using the mode channel.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@886 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 02:27:42 +00:00
pip
9e8c4f26e4 Added the makings of a waypoint editor on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@885 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-24 16:22:08 +00:00
pip
4f4c04d16b Slightly new look to the new map plug-in (button colours).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@884 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-24 13:46:43 +00:00
guy
0dd472444c git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@883 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-24 13:33:52 +00:00
FredericG
6ef11148b5 First version of battery module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@882 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-24 11:10:43 +00:00
pip
c498611c60 UAV location added to lower statusbar on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@881 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-24 06:58:25 +00:00
andrew
3d8290c3a1 Updated code for TCP connection to Flight hardware.
Now has ability to change the IP and PORT to connect to.
This is done through an options page in tools->options.
This has been tested on Windows XP and basic testing in Linux (Fedora 11).
This has not been tested with real hardware.

Currently this crashes the GCS when closing the app... something in the clean up algorithm to remove objects and the way I created them trips something up...

As a result, I have not included this plugin in plugins.pro.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@880 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-24 04:58:19 +00:00
dankers
2f0fb8e5d1 Added more sounds for the notify plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@879 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 23:36:19 +00:00
edouard
ed895408cb OP-60 : Automatically move needles back to the right position if the dial is reloaded (config changed for example).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@878 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 22:36:17 +00:00
edouard
df2bed8dd0 OP-82 : More small improvements in move precision.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@877 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 22:31:05 +00:00
edouard
ee2e21e7e1 OP-82 : Small bug correction where the heading scale could become offset if the heading jumped back and forth just around 180 degrees. Should be fixed now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@876 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 21:45:56 +00:00
pip
d404b93fea Updated user controls on the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@875 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 17:50:27 +00:00
edouard
8d6190b487 OP-82: PFD widget now also indicates heading. The PFD-2.svg master is updated accordingly. Note that the location of the indicator can be configured simply by moving the location of the compass on the PFD master SVG. Going from 360 degree to 0 degree still does not look nice, but I'll fix this later. Will update the wiki with notes on how to draw a PFD master, if anyone is interested to contribute?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@874 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 15:08:46 +00:00
dankers
7de5726e0e New sound file: Geofence as suggested by Pip. E.g: Geofence reached.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@873 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 14:54:05 +00:00
dankers
9b422de663 Doxygen updates, minor janitor work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@872 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 14:32:10 +00:00
dankers
277ad88f50 Ran UAVObject generator, just to change doxygen defgroup.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@871 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 13:21:00 +00:00
pip
db2c95f820 Corrected map rotation direction when following the UAV on the new map plug-in (twas backwards).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@870 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 09:24:36 +00:00
edouard
bd58fa063d OP-60: linear dials now also stop their timer when the index has finished, slightly resulting in lower CPU usage. Also removed remaining testing code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@869 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 09:04:36 +00:00
pip
d4709c4d89 Fixed UAV following on the new map plug-in - testing with FlightGear.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@868 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 08:59:29 +00:00
pip
bd56e4476e Added functionality to some user control buttons on the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@867 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 07:35:00 +00:00
andrew
76e522f15a Initial code for TCP connection to Flight hardware.
This is heavily based on the serial connection code.
Currently this uses a fixed IP and PORT to connect.
This has only been tested on Windows XP.
This has not been tested with real hardware.

Update to allow config of IP and PORT to come soon.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@866 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 04:11:01 +00:00
dankers
b76ed714c8 Empty Gadget is required for new splits.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@865 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 04:07:05 +00:00
dankers
19bc523d3b Update dependencies for version 1.0.0 in pluginspec files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@864 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 03:23:08 +00:00
dankers
882cd5d006 Doxygen consistency and all plugins to version 1.0.0 with compat 1.0.0
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@863 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 02:33:53 +00:00
dankers
61c7be7765 Some Doxygen fixes, remove auto generated headers from config plugin, remove emptyplugin from the build. Just janitor work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@862 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 01:59:12 +00:00
edouard
4edc7a1cc2 OP-82: Start of the PFD Gadget. Just an attitude indicator for the moment, but the rest will come as I progress. First use PFD-2.svg as the SVG source file for the gadget configuration, don't bother about the rest of the settings. Use Inkscape to edit PFD-2.svg if you wish.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@861 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 20:21:17 +00:00
pip
bff566f59b User controls slightly re-arranged and some button style change on the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@860 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 18:50:47 +00:00
edouard
de0dc6b62e OP-60: major improvement in CPU usage, update timers are now stopped when not necessary. Also corrected a potential needle drift issue by forcing needle value to target value once it falls below the threshold.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@859 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 09:53:55 +00:00
edouard
9eeea3e416 OP-52 : Added GPS Gadget directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@858 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 09:25:20 +00:00
edouard
3784ee4ffd OP-52 : Skeleton GPS Display Gadget. Don't get your hopes too high, it doesn't do anything, and won't for the time being, but since the code exists, I thought I would still commit it nevertheless.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@857 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 09:22:51 +00:00
pip
090deaafc8 Added (currently) non-functioning user buttons to the new map plug-in.
Still experimenting with user control methods/layouts.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@856 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 08:41:49 +00:00
dankers
efc1a5f546 OP-80 Updated translations ts files to add all the new GCS text and to remove all obsolete entries. ts files are translation source files and these are the files worked on by translators using either Qt Linguist of an online tool like Pootle.
Removed and added to the ignore list the extract-mimetypes.xq file as this is auto generated by "make ts". 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@855 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 01:59:52 +00:00
dankers
aaadb3e2ae Fix for "make ts", used for updating GCS translations
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@854 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 01:12:25 +00:00
edouard
018cac7a4e New attitude dial with gradient and nicer looks (try it!), and beginning of PFD display artwork - which you can also try as an analog dial for now as well.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@853 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 21:14:23 +00:00
FredericG
6c40edccf2 ET OSD: WIP: dumping of config-blob to serial port
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@852 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 20:02:03 +00:00
dankers
9b6a06cee0 Case fix for Linux as mentioned by Peter
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@851 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 19:34:38 +00:00
pip
8c5375d5ab Updated zoom user controls on the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@850 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 18:47:29 +00:00
dankers
b2840b41ef Update from Daniel of the notify plugin. Play with this, it is very cool, it looks at UAVObjects and based on their values it has rules to play sounds. It is flexible and a much better approach than text to speech which was originally considered but still sounds bad and hard to do cross platform.
Sound collection path if you are building in a build directory would be:

../../share/openpilotgcs/sounds

Select default as the language. There is one issue remaining which Daniel is working on, 0.0x values do not play, these are rare ut will be fixed shortly. It is now mature enough to test with however.

Additionally as part of this commit, typeo correct of a sound file.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@849 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 16:31:07 +00:00
pip
20535abf53 Re-arranged the user controls and changed the colours on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@848 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 15:40:41 +00:00