These are chat archives for dronekit/dronekit-android

Jan 2017
Jan 13 2017 08:37

I want to ask, I want to created a project with manualControl to make the drone moving forward based on given value for pitch. i did the right thing, didn't i ? thanks
setup : AC 3.3.3 on Pixhawk Px4

            case AttributeEvent.STATE_VEHICLE_MODE:
            State vehicleState = this.drone.getAttribute(AttributeType.STATE);
            VehicleMode vehicleMode = vehicleState.getVehicleMode();
            if (vehicleMode==VehicleMode.COPTER_GUIDED){
             ControlApi.getApi(this.drone).manualControl(1f,0,0,null);   }

Thanks and sorry guys .