Bryant
|
c532f41331
|
The JoystickInput class now emits signals for both button press and button release events.
|
12 years ago |
Bryant
|
7908dc7d86
|
The JoystickWidget now has a parent so that it gets cleaned up when the MainWindow is closed preventing zombie-dialog syndrome.
|
12 years ago |
Bryant
|
e169b59ff2
|
The Joystick Settings window now supports selecting between multiple joysticks for control input and updates its UI accordingly. Much work is left to be done: light/dark styling, settings management, control mappings.
|
12 years ago |
Bryant
|
64d0741ee8
|
Joystick axes can now be specified as being exclusively-positive in the range [0:1.0] for the throttle. This should really be a vehicle-specific setting.
|
12 years ago |
Bryant
|
404045527e
|
The UI now updates properly for when a detected joystick is lacking either buttons or axes (as in the case of an in-built accelerometer).
|
12 years ago |
Bryant
|
7e1e1e9790
|
Fix for improperly-named slot causing runtime error.
|
12 years ago |
Bryant
|
90c4d504ac
|
Added an inversion checkbox for each joystick axis so they can be individually inverted or not. This will be a joystick-specific configuration and independent of the autopilot used. Also refactored the code so that the JoystickAxis objects connect directly to the JoystickInput thread for updating the backend. The JoystickWidget is now just a facilitator and doesn't do any redirecting itself.
|
12 years ago |
Bryant
|
7b5b09a27d
|
The button/axis/hat readings are now compared to the previous readings and signals are only emitted if they changed. The joystickChanged signal is still emitted every sample period.
|
12 years ago |
Bryant
|
c8647cc07b
|
The hat readings from the joystick now works correctly. Also moved some signals over to using an enum from an int type.
|
12 years ago |
Bryant
|
96c080fb85
|
Moved the JOYSTICK_*_MAPPING enum into JoystickInput where it belongs. Also renamed some local variables.
|
12 years ago |
Bryant
|
cff4a3b56c
|
Refactored some variables and added some documentation. Also, now the joystickChanged signal emits NaN for axes that aren't mapped, so consumers should handle this properly.
|
12 years ago |
Lorenz Meier
|
1f55e9c1d0
|
Merge branch 'master' of github.com:mavlink/qgroundcontrol
|
12 years ago |
Lorenz Meier
|
c2d396db6d
|
Potential fixes for ActiveQt
|
12 years ago |
Lorenz Meier
|
9a9ca548cd
|
Fixed windows build errors.
|
12 years ago |
Bryant
|
61e63ac09a
|
Styling improvements to the joystick configuration window.
|
12 years ago |
Bryant
|
cfffe06344
|
Disable all UI for the joystick configuration when no joysticks are found.
|
12 years ago |
Bryant
|
ff2c011d17
|
Refactored much of the joystick interface with the largest changes being the removal of dead/unused code including broken event-based SDL reading code. Additionally the mapping code should now work, though it hasn't been tested with controller switching or a real UAS. Finally the existing settings code has been commented-out as it is not compatible with the current state of this code and needs to be able to support different joysticks based on name.
|
12 years ago |
Lorenz Meier
|
bcb61f43a1
|
Minor changes
|
12 years ago |
Lorenz Meier
|
a82ee387ee
|
Merge branch 'integration_merge_connstatus' of github.com:Susurrus/qgroundcontrol into integration_merge_connstatus
|
12 years ago |
Lorenz Meier
|
44543b3013
|
Merge
|
12 years ago |
Lorenz Meier
|
6f3376a248
|
Merge
|
12 years ago |
Bryant
|
295b8a2583
|
The joystick settings window has now been reworked to be a fixed minimum size and dynamically scale with both the number of buttons and axes on a given joystick/controller. Mapping functionality is incomplete at this point still, though the UI exists for it.
|
12 years ago |
Bryant
|
d622ba221f
|
Changed the action button group in the toolbar to have an inset style like they used to.
|
12 years ago |
Lorenz Meier
|
eeda94f3ee
|
Fixed HUD / Video widget to be useful
|
12 years ago |
Bryant
|
9a96e49fe7
|
The QGCUnconnectedInfoWidget now remains square and has more rounded edges so that it looks more like a button.
|
12 years ago |
Bryant
|
0102cf8495
|
Increased label font size and progress bar height for toolbar child widgets.
|
12 years ago |
Lorenz Meier
|
efd916af0c
|
Fixed issue when custom message set is enabled
|
12 years ago |
Lorenz Meier
|
7fb92ad558
|
Fixed null pointer issue
|
12 years ago |
Lorenz Meier
|
44e5b5d692
|
Mac compile fixes
|
12 years ago |
Bryant
|
f4c1eaab06
|
The joystick widget now has theming capabilities. Also displays button presses properly now.
|
12 years ago |
Bryant
|
c55ff61135
|
Renamed slot in ChartPlot to match connect() calls elsewhere.
|
12 years ago |
Bryant
|
ec82328504
|
Renamed the Joystick Test menu option to Joystick Configuration to be more clear.
|
12 years ago |
Bryant
|
6df76d4e77
|
The JoystickInput class now emits signals for both button press and button release events.
|
12 years ago |
Bryant
|
6b2e191594
|
The JoystickWidget now has a parent so that it gets cleaned up when the MainWindow is closed preventing zombie-dialog syndrome.
|
12 years ago |
Bryant
|
9cc5d6487e
|
The Joystick Settings window now supports selecting between multiple joysticks for control input and updates its UI accordingly. Much work is left to be done: light/dark styling, settings management, control mappings.
|
12 years ago |
Bryant
|
a50358e928
|
Finished merging QGCVehicleConfig.ui, which I hadn't done properly last night. Things are now in a usable state again.
|
12 years ago |
Bryant
|
76cea4e18d
|
Merge branch 'integration_merge' of https://github.com/mavlink/qgroundcontrol into connStatus
Conflicts:
src/uas/ArduPilotMegaMAV.h
src/ui/uas/UASListWidget.cc
|
12 years ago |
Bryant
|
5dd17698c4
|
Merge branch 'integration_merge' of https://github.com/mavlink/qgroundcontrol into restyling
Conflicts:
src/uas/ArduPilotMegaMAV.h
src/ui/uas/UASListWidget.cc
|
12 years ago |
dongfang
|
e0d9b8fb19
|
Merge remote-tracking branch 'lorenz/integration_merge'
|
12 years ago |
Lorenz Meier
|
33c8f8c87d
|
Fixed include hack
|
12 years ago |
Lorenz Meier
|
d7b4db7dd4
|
Default to APM message set if no user config is provided
|
12 years ago |
dongfang
|
73afc2667c
|
merge conflict fix
|
12 years ago |
dongfang
|
660172e9dd
|
Fixes css merge conflict
|
12 years ago |
Lorenz Meier
|
b76b728216
|
Placed connect button better, added simple message console
|
12 years ago |
Bryant
|
0e58853b29
|
Merged the wrong file in for the QGCVehicleConfig.ui file. Fixed.
|
12 years ago |
Bryant
|
d4425e06c4
|
Merge branch 'connStatus' of github.com:Susurrus/qgroundcontrol into connStatus
Conflicts:
src/ui/QGCVehicleConfig.cc
src/ui/QGCVehicleConfig.h
src/ui/QGCVehicleConfig.ui
src/ui/uas/UASControlWidget.cc
src/ui/uas/UASListWidget.h
src/ui/uas/UASQuickView.cc
|
12 years ago |
Bryant
|
7aef7fcf63
|
Missed compilation error during rebase
|
12 years ago |
Bryant
|
0a1c678475
|
Forgot to remove dead file LinkInterface.cpp from the qgroundcontrol.pro file.
|
12 years ago |
Bryant
|
ae6829562f
|
Forgot to set some members of XbeeLinkInterface to const as well
|
12 years ago |
Bryant
|
d0af5b03bd
|
Changed many functions in the abstract *Link classes to be const. This facilitates setting other functions as const. The metadata for specific links are reset when the links are added.
|
12 years ago |