Tabnine Logo
PelvisPoseCorrectionCommunicator
Code IndexAdd Tabnine to your IDE (free)

How to use
PelvisPoseCorrectionCommunicator
in
us.ihmc.humanoidRobotics.communication.subscribers

Best Java code snippets using us.ihmc.humanoidRobotics.communication.subscribers.PelvisPoseCorrectionCommunicator (Showing top 8 results out of 315)

origin: us.ihmc/ihmc-humanoid-robotics

@Override
public void onNewDataMessage(Subscriber<StampedPosePacket> subscriber)
{
 receivedPacket(subscriber.takeNextData());
}
origin: us.ihmc/valkyrie

externalPelvisPoseSubscriber = new PelvisPoseCorrectionCommunicator(null, null);
ROS2Tools.createCallbackSubscription(estimatorRealtimeRos2Node, StampedPosePacket.class,
                   ControllerAPIDefinition.getSubscriberTopicNameGenerator(robotName), externalPelvisPoseSubscriber);
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/DarpaRoboticsChallenge

PelvisPoseCorrectionCommunicatorInterface externalPelvisPoseSubscriber = new PelvisPoseCorrectionCommunicator(dataProducer);
dataProducer.attachListener(StampedPosePacket.class, externalPelvisPoseSubscriber);
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());
}
origin: us.ihmc/DarpaRoboticsChallenge

pelvisPoseCorrectionCommunicator = new PelvisPoseCorrectionCommunicator(globalDataProducer);
globalDataProducer.attachListener(StampedPosePacket.class, pelvisPoseCorrectionCommunicator);
origin: us.ihmc/acsell

PelvisPoseCorrectionCommunicatorInterface externalPelvisPoseSubscriber = new PelvisPoseCorrectionCommunicator(dataProducer);
dataProducer.attachListener(StampedPosePacket.class, externalPelvisPoseSubscriber);
origin: us.ihmc/acsell

PelvisPoseCorrectionCommunicatorInterface externalPelvisPoseSubscriber = new PelvisPoseCorrectionCommunicator(dataProducer);
dataProducer.attachListener(StampedPosePacket.class, externalPelvisPoseSubscriber);
us.ihmc.humanoidRobotics.communication.subscribersPelvisPoseCorrectionCommunicator

Most used methods

  • <init>
  • receivedPacket

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setRequestProperty (URLConnection)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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