- 23 Jul, 2013 1 commit
-
-
tstellanova authored
-
- 14 Jul, 2013 1 commit
-
-
Lorenz Meier authored
-
- 10 Jul, 2013 1 commit
-
-
Lorenz Meier authored
-
- 09 Jul, 2013 2 commits
-
-
Lorenz Meier authored
-
dongfang authored
-
- 06 Jul, 2013 1 commit
-
-
Lorenz Meier authored
-
- 04 Jul, 2013 3 commits
-
-
Lorenz Meier authored
-
Lorenz Meier authored
-
Lorenz Meier authored
-
- 03 Jul, 2013 6 commits
- 02 Jul, 2013 2 commits
-
-
Lorenz Meier authored
-
Lorenz Meier authored
-
- 01 Jul, 2013 1 commit
-
-
Lorenz Meier authored
-
- 22 Jun, 2013 2 commits
-
-
Bryant authored
Fixed styling of the toolbar, specifically coloring and sizing of the buttons, and made the labels aware of the current window theme. Also made some changes to updating the toolbar when switching UASes or when UASes disconnect/reconnect.
-
Bryant authored
Improved UI when no joysticks are connected. Also removed hotplugging support for joysticks as it wasn't working, though SDL2 should fix that.
-
- 21 Jun, 2013 2 commits
-
-
Bryant authored
Vastly improved the joystick documentation, removed some redundant/unnecessary code, and fixed a couple of small bugs. This code should be ready for live testing.
-
Bryant authored
All UI elements in the JoystickWidget window are now updated properly when switching UASes, which was the last major issue with this code. A single small bug remains involving the UI not updating the axis values when switching joysticks until the axis is moved.
-
- 20 Jun, 2013 2 commits
- 19 Jun, 2013 2 commits
-
-
dongfang authored
-
Bryant authored
The default UAS.cc now lists available actions that it can be commanded. These are polled by the Joystick Configuration window for each joystick button so that they can be assigned to trigger this action. Button presses don't yet trigger these actions, nor are they stored and reloaded on UAS switch.
-
- 18 Jun, 2013 1 commit
-
-
Bryant authored
The settings for each joystick are loaded and saved on switch. The state of the enable joysticks checkbox is not saved yet, however, though it should really be tracked by JoystickInput so that it can sleep more when joysticks are disabled.
-
- 17 Jun, 2013 4 commits
-
-
Bryant authored
Restored range limiting to the throttle channel. Now if the UAS can't reverse, the throttle can be set to only use the positive range of the axis (useful with auto-centering control sticks) or to use the full range (for sticks that hold position).
-
Bryant authored
The joystick code now understands if a UAS can reverse or not (based on UASInterface::systemCanReverse) and scales the joystick input accordingly. This isn't ideal on auto-centering axes and so the limit-range code should be brought back as an option for the throttle channel.
-
Bryant authored
The UASInterface now defines a systemCanReverse() function for indicating if the UAS is capable of commanding a reverse thrust.
-
Bryant authored
-
- 16 Jun, 2013 9 commits
-
-
Bryant authored
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.
-
Bryant authored
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).
-
Bryant authored
-
Bryant authored
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.
-
Bryant authored
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.
-
Bryant authored
The hat readings from the joystick now works correctly. Also moved some signals over to using an enum from an int type.
-
Bryant authored
Moved the JOYSTICK_*_MAPPING enum into JoystickInput where it belongs. Also renamed some local variables.
-
Bryant authored
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.
-
Bryant authored
-