本文整理匯總了Java中org.droidplanner.core.drone.variables.Camera類的典型用法代碼示例。如果您正苦於以下問題:Java Camera類的具體用法?Java Camera怎麽用?Java Camera使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Camera類屬於org.droidplanner.core.drone.variables包,在下文中一共展示了Camera類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getCameraProxy
import org.droidplanner.core.drone.variables.Camera; //導入依賴的package包/類
private CameraProxy getCameraProxy() {
Drone drone = droneMgr.getDrone();
Camera droneCamera = drone.getCamera();
List<Footprint> footprints = droneCamera.getFootprints();
final int printsCount = footprints.size();
List<FootPrint> proxyPrints = new ArrayList<FootPrint>(footprints.size());
for (Footprint footprint : footprints) {
proxyPrints.add(getProxyCameraFootPrint(footprint));
}
GPS droneGps = drone.getGps();
final FootPrint currentFieldOfView = droneGps.isPositionValid()
? getProxyCameraFootPrint(droneCamera.getCurrentFieldOfView())
: new FootPrint();
return new CameraProxy(ProxyUtils.getCameraDetail(droneCamera.getCamera()),
currentFieldOfView, proxyPrints, getCameraDetails());
}
示例2: DroneImpl
import org.droidplanner.core.drone.variables.Camera; //導入依賴的package包/類
public DroneImpl(MAVLinkStreams.MAVLinkOutputStream mavClient, DroneInterfaces.Clock clock,
DroneInterfaces.Handler handler, Preferences pref) {
this.MavClient = mavClient;
this.preferences = pref;
events = new DroneEvents(this, handler);
state = new State(this, clock, handler);
heartbeat = new HeartBeat(this, handler);
parameters = new Parameters(this, handler);
RC = new RC(this);
GPS = new GPS(this);
this.type = new Type(this);
this.speed = new Speed(this);
this.battery = new Battery(this);
this.radio = new Radio(this);
this.home = new Home(this);
this.mission = new Mission(this);
this.missionStats = new MissionStats(this);
this.streamRates = new StreamRates(this);
this.altitude = new Altitude(this);
this.orientation = new Orientation(this);
this.navigation = new Navigation(this);
this.guidedPoint = new GuidedPoint(this);
this.calibrationSetup = new Calibration(this);
this.waypointManager = new WaypointManager(this);
this.mag = new Magnetometer(this);
this.footprints = new Camera(this);
loadVehicleProfile();
}
示例3: getCamera
import org.droidplanner.core.drone.variables.Camera; //導入依賴的package包/類
public Camera getCamera() {
return footprints;
}
示例4: getCamera
import org.droidplanner.core.drone.variables.Camera; //導入依賴的package包/類
public Camera getCamera();