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

378 Commits

Author SHA1 Message Date
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
pip
46be975628 New map options page update.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@822 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 16:59:51 +00:00
pip
f82ff6fd10 New map cache directory string clean up and checking.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@814 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 08:41:56 +00:00
zedamota
9e95646cd1 OP37/GCS Map Lib fixed TilesStillToLoad
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@813 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 23:57:14 +00:00
pip
d6332aaffa Added map cache settings onto the map options page
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@812 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 19:07:04 +00:00
dankers
d884f46abe Jose's fix for the config options page no longer hangs the options menu. Plugin now enabled in build.
Small fix to the Notify options page, sound can be tested now, still issues with it.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@811 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 16:06:12 +00:00
pip
3b3c582799 More minor new map user control updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@810 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 10:40:30 +00:00
pip
c0ed4515f8 Minor new map user controls update
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@809 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 07:29:49 +00:00
zedamota
0b1e5fc32b OP-37 GCS/MapPlugin Added SetCacheLocation to Configuration class.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@807 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 21:48:23 +00:00
zedamota
3b0000a074 OP-37 GCS/MapPlugin Created new configuration class.
Created lots of signals.
Changed settings to not show tile lines by default.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 20:24:20 +00:00
pip
791997dbad Default zoom level for new map change from 10 to 2, plus a minor new map user control changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@805 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 18:54:12 +00:00
pip
072745ec83 New map plug-in user controls update
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@804 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 17:12:57 +00:00
ephy
70aab4850f GCS/notify: Rename notifyplugin.pluginspec -> NotifyPlugin.pluginspec Case matters on Linux.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 16:52:45 +00:00
ephy
e8fde01e90 GCS/notify: Rename notifyplugin.pluginspec -> NotifyPlugin.pluginspec Case matters on Linux.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 16:51:30 +00:00
pip
e48edb21b8 Updated new map user controls
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@800 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 15:48:43 +00:00
dankers
849c1096a7 Plugin.spec files don't like & symbol
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@799 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 15:24:08 +00:00
pip
933cedee56 Added some basic user controls to the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 14:57:37 +00:00
dankers
e4b09f8f21 Initial check in of the sounds for the notify plugin.
Plus janitor work, update copyright information in some plugin spec files.  

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@796 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 14:19:38 +00:00
dankers
a267d6d9d0 Notify plugin, please test this and make sure it works on Linux and Mac.
The idea is you select a UABObject to watch and when it reaches a certain level it will play sounds of your choice.

Can some one people do a code review and make sure it is ok? Testing would be very useful as well.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@795 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 11:59:53 +00:00
dankers
8bddb604a1 Missing slashes - sorry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@794 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 10:59:23 +00:00