1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-15 22:23:51 +01:00
Commit Graph

313 Commits

Author SHA1 Message Date
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