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

76 Commits

Author SHA1 Message Date
pip
3079476bb0 OPMap gui style updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1912 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 10:24:42 +00:00
pip
1741825ee2 Added 'map modes' to the opmap plug-in. "Nomral map mode" and "Magic waypoint map mode". Not yet complete!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1911 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 07:09:00 +00:00
peabody124
6fe9a12358 Ground/OPMap & Coordinate conversions: Keep units in cm throughout
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1762 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:41 +00:00
peabody124
77b68e5169 Flight/Guidance: Initial template for guidance module
Flight: Create PositionDesired (the active waypoint) UAVObject and make the FlightSituationActual no update since it not used.
Flight: New velocity desired object that passes information between the look computing the desired velocity and the PID loop to get it (updated at different rates)
UAVObjects/PositionActual: Remove unused GPS fields
UAVObjects/PositionActual VelocityActual: Split the velocity into a separate object.  ALso make sure all the information telemetered around is in cm to avoid using floats.
UAVObject/GuidanceSettings: New guidance settings object for the guidance module
Flight/Posix: Add the new objects to the Posix sim
Flight/Guidance: Computes a desired velocity based on position error than runs a PID loop to control roll and pitch to achieve that velocity.  All distances are in cm, and updated the PositionActual fields to reflect this and use int32.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1760 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:27 +00:00
pip
9bf6bbcbeb Removed manual set home position, fixed go home functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1751 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 18:15:44 +00:00
pip
1f482371ca Fixed (hopefully) opmap plug-in zooming,
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1742 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 11:51:31 +00:00
peabody124
7a49f13540 Ground/OPMap: Fix compile error that PT made:
http://img93.imageshack.us/img93/8520/angrymonkey3uv.gif
Also I'm not sure ZoomReal is correct, this just gets things running.  There
are some quirks with the OPMap scroll bar now that need to be addressed.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1731 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 23:23:47 +00:00
cranphin
e4d317f40e GCS: Drop read support for binary plugin configuration. If you haven't converted your old ini yet, load it up once in a revision built from source before this change.
See also: http://forums.openpilot.org/topic/1850-existing-configuration-files-read-this-if-you-have-them/

Note: Reading binary layout (which gadgets are shown in each workspace and how they are split) still is available, since that was a later change. That'll get done somewhere in the future :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 19:57:02 +00:00
pip
c734584b01 Tidied up the zoom code in the map widget plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1719 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 08:42:38 +00:00
peabody124
af6b6d91a3 Ground: Suppressing some more random unused variable warnings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:43 +00:00
osnwt
88de8f789a Ground/OPMap config page: fixed vertical stretch of Default longitude textbox.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:40:57 +00:00
edouard
4888b34ac8 This time, the OPMap config dialog should have a consistent look on all platforms. Or??
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1662 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 17:24:35 +00:00
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
04fea701d4 Make OPMap options page a bit nicer with resize and consistent with behaviour of other config dialogs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1649 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 19:51:34 +00:00
edouard
d280204dd8 OP-151 Also update OPMap widget to use PathChooser, and make it use the path translation utilities. Not relevant on every platform, since typically on a Unix, the share path will not be user writeable. Still, doesn't hurt.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1619 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 20:27:39 +00:00
cranphin
f826ee0a20 Use QSettings key/properties instead of byte arrays for plugin configurations.
I've left in the reading of the byte arrays for now, so people can load their old config files, on the next save they'll be converted. This should be removed at some point in the not too far future though, since it's a lot of duplicate code in each plugin.

I've converted all the plugins, it's certainly possible I made a typo somewhere, I tried to test as much as I could, sorry if I broke something though :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 16:24:54 +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
zedamota
e4b3ee700a OP37/GCS Small change
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1195 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-02 18:07:17 +00:00
pip
5f14fb350a Enabled Show/Hide UAV and HOME icons. Added 'Set Home Location' option (test only).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1191 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-01 14:54:50 +00:00
dankers
7cb291a140 More doxygen header updates, I hate my life...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1114 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-16 14:06:09 +00:00
pip
f56866c45b UAV overlay control added to the OPMap plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1085 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-13 15:45:40 +00:00
pip
2225cdc314 A few more OPMap plug-in GUI style changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1030 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-05 22:15:41 +00:00
pip
619161c576 Changed OPMap GUI layout.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1026 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-05 15:43:16 +00:00
pip
5079b1d348 Disabled the waypointeditor dialog
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1018 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 09:28:52 +00:00
pip
d007478f02 Disabled manual mouse map dragging when map is locked onto the UAV (follow UAV mode).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@990 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-03 07:54:25 +00:00
pip
49d19222c3 Delete unintentional ui header files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@989 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-02 20:44:12 +00:00
pip
84966847e2 User control style sheets update.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@988 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-02 20:43:05 +00:00
pip
f17dd08caa 'Edit waypoint' dialog now fully operational on the OPMap plug-in right-click menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@973 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 11:00:12 +00:00
pip
1794ce50c0 Changed function names on various slots in the OPMap plug-in to stop warning messages.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@953 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 20:22:18 +00:00
pip
143ea6c3bb Added missing tooltip to 'find place' combobox on OPMap plug-in.
'Add waypoint' on the right-click menu now inserts a waypoint at the mouse cursor on the map.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@952 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 17:36:28 +00:00
pip
8f9c372f85 OPMap plug-in right-click context menu crash fix.
OPMap plug-in 'find place' history list auto save/restore (temporary).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@951 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 16:07:26 +00:00
pip
967ff1ab1c Corrected some menu spelling mistakes (thank you Ed) on the new map plug-in.
Simplified the zoom menu functions on the new map plug-in.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@947 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 13:26:24 +00:00
pip
0a1d6ac7ed Changed altitude/speed units to the standard units prefered for the project (http://www.openpilot.org/Unit_Standards).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@945 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 09:25:58 +00:00
pip
1f924cf5b0 Added compass show/hide context menu option and fixed initial map provider on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@943 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-30 08:09:46 +00:00
pip
0ea6731a1e Fixed new map tooltips.
'Maybe' fixed the 'find place' combobox border colour problem on the new map plug-in.
Mouse context menu now only pops up when user clicks within map area on the new map plug-in.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@940 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 19:41:13 +00:00
pip
8a122cdbe6 StyleSheet adjustments on the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@936 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 14:31:50 +00:00
pip
d19ada4193 Moved new map plug-in openGL option to it's options page.
Added 'Edit waypoint' option to the right click context menu on the new map plug-in.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@935 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 11:11:35 +00:00
pip
1faa9b4073 'Add waypoint' & 'clear all waypoints' now operational on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@929 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 00:40:02 +00:00
pip
b121af6e95 Updated flight control buttons on the new map plug-in to use language independent symbols rather than text.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@911 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-27 22:21:30 +00:00
pip
82aa515a52 Cosmetic changes to the look of the new map plug-in (buttons colours, widget borders etc).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@907 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-27 18:59:40 +00:00
ephy
4b9f224674 GCS: Get rid of some compiler warnings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@906 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-27 15:06:57 +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
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
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
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
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
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
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