public static void forceSendGuidedPoint( MavLinkDrone drone, LatLong coord, double altitudeInMeters) { drone.notifyDroneEvent(DroneEventsType.GUIDEDPOINT); if (coord != null) { MavLinkCommands.setGuidedMode( drone, coord.getLatitude(), coord.getLongitude(), altitudeInMeters); } }
public static void forceSendGuidedPointAndVelocity( MavLinkDrone drone, LatLong coord, double altitudeInMeters, double xVel, double yVel, double zVel) { drone.notifyDroneEvent(DroneEventsType.GUIDEDPOINT); if (coord != null) { MavLinkCommands.sendGuidedPositionAndVelocity( drone, coord.getLatitude(), coord.getLongitude(), altitudeInMeters, xVel, yVel, zVel); } }
public void newGuidedVelocity(double xVel, double yVel, double zVel) { MavLinkCommands.sendGuidedVelocity(myDrone, xVel, yVel, zVel); }
public void newGuidedPosition(double latitude, double longitude, double altitude) { MavLinkCommands.sendGuidedPosition(myDrone, latitude, longitude, altitude); }