Tabnine Logo
DRCRobotModel.getStateEstimatorParameters
Code IndexAdd Tabnine to your IDE (free)

How to use
getStateEstimatorParameters
method
in
us.ihmc.avatar.drcRobot.DRCRobotModel

Best Java code snippets using us.ihmc.avatar.drcRobot.DRCRobotModel.getStateEstimatorParameters (Showing top 11 results out of 315)

origin: us.ihmc/acsell

public StepprSensorReaderFactory(DRCRobotModel robotModel)
{
 sensorInformation = robotModel.getSensorInformation();
 stateEstimatorParameters = robotModel.getStateEstimatorParameters();
}
origin: us.ihmc/acsell

public WandererSensorReaderFactory(DRCRobotModel robotModel, CostOfTransportCalculator costOfTransportCalculator)
{
 sensorInformation = robotModel.getSensorInformation();
 stateEstimatorParameters = robotModel.getStateEstimatorParameters();
 this.costOfTransportCalculator = costOfTransportCalculator;
}
origin: us.ihmc/ihmc-avatar-interfaces

private void setupSensorReaderFactory()
{
 if (scsInitialSetup.get().usePerfectSensors())
 {
   sensorReaderFactory = new DRCPerfectSensorReaderFactory(humanoidFloatingRootJointRobot, threadDataSynchronizer.getEstimatorForceSensorDataHolder(),
                               robotModel.get().getStateEstimatorParameters().getEstimatorDT());
 }
 else
 {
   sensorReaderFactory = new SimulatedSensorHolderAndReaderFromRobotFactory(humanoidFloatingRootJointRobot,
                                       robotModel.get().getStateEstimatorParameters());
 }
}
origin: us.ihmc/IHMCAvatarInterfaces

private void setupSensorReaderFactory()
{
 if (scsInitialSetup.get().usePerfectSensors())
 {
   sensorReaderFactory = new DRCPerfectSensorReaderFactory(humanoidFloatingRootJointRobot, threadDataSynchronizer.getEstimatorForceSensorDataHolder(),
                               robotModel.get().getStateEstimatorParameters().getEstimatorDT());
 }
 else
 {
   sensorReaderFactory = new SimulatedSensorHolderAndReaderFromRobotFactory(humanoidFloatingRootJointRobot,
                                       robotModel.get().getStateEstimatorParameters());
 }
}
origin: us.ihmc/acsell

private DRCKinematicsBasedStateEstimator createStateEstimator(FullInverseDynamicsStructure inverseDynamicsStructure, DRCRobotModel robotModel,
   final LogDataProcessorHelper logDataProcessorHelper, SensorOutputMapReadOnly postProcessedSensors)
 StateEstimatorParameters stateEstimatorParameters = robotModel.getStateEstimatorParameters();
 String[] imuSensorsToUseInStateEstimator = robotModel.getSensorInformation().getIMUSensorsToUseInStateEstimator();
 double gravitationalAcceleration = -9.80;
origin: us.ihmc/ihmc-avatar-interfaces-test

robotModel.getContactPointParameters(), robotModel, robotModel.getStateEstimatorParameters(),
sensorReaderFactory, threadDataSynchronizer, realtimeRos2Node, null, null, robotVisualizer,
gravity);
origin: us.ihmc/valkyrie

RobotContactPointParameters<RobotSide> contactPointParameters = robotModel.getContactPointParameters();
DRCRobotSensorInformation sensorInformation = robotModel.getSensorInformation();
StateEstimatorParameters stateEstimatorParameters = robotModel.getStateEstimatorParameters();
origin: us.ihmc/IHMCAvatarInterfaces

private void setupStateEstimationThread()
{
 stateEstimationThread = new DRCEstimatorThread(robotModel.get().getSensorInformation(), robotModel.get().getContactPointParameters(),
                         robotModel.get().getStateEstimatorParameters(), sensorReaderFactory, threadDataSynchronizer,
                         new PeriodicNonRealtimeThreadScheduler("DRCSimGazeboYoVariableServer"), humanoidGlobalDataProducer.get(),
                         yoVariableServer, gravity.get());
 if (humanoidGlobalDataProducer.get() != null)
 {
   PelvisPoseCorrectionCommunicatorInterface pelvisPoseCorrectionCommunicator = new PelvisPoseCorrectionCommunicator(humanoidGlobalDataProducer.get());
   humanoidGlobalDataProducer.get().attachListener(StampedPosePacket.class, pelvisPoseCorrectionCommunicator);
   stateEstimationThread.setExternalPelvisCorrectorSubscriber(pelvisPoseCorrectionCommunicator);
 }
 else
 {
   stateEstimationThread.setExternalPelvisCorrectorSubscriber(null);
 }
}
origin: us.ihmc/IHMCAvatarInterfaces

