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

489 Commits

Author SHA1 Message Date
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
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
dankers
69d2c1b546 Add flightbatterystate to the GCS, ran uavobjgenerator on all XML files. .cpp and .h included for GCS now, uncommented out these files from the uavobjects.pro.
Moving sounds folder to shared. Some sounds will be uploaded later.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 10:06:51 +00:00
pip
49fbe8b68b Success with the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@791 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 18:50:36 +00:00
ephy
390b762495 GCS/plugins.pro: scope gadget depends on uavobjects now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@790 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 17:54:42 +00:00
ephy
262c8a01d6 GCS/uavobjects: flightbatterystate.cpp/h missing and therefore commented out for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@789 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 17:15:00 +00:00
ephy
cf55ff673b GCS/uavobjects: flightbatterystate.cpp/h missing and therefore commented out for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@788 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 17:03:16 +00:00
dankers
a8fac007d7 Disable config plugin as it breaks the options menu in the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@787 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 16:17:52 +00:00
pip
e73d90fbde Small bug fix.
Main GCS Options still locks up :(

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@784 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:12:28 +00:00
fredericg
176c8e5d92 New FlightBatteryState UavObject
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@783 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 11:51:55 +00:00
pip
c86c875572 Additions to the new OPMap plug-in.
Working on fixing the Options Page menu locking up

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@782 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 08:52:59 +00:00
pip
092c22f542 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@781 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-16 08:35:32 +00:00
pip
b6492fc96f Removing Ambiguity between current map plug-in and the newer upcoming map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@780 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 07:40:53 +00:00
stac
bf399821f6 gcs build: fix filename case
Filenames are case sensitive on Linux.  Fix the case of some
recently added files.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 04:27:05 +00:00
zedamota
5b323897f6 OP-37 GCS/MapPlugin New map library-Fully qualified some classes instead of using "using namespace" to avoid ambiguities with other classes and namespaces already in use.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@778 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-15 19:37:45 +00:00
dankers
ea3f3446e2 Typo fix gsc renamed to gcs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@777 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-15 19:17:30 +00:00
dankers
a54925b8eb Typo fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@776 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-15 19:08:19 +00:00
zedamota
6acdbed4ba OP-37/GCS- Minor fix to make it compile under Linux
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 20:22:25 +00:00
pedro
15fdfc4161 minor progress
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@774 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 20:14:09 +00:00
edouard
2465307431 OP-60 : Working version of analog dial with horizontal/vertical option, and up to three needles. First try at attitude indicator dial in artwork/Dials/defaultset/attitude.svg
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 20:10:37 +00:00
pip
e94befbc1c git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@772 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-14 19:37:43 +00:00
pip
e54748721f git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@771 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-14 19:34:49 +00:00
pip
97a195baf1 New map gadget addition .. not yet operational though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@770 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 19:34:04 +00:00
pip
3bc7c253ab About to add a new map plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@769 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 18:44:09 +00:00
pip
d11bdd5e8f Fix compile errors
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@768 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 18:43:00 +00:00
zedamota
684f09d6b8 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@767 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-14 17:21:22 +00:00
zedamota
715ab33179 OP-37 GCS/MapPlugin Beginning of the new map library integration on the main tree. Still remains on the experimental folder, to be deleted soon.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@766 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 17:17:49 +00:00
edouard
50d63d35fa OP-60: Analog dial needles can now also move horizontally and vertically. Combined move can be achieved if both needles have the same name, this enables fancy indicators such as artificial horizon. Additional work still needed for proper display, but it's a start.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@764 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 13:09:26 +00:00
zedamota
53e2949d04 OP-37 GCS/MapPlugin Things were getting messy, created new Helper class (only static functions).
Small bug fix on refreshing after maptype change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@754 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 23:05:09 +00:00
GoogleMap,GoogleSatellite,GoogleLabels,GoogleTerrain,GoogleHybrid,GoogleMapChina,GoogleSatelliteChina,GoogleLabelsChina,GoogleTerrainChina,GoogleHybridChina, OpenStreetMap,OpenStreetOsm,OpenStreetMapSurfer,OpenStreetMapSurferTerrain,YahooMap,YahooSatellite,YahooLabels,YahooHybrid,BingMap,BingSatellite,BingHybrid, ArcGIS_Map,ArcGIS_Satellite,ArcGIS_ShadedRelief,ArcGIS_Terrain,ArcGIS_MapsLT_Map
8efae87949 OP-37 GCS/MapPlugin testproject dropdown box for map provider choice.
New map widget is able to display maps from: GoogleMap,GoogleSatellite,GoogleLabels,GoogleTerrain,GoogleHybrid,GoogleMapChina,GoogleSatelliteChina,GoogleLabelsChina,GoogleTerrainChina,GoogleHybridChina, OpenStreetMap,OpenStreetOsm,OpenStreetMapSurfer,OpenStreetMapSurferTerrain,YahooMap,YahooSatellite,YahooLabels,YahooHybrid,BingMap,BingSatellite,BingHybrid, ArcGIS_Map,ArcGIS_Satellite,ArcGIS_ShadedRelief,ArcGIS_Terrain,ArcGIS_MapsLT_Map,
ArcGIS_MapsLT_OrtoFoto,ArcGIS_MapsLT_Map_Labels,ArcGIS_MapsLT_Map_Hybrid, PergoTurkeyMap,SigPacSpainMap,GoogleMapKorea,GoogleSatelliteKorea, GoogleLabelsKorea,GoogleHybridKorea,YandexMapRu

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@753 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 22:21:24 +00:00
zedamota
5f78ee2f1c OP-37 GCS/MapPlugin Gave up from Designer integration, deleted related files.
QT Creator windows binaries are compiled with MSVC and the plugin would not be compatible when built with mingw so I opted not to go down that road.
Current test project is "finaltest".
Zoom, Pan, Rotate, OpenGL choice, geodecoding, map reloading... all working. 

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@752 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 20:27:33 +00:00
pip
511278ec5b Added GSC and UAV map icon, but still have an icon display bug on the google maps.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@751 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 19:12:47 +00:00
pip
ac771996ba Removed Map Icon images that were added to the SVN by mistake.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@749 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 16:03:00 +00:00
pip
9b2c0984b6 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@748 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 16:19:38 +00:00
pip
f536e7ef54 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@747 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 16:19:19 +00:00
pip
c537df4ade git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@746 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 15:59:48 +00:00
pip
54a48953a4 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@745 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 15:58:42 +00:00
pip
3f206be0bd git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@743 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:49:45 +00:00
pip
a8ef4744ba git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@742 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:45:21 +00:00
pip
d0138d16b6 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@741 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:38:43 +00:00
pip
740d322070 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@740 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:30:16 +00:00
vassilis
7ec7a5f207 GCS/Telemetry Avoid bunching of periodic updates by spreading them.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@738 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 02:24:09 +00:00
edouard
204f264a6e The bargraph dial can now select its font for each dial type.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 12:36:46 +00:00
chebuzz
a8ba7f8d25 OP-76 GCS/ModelView - Add option to enable Vertex Buffer Objects (VBOs), now disabled by default. VBOs reduce CPU load, but was causing crashes on GPUs with faulty drivers. Recommended for most to re-enable VBOs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@736 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 11:15:06 +00:00
vassilis
6844743050 GCS/GPS Renamed GPSObject to PositionActual and added field for GPS status (NoGPS, NoFix, Fix2D and Fix3D)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@733 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 01:27:19 +00:00
banigreyling
8f95857fb1 OP-42 Implemented some features for Scope Gadget. It is still hardcoded to display altitude and temperature. Basic config panel layout done without bindings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@729 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-08 20:59:43 +00:00
zedamota
a32bced9fc OP-37 GCS/MapPlugin changed graphic implementation. Map is now a QGraphicsItem, Widget is a QGraphicsView.
Rotation of map working, rotation keeps map centered. 

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@728 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-08 17:59:29 +00:00
edouard
6268ba26a1 Bargraph dial now displays field name and value in real time. It is also capable of displaying vertical as well as horizontal dials, a new vertical dial is included in the artwork directory as an example. The gadget automatically detects if the dial is vertical or horizontal.
TODO: make fonts look nicer - if anyone can recommend a font chooser ?

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@727 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-08 13:04:17 +00:00
zedamota
3edd28e60b OP-77 GCS/Qextserialports replaced sources with latest ones from google code.
Deleted Makefile from libqxt (was this a mistake???)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@722 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-06 15:49:32 +00:00
dankers
c35074c0f0 Please bare in mind I am not up to speed with this yet! This should fix the Windows / Linux serial stuff and I know it appears to work on Windows.
Stac, please let me know. Yeah, I should do this in a patch, but this change should do no harm as it keeps Windows working and Linux in theory. It is cosmetic for the list of ports. 

  



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@721 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-06 04:43:46 +00:00
zedamota
fee771fa7f OP-77 GCS serial plugin small issue
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 20:19:53 +00:00
zedamota
b9f81d4e7e OP-77 GCS-Removed alterations from the lib (serial port qlists sorting moved to plugins sources), added conditional compilation to serialplugin and uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@719 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 20:08:07 +00:00
dankers
fb9e8563b8 GCS Compile fix, other misc bits in my tree
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@718 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 17:26:13 +00:00
edouard
dbcfea244e Linear dial: now connects to objects and prints field name. I will add field value + unit later. Tests welcome on real HW. Need to also add a font chooser in the config. Use with dials-master-linear.svg
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-04 10:43:54 +00:00
stac
207e4b6a75 gcs serial: fix for serial ports on linux (try #2)
This change adds '/dev' to the beginning of the portName
on Linux.  This doesn't seem quite right but using physName
breaks serial port functionality on Windows.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@714 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-04 00:49:18 +00:00
dankers
4615047608 WIP. Can people please test if this works for telemetry on both Win, Lin and Mac?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@713 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 20:09:28 +00:00
stac
6225fedbb5 gcs serial: fix serial port telemetry on Linux
On Linux, port.portName is the simple name of the serial port
like 'ttyS0'.  The physical name of the device is '/dev/ttyS0'.
This value is stored in port.physName.  This bug doesn't get
in the way on Windows since 'COM1' is both the simple name as
well as the physical name.  On Linux, the distinction is
important.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 13:58:21 +00:00
zedamota
df4ae77798 OP-37 GCS/MapPlugin cleaning and bug hunting
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@706 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 20:27:13 +00:00
zedamota
570bbb4353 OP-37 GCS/MapPlugin cleaning and bug hunting
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@705 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 20:26:48 +00:00
zedamota
f31cd81a8d OP-37 GCS/MapPlugin cleaning and bug hunting
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@704 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 20:22:31 +00:00
zedamota
9de32fa040 GCS/Tools DocumentationHelper - Just a small app to help with my laziness
Just choose a folder and the app will fill the license header in .h and .cpp files with the proper filename and user selectable DefGroup.
Also inside the same folder it can create a namespace with user selectable name.
Additionally it can create #if #endif blocks around qDebug's ex #ifdef DEBUG_name_of_file_uppercase.
This was made for my needs, use it at your own risk.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@701 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:28:45 +00:00
zedamota
0492641f31 OP-37 GCS/MapPlugin filename renaming only
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@700 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:20:18 +00:00
zedamota
1f8bee643d OP-37 GCS/MapPlugin Widget user interaction started. Panning done (default right mouse button), MouseWheel Zooming done.
Fixed minor bug in get tiles threadpool 
Divided project in 3 different namespaces, introduced license info.
Current test project is "widgettest"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:08:57 +00:00
ephy
754544f82b GCS/core: Turn off logger before exiting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 13:43:12 +00:00
ephy
147996935d GCS/utils: Small fix to PathChooser for Windows.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@697 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 12:27:04 +00:00
ephy
845bc99c03 GCS/core+plugins: Missing files in rev 695. Changes to options pages to make them more uniform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@696 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 08:53:01 +00:00
ephy
4a974de1b5 GCS/core+plugins: Changes to options pages to make them more uniform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@695 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 08:07:53 +00:00
ephy
cea963e96b GCS/core: Preliminary support for more than 2 workspaces in GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 18:57:33 +00:00
zedamota
76802e0d38 OP-37 GCS/MapPlugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 17:16:35 +00:00
edouard
3ea3bf4018 Less agressive smoothing on the dials, add a factor option to dials for quick unit conversion, and allow negative max value for range settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 16:05:00 +00:00
vassilis
c2a30176de GCS/HITL Simulation with FlightGear, only tested on Win7, see http://wiki.openpilot.org/HITL_Simulation for more details and video.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 02:12:53 +00:00
vassilis
30a127ebad GCS/UAVObjects Modify update rate and acked flag of periodic objects, added new gpsobject fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@683 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:55:47 +00:00
vassilis
7bc37e891d GCS/UAVTalk Added TelemetryMonitor, generates signals on autopilot connect/disconnect
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@682 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:52:31 +00:00
vassilis
4893dead52 GCS/Modelview Implemented real-time updates from AttitudeActual object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@681 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:50:46 +00:00
vassilis
3fae030433 GCS/Map Implemented read time updates from GPS object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:49:51 +00:00
zedamota
198045b292 OP-37 GCS/MapPlugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-29 19:43:16 +00:00
zedamota
ab34bbfa7a OP-37 GCS/MapPlugin Some fixes to core, fixed sqlite multi-thread access, changed some things from being created on the stack to the heap (I'm starting to sound like a C++ developer...lol)
Continued work on the widget stuff

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@678 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-28 19:39:51 +00:00
edouard
b246079a35 Corrected typo in the minimum value settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@676 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-28 09:04:03 +00:00
edouard
9e76bcca1b Cleanup of dials plugin, signal disconnect should now work properly and the overall gadget should be more robust when changing the dial multiple times during a session.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@675 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 22:14:18 +00:00
edouard
838f312309 New thermometer dial, measures from -30 degrees C to 90 degrees C. Updated settings UI for the analog dials to accept negative values.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@674 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 16:29:52 +00:00
edouard
dd5d60b11e Solved (?) the signal connection issue, plugin now should work with multiple dials at the same time, and any on the fly object reconnection. Real life testers needed!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@673 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 13:51:30 +00:00
edouard
eedb81de9d The Analog dial widget now fully works! Testers with actual needed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@671 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 09:47:42 +00:00
zedamota
ac80771774 OP-37 GCS/MapPlugin Core done, started widget part.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-26 16:19:34 +00:00
edouard
80956a2766 Analog dial gadget now uses combo boxes for choosing the UAVObject: more user-friendly, less error-prone.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 16:11:39 +00:00
sambas
f7f1b37c62 OP-25 Flight/GPS: More object fields for GPS module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:14:52 +00:00
vassilis
06c9bef7aa GCS/Attitude Minor change in field names and task priority
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@663 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 00:50:35 +00:00
zedamota
630c1325d8 OP-37 GCS/MapPlugin First Commit, NOT fully functional.
Standalone compilation, not included on the top level project. 

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@661 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 19:53:44 +00:00
stac
46101794e3 gcs: quiet some debug messages on tx via USB HID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@657 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:44 +00:00
stac
6b2760da1a USB HID: basic COM functionality over USB HID
This fixes the COM interface over USB HID to the point where
it can establish and maintain solid communications with the UAVObject
Browser in the GCS.

Tested only on Linux.  The USB HID interface is still disabled for now
until it is tested successfully by a wider group.

Edit telemetry.c and set ALLOW_HID_TELEMETRY to 1 to enable telemetry
over the USB HID interface and report your results in the forum.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:40 +00:00
stac
69de42db49 Add AHRS attitude module and driver skeletons
- New Attitude module for AHRS (skeleton)
 - New AttitudeSettings UAVobject
 - New AttitudeActual UAVobject
 - Regenerated UAVobjects
 - Added new UAVobjects to OpenPilot and GCS builds
 - New PiOS driver for OpenPilot AHRS (stubs only)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@655 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:36 +00:00
vassilis
f1b6b5e410 GCS/Altitude Update altitude object with new metafields, modified update rates in XML and flight s/w
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@646 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-20 01:22:22 +00:00