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

1682 Commits

Author SHA1 Message Date
James Cotton
2ec8434941 OSX USB: Make sure to store the run loop handle before connecting the signals that can use it. 2012-09-08 16:06:01 -05:00
James Cotton
6840b8934b GCS ConnectionManager: More cleaner code structure. 2012-09-08 16:05:51 -05:00
James Cotton
8e8cbd0b75 GCS ConnectionManager: Use some cleaner code coventions 2012-09-08 15:45:08 -05:00
James Cotton
19eaa77a15 Remove some comments and unused variables 2012-09-08 15:32:12 -05:00
James Cotton
65ef8a59b4 GCS ConnectionManager: Get rid of all the copies of various forms of the names and
store a handle to the IConnection::device and generate the appropriate names from
consistent functions.
2012-09-08 15:14:06 -05:00
James Cotton
1ca8abb3c8 GCS ConnectionManager: Properly check it is the active connection before closing it when a USB device is disconnected. 2012-09-08 14:31:16 -05:00
James Cotton
3563c7376f GCS ConnectionManager: When plugging in a new device don't glitch the connectionwq 2012-09-08 14:04:59 -05:00
James Cotton
9912432e84 GCS ConnectionManager: Remove some commented code 2012-09-08 13:33:50 -05:00
James Cotton
44e7c4542f GCS USB: Implement structure for only adding new devices but need a way of
identifying them
2012-09-08 13:23:37 -05:00
James Cotton
e5ab9f0fda GCS ConnectionManager: Consolidate the unregistering and registering devices
into one method
2012-09-08 12:53:00 -05:00
James Cotton
e6bcf96e2a GCS USB: Remove unused include file 2012-09-08 12:47:15 -05:00
Richard Flay (Hyper)
c5745b0817 Fixes/tweaks to GCS levelling code. Fixed a deadlock and take more samples 2012-09-08 15:58:39 +09:30
Fredrik Arvidsson
3a38cb2cc1 OP-39 Added new button graphix.
Implemented servo min/max/neutral calibration.
Added check for Actuator module alarm before running calibrarion.
2012-09-07 07:35:43 +02:00
PT_Dreamer
6325263a1d Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/config/configccattitudewidget.cpp
2012-09-06 12:41:08 +01:00
Fredrik Arvidsson
0871cd3db2 OP-39 More Motor and servo calibration code. 2012-09-05 00:58:53 +02:00
James Cotton
2f65fc1e8e Merge branch 'next' into relay_tuning
Conflicts:
	shared/uavobjectdefinition/manualcontrolsettings.xml
	shared/uavobjectdefinition/taskinfo.xml
2012-09-04 10:43:04 -05:00
Fredrik Arvidsson
51dc691ab8 OP-39 Motor and servo calibration code. 2012-09-04 01:28:28 +02:00
James Cotton
a3b75a3cc7 Merge remote-tracking branch 'origin/kenz/matlab_parser_vectorizing' into next 2012-09-02 19:23:18 -05:00
James Cotton
db083aa0e9 Merge branch 'android' into next 2012-09-02 19:19:23 -05:00
Fredrik Arvidsson
b150375ff5 Merge branch 'next' into thread/OP-39 2012-09-03 01:05:47 +02:00
Fredrik Arvidsson
a44ea92df7 OP-39 Output calibration functionality. Connection diagram updates. 2012-09-03 01:01:57 +02:00
chris pember
26b682122b fixed the text on the mixer, need mike or someone to hook up the reverse button for the yaw mixer, as well as change the range on the slider 2012-09-01 11:11:44 -07:00
chris pember
77ea0277d0 made some more adjustments to the stylesheet for osx, sliders in particular 2012-09-01 01:20:51 -07:00
chris pember
704cad9313 fixed up the feed forward tab, as well as renamed advanced to feed forward on the tab 2012-08-31 21:55:10 -07:00
chris pember
777bad5708 fixed the vertical sliders, fixed input/output header spacing over the config sliders, switched around the progress bar in stabi ui, more to come 2012-08-30 23:00:25 -07:00
Fredrik Arvidsson
df987ab57f OP-39 Connection diagram changes.
Fixed a bug levelling util and changed rate from 100ms to 30ms.
2012-08-30 22:13:44 +02:00
James Cotton
60051e88cc Calibration: Fix both accels and gyros to 30 ms. Should be reasonably sustainable through USB. 2012-08-30 11:38:15 -05:00
James Cotton
75db9f5941 OP-669: Gyros were not being sent at a rapid rate during calibration making the results quite noisy.
Now both accels and gyros require a minimum number of updates before calibration completes.