public AutomatedDiagnosticConfiguration createDiagnosticController(boolean startWithRobotAlive)
{
 simulatedRobot = robotModel.createHumanoidFloatingRootJointRobot(false);
 DiagnosticLoggerConfiguration.setupLogging(simulatedRobot.getYoTime(), getClass(), robotModel.getSimpleRobotName());
 if (robotInitialSetup == null)
   robotInitialSetup = robotModel.getDefaultRobotInitialSetup(0.0, 0.0);
 robotInitialSetup.initializeRobot(simulatedRobot, robotModel.getJointMap());
 FullHumanoidRobotModel fullRobotModel = robotModel.createFullRobotModel();
 WalkingControllerParameters walkingControllerParameters = robotModel.getWalkingControllerParameters();
 DoubleYoVariable yoTime = simulatedRobot.getYoTime();
 double dt = robotModel.getEstimatorDT();
 StateEstimatorParameters stateEstimatorParameters = robotModel.getStateEstimatorParameters();
 if (diagnosticParameters == null)
   diagnosticParameters = new DiagnosticParameters(DiagnosticEnvironment.RUNTIME_CONTROLLER, false);
 DiagnosticSensorProcessingConfiguration sensorProcessingConfiguration = new DiagnosticSensorProcessingConfiguration(diagnosticParameters, stateEstimatorParameters);
 SensorOutputMapReadOnly sensorOutputMap = createStateEstimator(fullRobotModel, stateEstimatorParameters, sensorProcessingConfiguration);
 DiagnosticControllerToolbox diagnosticControllerToolbox = new DiagnosticControllerToolbox(fullRobotModel, sensorOutputMap, diagnosticParameters, walkingControllerParameters, yoTime, dt,
    sensorProcessingConfiguration, simulationRegistry);
 automatedDiagnosticAnalysisController = new AutomatedDiagnosticAnalysisController(diagnosticControllerToolbox, gainStream, setpointStream,
    simulationRegistry);
 automatedDiagnosticAnalysisController.setRobotIsAlive(startWithRobotAlive);
 automatedDiagnosticConfiguration = new AutomatedDiagnosticConfiguration(diagnosticControllerToolbox, automatedDiagnosticAnalysisController);
 outputWriter = new DRCSimulationOutputWriter(simulatedRobot);
 outputWriter.setFullRobotModel(fullRobotModel, null);
 int simulationTicksPerControlTick = (int) (robotModel.getEstimatorDT() / robotModel.getSimulateDT());
 simulatedRobot.setController(this, simulationTicksPerControlTick);
 return automatedDiagnosticConfiguration;
}
origin: us.ihmc/ihmc-avatar-interfaces

