1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-27 12:52:11 +01:00

139 Commits

Author SHA1 Message Date
edouard
9a31fea559 OP-153 Implemented a default storage path: "OpenPilot" in the user's home directory. OPMap will use this as its default path for its mapscache.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1661 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 17:17:42 +00:00
edouard
1cbd44f564 OP-151 Use PathChooser in all plugins, and update pathutils to behave consistently across platforms by always using "/" as its internal format. Should solve the issues we have been having with windows paths not being removed properly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1618 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 16:58:40 +00:00
edouard
beed9c8936 Solved (please confirm) modelview crashing on non-existing files
Made configuration portable for: dials, bargraph dials, pfd, modelview and system heatlh
THis means: if your config points to resources in the share directory, then the config will be portable


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1574 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:18:43 +00:00
edouard
2b70ed53f7 New "PathUtils" Utils function, to help plugins detect where the "share" directory is located. Should be improved but it is a start.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 15:17:37 +00:00
peabody124
8dbc382e5b Ground/CoordinateConversions: Shows correct location now. I just typed in a 3.14 constants and forgot to change to M_PI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 05:58:43 +00:00
peabody124
a377bea862 Ground/CoordinateConversions: Found out from Dschin that rotation matrix inverse is rotation matrix transpose. Now should convert correctly from NED to ECEF. I will check tomorrow by frolicking around with a plane.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1494 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 03:12:06 +00:00
edouard
1553ca6799 Missing include for Linux (stdint.h needed on that platform)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1487 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 12:28:15 +00:00
peabody124
f906346795 Ground/OPMap + Position Information: Initial version of conversion from NED to LLA and integration into OPMap. I don't particular love how this is done. The main issue is the Utils didn't like having any UAVObject stuff linked to them (in my hands). That means in OPMap gadget I had to write the code that will pull the HomeLocation and PositionActual together, but this code will likely need to be reused. I will update the Altitude getting code later too, I need to look how the whole internals::position is working on OPMap.
To comment please post to http://forums.openpilot.org/topic/1578-changes-to-gps-objects/page__pid__4705#entry4705

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1477 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 05:09:57 +00:00
stac
679f59f19d uavobjectparser: fix alignment of field init in generated code
Change from spaces to <TAB> to match the formatting in
the template.  No functional changes, just whitespace.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1451 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 01:46:09 +00:00
zedamota
6443b7c830 OP37/GCS MapLib - Fixes a bug which Edouard was experiencing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1434 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 15:24:13 +00:00
peabody124
70f13ba896 OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are:

  flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query
  flight/OpenPilot/UAVObjects/uavobjecttemplate.c

  flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query

  ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1426 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 00:15:46 +00:00
peabody124
a8df6e2c4d OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are:

  flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query
  flight/OpenPilot/UAVObjects/uavobjecttemplate.c

  flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query

  ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1425 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 00:15:42 +00:00
