Codota Logo
AvatarSimulation.getSimulatedRobotTimeProvider
Code IndexAdd Codota to your IDE (free)

How to use
getSimulatedRobotTimeProvider
method
in
us.ihmc.avatar.factory.AvatarSimulation

Best Java code snippets using us.ihmc.avatar.factory.AvatarSimulation.getSimulatedRobotTimeProvider (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: us.ihmc/IHMCAvatarInterfaces

public LocalObjectCommunicator createSimulatedSensorsPacketCommunicator()
{
 scsSensorOutputPacketCommunicator = new LocalObjectCommunicator();
 if (createSCSSimulatedSensors)
 {
   DRCRobotSensorInformation sensorInformation = robotModel.getSensorInformation();
   DRCRobotJointMap jointMap = robotModel.getJointMap();
   TimestampProvider timeStampProvider = avatarSimulation.getSimulatedRobotTimeProvider();
   HumanoidFloatingRootJointRobot robot = avatarSimulation.getHumanoidFloatingRootJointRobot();
   Graphics3DAdapter graphics3dAdapter = simulationConstructionSet.getGraphics3dAdapter();
   printIfDebug("Streaming SCS Video");
   DRCRobotCameraParameters cameraParameters = sensorInformation.getCameraParameters(0);
   if (cameraParameters != null)
   {
    String cameraName = cameraParameters.getSensorNameInSdf();
    int width = sdfRobot.getCameraMount(cameraName).getImageWidth();
    int height = sdfRobot.getCameraMount(cameraName).getImageHeight();
    CameraConfiguration cameraConfiguration = new CameraConfiguration(cameraName);
    cameraConfiguration.setCameraMount(cameraName);
    int framesPerSecond = 25;
    DRCRenderedSceneVideoHandler drcRenderedSceneVideoHandler = new DRCRenderedSceneVideoHandler(scsSensorOutputPacketCommunicator);
    simulationConstructionSet.startStreamingVideoData(cameraConfiguration, width, height, drcRenderedSceneVideoHandler, timeStampProvider, framesPerSecond);
   }
   for (DRCRobotLidarParameters lidarParams : sensorInformation.getLidarParameters())
   {
    DRCLidar.setupDRCRobotLidar(robot, graphics3dAdapter, scsSensorOutputPacketCommunicator, jointMap, lidarParams, timeStampProvider, true);
   }
 }
 return scsSensorOutputPacketCommunicator;
}
origin: us.ihmc/ihmc-avatar-interfaces

TimestampProvider timeStampProvider = avatarSimulation.getSimulatedRobotTimeProvider();
HumanoidFloatingRootJointRobot robot = avatarSimulation.getHumanoidFloatingRootJointRobot();
Graphics3DAdapter graphics3dAdapter = simulationConstructionSet.getGraphics3dAdapter();
us.ihmc.avatar.factoryAvatarSimulationgetSimulatedRobotTimeProvider

Popular methods of AvatarSimulation

  • simulate
  • getHumanoidFloatingRootJointRobot
  • start
  • dispose
  • getSimulationConstructionSet
  • <init>
  • getFullRobotModelCorruptor
  • getHighLevelHumanoidControllerFactory
  • setCloseableAndDisposableRegistry
  • setControllerThread
  • setHumanoidFloatingRootJointRobot
  • setSimulatedRobotTimeProvider
  • setHumanoidFloatingRootJointRobot,
  • setSimulatedRobotTimeProvider,
  • setSimulationConstructionSet,
  • setStateEstimationThread,
  • setThreadDataSynchronizer,
  • setThreadedRobotController,
  • setYoVariableServer,
  • addRobotControllerOnControllerThread,
  • addRobotControllerOnEstimatorThread

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • putExtra (Intent)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now