Changeset 314 in flair-src for trunk/demos/PidStandalone


Ignore:
Timestamp:
Mar 21, 2019, 2:04:45 PM (6 years ago)
Author:
Sanahuja Guillaume
Message:

maj joystick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/PidStandalone/uav/src/PidUav.cpp

    r236 r314  
    9191  static bool wasOscillatingModeButtonPressed = false;
    9292  // controller button R1 enters optical flow mode
    93   if (GetJoystick()->IsButtonPressed(9)) { // R1
     93  if (GetTargetController()->IsButtonPressed(9)) { // R1
    9494    if (!wasOscillatingModeButtonPressed) {
    9595      wasOscillatingModeButtonPressed = true;
Note: See TracChangeset for help on using the changeset viewer.