peabody124
82f7f42112 Ground: Fix bug in serial port opening for OSX. I could have put another compile switch in serialplugin.cpp but making this function return in the same format as linux made more sense. Just make sure this doesn't get clobbered from upstream in future.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1386 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 05:13:43 +00:00
zedamota
dea2529e38 OP37/GCS MapLib - New providers codes. Fixes Google Maps not being loaded.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1360 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 19:42:00 +00:00
ephy
45d2d82322 GCS/glclib: Quiet down some compiler warnings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1300 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 14:02:11 +00:00
dankers
b1042ecb11 Inc is required.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1264 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 21:35:43 +00:00
dankers
e6c99d73f5 Remove install and inc dirs for GLC lib.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1263 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 20:42:49 +00:00
dankers
44eb65ec68 Another minor compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1262 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 20:35:57 +00:00
dankers
81104f7a97 Minor compile fix for Windows. Hope this doesn't break anything else.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1261 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 20:30:25 +00:00
chebuzz
023df37b2b OP-98 GCS/ModelView - Update ModelView to use GLC_lib 2.0
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1260 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 17:16:57 +00:00
chebuzz
d02b0d2da3 OP/GCS Lib - Drop GLC_lib 1.2 for GLC_lib 2.0
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1257 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 16:31:21 +00:00
ephy
4536782428 GCS: Cleanup to allow -pedantic compile flag and changes to reduce the noise that it generates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1243 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 06:45:16 +00:00
ephy
14a93b4e61 GCS: Quiet down some compiler warnings.
There are now 0 build issues in Linux when I use "QMAKE_CXXFLAGS+=-Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable" (including the "") as additional arguments to qmake in Qt Creator.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1232 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 19:14:34 +00:00
zedamota
ea309623a6 OP37/GCS MapLib - Fixed a bug reported by PeterG Again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1231 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 17:07:18 +00:00
zedamota
10736204be OP37/GCS MapLib - Fixed a bug reported by PeterG, and deleted Nokia from the credits again (still haven't received the free phone :))
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1230 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 14:47:48 +00:00
zedamota
a58a6ce269 OP37/GCS MapLib Added offline map creator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1199 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-02 23:14:08 +00:00
zedamota
03800c418a OP37/GCS MapLib Added offline map creator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1198 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-02 23:10:28 +00:00
dankers
1ba0862ba2 Update copyright header in OPMaplib, no idea why Nokia was mentioned, this was written from scratch for the OP project by Jose, with zero help from Nokia :-)
I assume headers were copied from elsewhere in the plugin loader source from very early on in the project. 

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1194 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-02 18:03:25 +00:00
dankers
c4a986ae1a Various bits that I have been working on here and there, mainly artwork and sounds.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1188 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-31 13:21:15 +00:00
zedamota
b3225cda5b OP37/GCS Various optimizations in cache DB. Created function to delete DB tiles older than x days.
Exposed various functions in configuration class.
Since DB records now have time field old DB may not work. Its better to delete "mapcache" folder.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1149 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-22 00:03:57 +00:00
dankers
e7fc7b02d9 More Doxygen for the ground side of things, a bit of a cleanup to removed some now unused parts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1112 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-16 10:33:27 +00:00
dankers
7b265f5591 Update Map Easystar image to remove the prop, at this small size (50x33 px) it doesn't show up well and this small image looks better without it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1099 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-14 21:37:24 +00:00
dankers
d706f1dc7b Add Easystar blue version from Ed's SVG. Easier to see on the map and matches modelview.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1089 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-13 23:53:51 +00:00
zedamota
fbc627aeed OP37/GCS Fixed GeoCoder caching
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1084 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-13 13:56:23 +00:00
zedamota
46fcdea93c OP37/GCS Added UAV overlay documentation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1081 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-12 20:57:46 +00:00
zedamota
4774ed2164 OP37/GCS Added Home overlay.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1080 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-12 19:27:09 +00:00
zedamota
e67a955044 OP37/GCS Added UAV overlay.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1028 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-05 21:06:56 +00:00
zedamota
6714d62e42 OP37/GCS Enhancements to smooth zooming. Continue preliminary work on the UAV overlay.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@994 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-03 13:05:22 +00:00
zedamota
a9695fc59e OP37/GCS Deleted unused var in core.cpp
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@980 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 21:07:51 +00:00
zedamota
89ae1831ab OP37/GCS Hot new way of zooming, no more Empty tiles.
Fixes to some provider strings.
Changes to static libs needs rebuild.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@979 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 20:39:03 +00:00
zedamota
12d0831f25 OP37/GCS Begin of UAV overlay
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@959 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 22:34:09 +00:00
zedamota
8fd41c4854 OP37/GCS Some optimizations
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@958 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 22:31:15 +00:00
zedamota
423b94d414 OP37/GCS Fix to DB warning
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@957 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 22:30:02 +00:00
pip
e57b93f2f6 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@946 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-30 09:26:38 +00:00
zedamota
76dbf62375 OP37/GCS Small fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@942 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 20:27:12 +00:00
zedamota
5a8639b5b6 OP37/GCS Fix to WP number in tooltip, added compass to map
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@941 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 20:17:28 +00:00
zedamota
b3f4b71192 OP37/GCS Fix WayPoint positioning, added text background
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@939 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 17:30:32 +00:00
zedamota
6800a73dbf OP37/GCS - Fixes to compiler Warnings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@928 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-28 22:33:41 +00:00
zedamota
e7c79b961b OP37/GCS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@927 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-28 21:14:00 +00:00
zedamota
de029920f6 OP37/GCS WayPoint overlay added. Doxygen tags added to mapcontrol namespace.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@926 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-28 20:59:21 +00:00