Thanks to ti.dyer for the report and fix.
2012-08-29 04:29:55 -05:00
chris pember
528cea9418 almost done fixing any spacing isues, changed the font so its bigger, added some new stylesheet properties to linux and osx 2012-08-28 23:27:36 -07:00
James Cotton
3e6f98b2e8 Update the OSX packaged icons to those from 3rdeyepro / dacat. 2012-08-28 18:32:49 -05:00
Fredrik Arvidsson
d647e9d6bb Merge branch 'thread/OP-39' of ssh://git.openpilot.org/OpenPilot into thread/OP-39 2012-08-28 18:13:35 +02:00
Fredrik Arvidsson
41f2a49bb2 OP-39 Added outputcalibration page to wizard. 2012-08-28 18:11:49 +02:00
Fredrik Arvidsson
955b1f489e OP-39 Fixed svg file 2012-08-28 16:19:32 +02:00
Fredrik Arvidsson
8c1fbb0352 Merge branch 'next' into thread/OP-39 2012-08-27 21:23:30 +02:00
Fredrik Arvidsson
66534ae91c OP-39 Fiddling around with connection diagram.
Updated some GUI.
Started on motor calibration function.
2012-08-27 07:19:46 +02:00
Stacey Sheldon
d4794d139f gcs: fix pipx-related typos in GCS
This also fixes the auto-selecting of FW images for
pipx in the uploader GUI by making the board name
match fw_pipxtreme.
2012-08-25 23:46:40 -04:00
PT_Dreamer
96e8d668b2 GCS-UI Fixes
Fixes rotation of board on hw settings page
Fixes airframe size on airframe settings page
2012-08-24 17:50:28 +01:00
Fredrik Arvidsson
4d701a2f7a OP-39 Updated some GUI. Changed stylesheet on some elements. Switched button graphix and added new graphix. 2012-08-24 16:22:21 +02:00
Fredrik Arvidsson
49bdb731f5 OP-39 Added button for Radio Config Wizard.
Cleaned up the GUI, removed all group boxes and aligned components on pages.
Changed place of rapid and default esc buttons.
Set the size of the wizard to a fix size.
Updated some of the texts.
Changed font sizes.
Added resources.
Started the connection diagram implementation.
2012-08-24 00:48:09 +02:00
Fredrik Arvidsson
962fa3958a Merge branch 'thread/OP-39' of ssh://git.openpilot.org/OpenPilot into thread/OP-39 2012-08-23 18:38:26 +02:00
Fredrik Arvidsson
bc9181ba04 OP-39 Added dialog for the connection diagram. 2012-08-23 18:37:55 +02:00
Kenz Dale
0ff46af74c Changes requested in review.
All cosmetic (removing comments or fixing whitespaces), so does not affect functionality.
2012-08-23 18:10:27 +02:00
Kenz Dale
76b0d3b1da Redefined isIntermediateValueHelper as class static. 2012-08-23 18:03:19 +02:00
Kenz Dale
9ebc32da3d Eliminated several (dozen) compiler warnings.
Conflicts:

	ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp
2012-08-23 18:03:17 +02:00
PT_Dreamer
3a0ca3c724 GCS-ConfigTaskWidget
Fixes the dirty status being wrongly set
2012-08-23 16:07:10 +01:00
Fredrik Arvidsson
cd0ff804eb OP-39 Added new graphics for buttons.
Added fix trying to handle when config plugin is not loaded in workspace and we are trying to jump to Input Wizard on the end page of the wizard.
2012-08-23 16:28:57 +02:00
Oleg Semyonov
c47c8c373d Merge remote-tracking branch 'origin/os/CameraStab-use-ConfigTaskWidget' into next 2012-08-23 13:41:34 +03:00
Oleg Semyonov
b946d8162a CameraStab UI: add comment about reference implementation 2012-08-23 13:39:37 +03:00
James Cotton
a99b5454eb Merge remote-tracking branch 'origin/os/CameraStab-use-ConfigTaskWidget' into next 2012-08-22 08:06:34 -05:00
PT_Dreamer
bd913d1333 Merge branch 'dmytro/welcome_page_update' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-22 13:29:57 +01:00
Dmytro Poplavskiy
13a10b309a Fixed segfault when ScrollDecorator is destroyed
looks like the qt declarative bug, as a workaround
unset the source componet on destruction.
2012-08-22 09:00:29 +10:00
Fredrik Arvidsson
b804bc4634 Merge branch 'next' into thread/OP-39 2012-08-21 23:18:53 +02:00
Fredrik Arvidsson
8e66133b2d OP-39 Added reset of stabilization data to default values when wizard writes its configuration. 2012-08-21 23:10:38 +02:00
Oleg Semyonov
ffd5220071 CameraStab UI: some reformatting and comments 2012-08-21 22:09:53 +03:00
PT_Dreamer
8bb94e052b Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/config/camerastabilization.ui
	ground/openpilotgcs/src/plugins/config/configcamerastabilizationwidget.cpp
	ground/openpilotgcs/src/plugins/config/configcamerastabilizationwidget.h
	ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp
2012-08-21 17:05:36 +01:00
PT_Dreamer
caecc0e3ff GCS- Added missing definition to h file. Something went wrong with
the merge.
2012-08-21 16:19:55 +01:00
Laura Sebesta
a94142ec30 Fixed several compile warning complaints.
Conflicts:

	ground/openpilotgcs/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp
2012-08-21 16:18:58 +01:00
PT_Dreamer
da41a30273 Merge branch 'dmytro/welcome_page_update' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-21 14:56:42 +01:00
PT_Dreamer
adba241131 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/opmap/opmapgadgetwidget.cpp
2012-08-21 14:51:50 +01:00
PT_Dreamer
fa465c54a8 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
Conflicts:
	ground/openpilotgcs/src/plugins/config/input.ui
2012-08-21 14:46:16 +01:00
PT_Dreamer
e7a7a30e19 GCS-Created new command line option to allow choosing the config file
to use. This is a last resort option to mac problems displaying the
initial dialog.
2012-08-21 14:41:53 +01:00
Fredrik Arvidsson
5199d9e738 Merge branch 'next' into thread/OP-39 2012-08-21 01:09:02 +02:00
Fredrik Arvidsson
c483d42937 OP-39 Added mixer and motor configuration for Hexa and Octocopters.
Changed so that the Flex port is set to be serial telemetry port by default.
Added some description texts for the different multirotor types.
Fixed disabling/enabling of Cancel and Back buttons during processing like bias calculation and saving of configuration.
Converted summary text to html and added some formatting of the text.
Added message if no controller is connected on saving the configuration.
2012-08-21 01:07:38 +02:00
PT_Dreamer
0c240cffa5 GCS/OPMap- Change one of the function names to proper camelcase 2012-08-20 16:21:12 +01:00
PT_Dreamer
56b094abab GCS/OPMap - Changed the date of the license header on both the lib and plugin 2012-08-20 16:10:17 +01:00
James Cotton
4a0d43cb54 GCS: When PipX is detected do not make it the active configuration tab to prevent the dialog about dirty tabs appearing.
Conflicts:

	ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp
2012-08-19 21:20:18 -05:00
Fredrik Arvidsson
10b9f00fac OP-39 Added setting of default flightmodes.. 2012-08-20 00:14:17 +02:00
Fredrik Arvidsson
9205400cf0 OP-39 Implemented functionality for reliable writing of UAVOs to controller board.
Removed the option to configure the board without having it connected.
Added Tri, QuadX and QuadP configuration code.
Updated some of the texts.
2012-08-19 23:25:50 +02:00
PT_Dreamer
84d55ca416 GCS-Added a few overloaded functions so that object and field pointers
can be used with confitaskwidget framework
2012-08-19 14:41:57 +01:00
PT_Dreamer
45e21acefd GCS- Get rid of the double hwsettings update. setData triggers an
update so the other functions should be used instead.
MixerSettings should be refactored next.
2012-08-19 14:41:09 +01:00
PT_Dreamer
83097ecffb GCS/OPMap- bumped up the QPixmap max cache value 2012-08-19 01:43:49 +01:00
PT_Dreamer
42119f8d67 GCS/OPMap- UAVItem - removed everything that doesn't belong
on the paint function
2012-08-19 01:40:05 +01:00
PT_Dreamer
4b8bfcb997 GCS/OPMap - Changed several foreach chield methods to signal/slot 2012-08-18 23:04:31 +01:00
PT_Dreamer
2a4c54a073 Revert "Fixed several compile warning complaints."
These touch much more than the map lib and plugin so they should
be base on next and sent for review

This reverts commit ca4fbd5102.
2012-08-18 20:09:04 +01:00
PT_Dreamer
c6706ce6b2 Merge branch 'pt/MapEnhancements' of ssh://git.openpilot.org/OpenPilot into pt/MapEnhancements
Conflicts:
	ground/openpilotgcs/src/libs/opmapcontrol/src/mapwidget/uavitem.cpp
