本文整理了Java中us.ihmc.simulationconstructionset.SimulationConstructionSet.setupCamera()
方法的一些代码示例,展示了SimulationConstructionSet.setupCamera()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimulationConstructionSet.setupCamera()
方法的具体详情如下:
包路径:us.ihmc.simulationconstructionset.SimulationConstructionSet
类名称:SimulationConstructionSet
方法名:setupCamera
暂无
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
public void setupCameraForUnitTest(boolean enableTracking, Point3D cameraFix, Point3D cameraPosition)
{
CameraConfiguration cameraConfiguration = new CameraConfiguration("testCamera");
cameraConfiguration.setCameraFix(cameraFix);
cameraConfiguration.setCameraPosition(cameraPosition);
cameraConfiguration.setCameraTracking(enableTracking, true, true, false);
cameraConfiguration.setCameraDolly(false, true, true, false);
scs.setupCamera(cameraConfiguration);
scs.selectCamera("testCamera");
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
private void setupCameraForUnitTest(SimulationConstructionSet scs)
{
CameraConfiguration cameraConfiguration = new CameraConfiguration("testCamera");
cameraConfiguration.setCameraFix(0.6, 0.4, 1.1);
cameraConfiguration.setCameraPosition(-0.15, 10.0, 3.0);
cameraConfiguration.setCameraTracking(true, true, true, false);
cameraConfiguration.setCameraDolly(true, true, true, false);
scs.setupCamera(cameraConfiguration);
scs.selectCamera("testCamera");
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
public void setupCameraForUnitTest(Point3D cameraFix, Point3D cameraPosition)
{
CameraConfiguration cameraConfiguration = new CameraConfiguration("testCamera");
cameraConfiguration.setCameraFix(cameraFix);
cameraConfiguration.setCameraPosition(cameraPosition);
cameraConfiguration.setCameraTracking(false, true, true, false);
cameraConfiguration.setCameraDolly(false, true, true, false);
scs.setupCamera(cameraConfiguration);
scs.selectCamera("testCamera");
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
private void setupCameraForUnitTest(SimulationConstructionSet scs)
{
CameraConfiguration cameraConfiguration = new CameraConfiguration("testCamera");
cameraConfiguration.setCameraFix(0.6, 0.4, 1.1);
cameraConfiguration.setCameraPosition(-0.15, 10.0, 3.0);
cameraConfiguration.setCameraTracking(true, true, true, false);
cameraConfiguration.setCameraDolly(true, true, true, false);
scs.setupCamera(cameraConfiguration);
scs.selectCamera("testCamera");
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
protected void setupCameraForUnitTest(SimulationConstructionSet scs)
{
CameraConfiguration cameraConfiguration = new CameraConfiguration("testCamera");
cameraConfiguration.setCameraFix(0.6, 0.4, 1.1);
cameraConfiguration.setCameraPosition(-0.15, 10.0, 3.0);
cameraConfiguration.setCameraTracking(true, true, true, false);
cameraConfiguration.setCameraDolly(true, true, true, false);
scs.setupCamera(cameraConfiguration);
scs.selectCamera("testCamera");
}
}
代码示例来源:origin: us.ihmc/DarpaRoboticsChallenge
behindPelvis.setCameraPosition(-2.5, 0.0, 1.0);
behindPelvis.setCameraTrackingVars("q_x", "q_y", "q_z");
scs.setupCamera(behindPelvis);
scs.setupCamera(camera);
代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces
behindPelvis.setCameraPosition(-2.5, 0.0, 1.0);
behindPelvis.setCameraTrackingVars("q_x", "q_y", "q_z");
scs.setupCamera(behindPelvis);
scs.setupCamera(camera);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
behindPelvis.setCameraPosition(-2.5, 0.0, 1.0);
behindPelvis.setCameraTrackingVars("q_x", "q_y", "q_z");
scs.setupCamera(behindPelvis);
scs.setupCamera(camera);
代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test
cameraConfigurationOne.setCameraFix(new Point3D(11.25, 11.8, 0.6));
cameraConfigurationOne.setCameraPosition(new Point3D(10.1, 10.3, 0.3));
scs.setupCamera(cameraConfigurationOne);
cameraConfigurationTwo.setCameraFix(new Point3D(11.5, 14.25, 1.1));
cameraConfigurationTwo.setCameraPosition(new Point3D(16.5, 10.9, 0.3));
scs.setupCamera(cameraConfigurationTwo);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
cameraConfiguration.setCameraPosition(10.0, 3.0, 3.0);
cameraConfiguration.setCameraTracking(true, true, false, false);
scs.setupCamera(cameraConfiguration);
scs.selectCamera("testCamera");
enablePushing = new YoBoolean("enablePushing", scs.getRootRegistry());
代码示例来源:origin: us.ihmc/simulation-construction-set-test
assertArrayEquals(cameraPositionXYZValues, cameraPositionXYZValuesFromSCS, epsilon);
scs.setupCamera(cameraConfiguration);
String[] cameraConfigurationNamesFromSCS = getCameraConfigurationNames(scs);
assertArrayOfStringsContainsTheString(cameraConfigurationNamesFromSCS, cameraConfigurationName);
内容来源于网络,如有侵权,请联系作者删除!