public AutomatedDiagnosticConfiguration createDiagnosticController(boolean startWithRobotAlive)
{
 simulatedRobot = robotModel.createHumanoidFloatingRootJointRobot(false);
 DiagnosticLoggerConfiguration.setupLogging(simulatedRobot.getYoTime(), getClass(), robotModel.getSimpleRobotName());
 if (robotInitialSetup == null)
   robotInitialSetup = robotModel.getDefaultRobotInitialSetup(0.0, 0.0);
 robotInitialSetup.initializeRobot(simulatedRobot, robotModel.getJointMap());
 FullHumanoidRobotModel fullRobotModel = robotModel.createFullRobotModel();
 WalkingControllerParameters walkingControllerParameters = robotModel.getWalkingControllerParameters();
 YoDouble yoTime = simulatedRobot.getYoTime();
 double dt = robotModel.getEstimatorDT();
 StateEstimatorParameters stateEstimatorParameters = robotModel.getStateEstimatorParameters();
 if (diagnosticParameters == null)
   diagnosticParameters = new DiagnosticParameters(DiagnosticEnvironment.RUNTIME_CONTROLLER, false);
 JointDesiredOutputList lowLevelOutput = new JointDesiredOutputList(fullRobotModel.getOneDoFJoints());
 DiagnosticSensorProcessingConfiguration sensorProcessingConfiguration = new DiagnosticSensorProcessingConfiguration(diagnosticParameters, stateEstimatorParameters, lowLevelOutput);
 SensorOutputMapReadOnly sensorOutputMap = createStateEstimator(fullRobotModel, stateEstimatorParameters, sensorProcessingConfiguration);
 DiagnosticControllerToolbox diagnosticControllerToolbox = new DiagnosticControllerToolbox(fullRobotModel, lowLevelOutput, sensorOutputMap, diagnosticParameters, walkingControllerParameters, yoTime, dt,
    sensorProcessingConfiguration, simulationRegistry);
 automatedDiagnosticAnalysisController = new AutomatedDiagnosticAnalysisController(diagnosticControllerToolbox, gainStream, setpointStream,
    simulationRegistry);
 automatedDiagnosticAnalysisController.setRobotIsAlive(startWithRobotAlive);
 automatedDiagnosticConfiguration = new AutomatedDiagnosticConfiguration(diagnosticControllerToolbox, automatedDiagnosticAnalysisController);
 lowLevelOutputWriter = new SimulatedLowLevelOutputWriter(simulatedRobot, false);
 lowLevelOutputWriter.setJointDesiredOutputList(lowLevelOutput);
 int simulationTicksPerControlTick = (int) (robotModel.getEstimatorDT() / robotModel.getSimulateDT());
 simulatedRobot.setController(this, simulationTicksPerControlTick);
 return automatedDiagnosticConfiguration;
}
origin: us.ihmc/ihmc-avatar-interfaces

private void setupStateEstimationThread()
{
 String robotName = robotModel.get().getSimpleRobotName();
 MessageTopicNameGenerator publisherTopicNameGenerator = ControllerAPIDefinition.getPublisherTopicNameGenerator(robotName);
 MessageTopicNameGenerator subscriberTopicNameGenerator = ControllerAPIDefinition.getSubscriberTopicNameGenerator(robotName);
 PelvisPoseCorrectionCommunicatorInterface pelvisPoseCorrectionCommunicator;
 if (externalPelvisCorrectorSubscriber.hasValue())
 {
   pelvisPoseCorrectionCommunicator = externalPelvisCorrectorSubscriber.get();
 }
 else
 {
   pelvisPoseCorrectionCommunicator = new PelvisPoseCorrectionCommunicator(realtimeRos2Node.get(), publisherTopicNameGenerator);
   ROS2Tools.createCallbackSubscription(realtimeRos2Node.get(), StampedPosePacket.class, subscriberTopicNameGenerator,
                     s -> pelvisPoseCorrectionCommunicator.receivedPacket(s.takeNextData()));
 }
 stateEstimationThread = new DRCEstimatorThread(robotName, robotModel.get().getSensorInformation(), robotModel.get().getContactPointParameters(),
                         robotModel.get(), robotModel.get().getStateEstimatorParameters(), sensorReaderFactory,
                         threadDataSynchronizer, realtimeRos2Node.get(), pelvisPoseCorrectionCommunicator, simulationOutputWriter,
                         yoVariableServer, gravity.get());
}
us.ihmc.avatar.drcRobotDRCRobotModelgetStateEstimatorParameters

Popular methods of DRCRobotModel

  • getEstimatorDT
  • getControllerDT
  • createFullRobotModel
  • getContactPointParameters
  • getDefaultRobotInitialSetup
  • getSensorInformation
  • getSimulateDT
  • createHumanoidFloatingRootJointRobot
  • getCapturePointPlannerParameters
  • getJointMap
  • getSimpleRobotName
  • getWalkingControllerParameters
  • getSimpleRobotName,
  • getWalkingControllerParameters,
  • getFootstepPlannerParameters,
  • getHighLevelControllerParameters,
  • createSimulatedHandController,
  • getLogModelProvider,
  • getLogSettings,
  • getPPSTimestampOffsetProvider,
  • getSensorSuiteManager

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now