Disco Android commands


#1

This is a peace of my code:

droneManager.startDevice();

switch (droneManager.getState()) {
       case ARCONTROLLER_DEVICE_STATE_STARTING:
              droneManager.takeoff();
              break;
       case ARCONTROLLER_DEVICE_STATE_RUNNING:
             droneManager.setRoll((byte) -50);
             droneManager.setFlag((byte) 1);
             break;
}

On the simulator:
sudo systemctl start firmwared.service
sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/disco.drone

Just to be clear the log is showing:
state: device controller is running
D/1-onCommandReceived: Key used to define the event PilotingStatePositionChanged in project ARDrone3

With this code I only see the propeller turn, so I suppose that the shake command is missing, could someone help me?