mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Control gadget: channel 4 was commented out for tests, re-enabled it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2091 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
1ed26a8514
commit
d826350b26
@ -118,7 +118,7 @@ void GCSControlGadget::axesValues(QListInt16 values)
|
||||
double leftX = values[0];
|
||||
double leftY = values[1];
|
||||
double rightX = values[2];
|
||||
double rightY = 0; // values[3];
|
||||
double rightY = values[3];
|
||||
double max = 32767;
|
||||
if(joystickTime.elapsed() > JOYSTICK_UPDATE_RATE) {
|
||||
joystickTime.restart();
|
||||
|
Loading…
x
Reference in New Issue
Block a user