本文整理汇总了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();