These are chat archives for dronekit/dronekit-android

11th
Mar 2016
Fredia Huya-Kouadio
@ne0fhyk
Mar 11 2016 01:46
@Nattharee you can use the same method as described by @ChrisJLester above in order to get the new coordinate where to send the vehicle as well.
Fredia Huya-Kouadio
@ne0fhyk
Mar 11 2016 01:56
@MrTate8 if the instructions you're planning to send to the vehicle are static (I.e: they don't change after the vehicle takes off), you can pre-compute the waypoints for the vehicle to go to based on its original location and send them to the vehicle as part of a mission using the MissionApi
Fredia Huya-Kouadio
@ne0fhyk
Mar 11 2016 02:02
@WickedShell I haven't been able to take a look at the issue yet. Did you take a look in generating the unit tests added in ne0fhyk/mavlink#11 and updating the generated tests to replicate the issue?
@MouliKav are you able to view the battery telemetry using Tower with your drone?
RazaRana
@RazaRana
Mar 11 2016 11:58
hello, i am trying to move my drone by changing its velocity using ControlApi.manualControl method but i am getting no result. can anyone specify what can be the issue?
chaviw
@chaviw
Mar 11 2016 17:56
@RazaRana Can you paste the code here?
RazaRana
@RazaRana
Mar 11 2016 18:56
@chaviw control.enableManualControl(true, new ControlApi.ManualControlStateListener() {
@Override
public void onManualControlToggled(boolean isEnabled) {
control.manualControl(0.8f, 0, 0, new AbstractCommandListener() {
@Override
public void onSuccess() {
Toast.makeText(remote.this,"yes",Toast.LENGTH_LONG).show();
}
                            @Override
                            public void onError(int executionError) {
                                Toast.makeText(remote.this,executionError+"",Toast.LENGTH_LONG).show();
                            }

                            @Override
                            public void onTimeout() {
                                Toast.makeText(remote.this,"timeout",Toast.LENGTH_LONG).show();
                            }
                        });
                    }
                });