2012-08-18 20:01:32 +01:00
Oleg Semyonov
0afd923708 CameraStab UI: more comments to serve as a self-documented code sample
Also disabled "module enable" checkbox reload/default actions.
2012-08-18 20:45:05 +03:00
PT_Dreamer
f56b4b8a9b GCS/MapLib - Switched to a signal slot aproach on several functions which need
to be propagated.
2012-08-18 18:07:39 +01:00
Laura Sebesta
ca4fbd5102 Fixed several compile warning complaints. 2012-08-18 14:18:10 +02:00
Laura Sebesta
b7298f890f homeitem.cpp fixed to erase the safe area when turning off ShowSafeArea. 2012-08-18 09:28:30 +02:00
Laura Sebesta
375ecfb369 Streamlined paint function. 2012-08-18 09:23:09 +02:00
Laura Sebesta
d3daa06713 Improved filtered groundspeed calculation. Now the filtering rise time no longer on the refresh rate. 2012-08-18 09:19:59 +02:00
Laura Sebesta
28f382d472 Disabled dragging and dropping of UAV and Home icons. 2012-08-18 09:15:55 +02:00
Dmytro Poplavskiy
89023e8c41 Welcome page: display tooltips below buttons if necessary
Useful on low res screen, to ensure tooltips are visible
2012-08-18 11:30:50 +10:00
Kenz Dale
c484dcb1db Corrected mathematics for estimating rate of turn. 2012-08-17 17:26:15 +02:00
Kenz Dale
e3a60b7677 Merge branch 'pt/MapEnhancements' of ssh://git.openpilot.org/OpenPilot into pt/MapEnhancements 2012-08-17 16:56:44 +02:00
Laura Sebesta
34efc4d3b7 Dramatic performance gains by turning on caching for homeitem and mapgraphicitem. 2012-08-17 16:47:11 +02:00
Kenz Dale
e648a778db Enabled caching for map widget. 2012-08-17 11:51:50 +02:00
Laura Sebesta
e52d141e3e Improved bounding rect dimensioning. 2012-08-17 10:11:45 +02:00
Laura Sebesta
7e55b31ca1 Fixed bounding box size.
Conflicts:

	ground/openpilotgcs/src/libs/opmapcontrol/src/mapwidget/uavitem.h
2012-08-17 09:46:35 +02:00
Mike LaBranche
13e631a2e4 ConnectionManager: add connect/reconnect timer management into telemetryconnect/disconnect slots 2012-08-16 21:13:07 -07:00
Fredrik Arvidsson
98b5bc305b OP-39 Re-factored the configuration code to be implemented in a separate helper class to enable it to be used in a better and more stand alone way. The actual wizard class does not contain any uavo configuration code at all now.
Added an interface that provides all configuration parameters for a vehicle.
Changed the default ESC to Rapid instead of Default 50Hz. Default ESC was renamed to Legacy ESC.
Started to implement mixer configuration.
Started to implement flight mode configuration code.
Cleaned up some code and removed warnings.
2012-08-17 00:47:31 +02:00
PT_Dreamer
525dec1748 GCS-Added gradient to edit gadgets bar 2012-08-16 23:30:31 +01:00
dwobdar
92114bf952 Fixing white border in aircraft config screen. 2012-08-16 22:19:24 +02:00
PT_Dreamer
af61e983b8 Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-16 19:39:07 +01:00
Laura Sebesta
699b2f3030 Cleaned up variable names, fixed bug in saving whereby the a log file could be saved over if the extension were not "opl". 2012-08-16 08:37:26 +02:00
Fredrik Arvidsson
16d0252d12 OP-39 Added some basic code to reset the mixers. Started to implement mixer configuration for all multirotors. 2012-08-16 00:27:40 +02:00
Laura Sebesta
69133c1427 Further optimized Matlab parsing. It now does most typecast as vectorized operations.
The upshot is an approximately 50% performance boost.
2012-08-16 00:13:19 +02:00
PT_Dreamer
57d4aaaf17 GCS-Handle reload for unbounded objects 2012-08-15 22:50:09 +01:00
PT_Dreamer
a78766c7b2 Merge branch 'os/CameraStab-use-ConfigTaskWidget' of ssh://git.openpilot.org/OpenPilot into CameraStab-use-ConfigTaskWidget 2012-08-15 12:52:51 +01:00
PT_Dreamer
93124bbfee GCS-Fixed reload operation, sorry Oleg 2012-08-15 12:37:00 +01:00