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

397 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
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
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
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
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
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
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
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
pip
a99ac3ab97 Fixed zoom settings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@845 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 13:06:48 +00:00
pip
3a6a68b49c git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@844 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-21 12:53:48 +00:00
pip
c5bde18926 User controls added to the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@843 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 12:16:25 +00:00
pip
d48e80c684 A couple of right click context menu fixes on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@841 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 18:18:04 +00:00
pip
6a09d7f627 Left mouse button is now the drag button on the new map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@834 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 17:23:03 +00:00
zedamota
375071d221 OP37/GCS Exposed DragButton
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@833 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 16:50:59 +00:00
pip
5d9fef8aaa New map user context menu added.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@832 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 16:27:18 +00:00
edouard
99c2db99e3 New (better?) strategy for handling dial setting changes during a session: removed several weird artifacts, should be more solid & reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@827 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 11:30:58 +00:00
edouard
2ff5424944 Gadget now clips the rendering area to the background, which solves the rendering issue of the attitude indicator sky.ground rendering outside of the dial.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@826 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 10:11:04 +00:00
pip
22ccee665b New map temporary user control panel updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@825 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 08:51:18 +00:00
pip
3ea868a253 Added mouse Lat/Lon to the new maps temporary control panel
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@824 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 22:16:10 +00:00
zedamota
5bc48dd92e OP37/GCS
New OPMapWidget functions:

void SetFollowMouse(bool value)
bool FollowMouse()

internals::PointLatLng OPMapWidget::currentMousePosition()

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@823 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 18:12:52 +00:00