Tabnine Logo
HumanoidRobotDataReceiver.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
us.ihmc.humanoidRobotics.communication.subscribers.HumanoidRobotDataReceiver
constructor

Best Java code snippets using us.ihmc.humanoidRobotics.communication.subscribers.HumanoidRobotDataReceiver.<init> (Showing top 14 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: us.ihmc/IHMCAvatarInterfaces

public HumanoidReferenceFrames createHumanoidReferenceFrames(FullHumanoidRobotModel fullHumanoidRobotModel)
{
 ForceSensorDataHolder forceSensorDataHolder = new ForceSensorDataHolder(Arrays.asList(fullHumanoidRobotModel.getForceSensorDefinitions()));
 HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullHumanoidRobotModel, forceSensorDataHolder);
 packetCommunicator.attachListener(RobotConfigurationData.class, robotDataReceiver);
 return robotDataReceiver.getReferenceFrames();
}
origin: us.ihmc/IHMCAvatarInterfaces

public MultisensePointCloudReceiver(PacketCommunicator packetCommunicator, MultisenseTest testInfo, DRCRobotModel robotModel)
{
 this.packetCommunicator = packetCommunicator;
 this.testInfo = testInfo;
 this.frame = testInfo.getFrame();
 
 FullHumanoidRobotModel fullRobotModel = robotModel.createFullRobotModel();
 robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
 HumanoidReferenceFrames referenceFrames = robotDataReceiver.getReferenceFrames();
 
 this.headRootReferenceFrame = referenceFrames.getNeckFrame(NeckJointName.PROXIMAL_NECK_PITCH);
 setupReferenceFrames(referenceFrames);
}
origin: us.ihmc/DarpaRoboticsChallenge

public MultisensePointCloudReceiver(PacketCommunicator packetCommunicator, MultisenseTest testInfo, DRCRobotModel robotModel)
{
 this.packetCommunicator = packetCommunicator;
 this.testInfo = testInfo;
 this.frame = testInfo.getFrame();
 
 FullHumanoidRobotModel fullRobotModel = robotModel.createFullRobotModel();
 robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
 HumanoidReferenceFrames referenceFrames = robotDataReceiver.getReferenceFrames();
 
 this.headRootReferenceFrame = referenceFrames.getNeckFrame(NeckJointName.PROXIMAL_NECK_PITCH);
 setupReferenceFrames(referenceFrames);
}
origin: us.ihmc/ihmc-avatar-interfaces

public MocapToHeadFrameConverter(DRCRobotModel robotModel, PacketCommunicator mocapModulePacketCommunicator)
{
 FullHumanoidRobotModel fullRobotModel = robotModel.createFullRobotModel();
 robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
 HumanoidReferenceFrames referenceFrames = robotDataReceiver.getReferenceFrames();
 robotHeadFrame = referenceFrames.getNeckFrame(NeckJointName.PROXIMAL_NECK_PITCH);
 
 mocapHeadFrame = new ReferenceFrame("headInMocapFrame", mocapOrigin)
 {
   @Override
   protected void updateTransformToParent(RigidBodyTransform transformToParent)
   {
    transformToParent.set(mocapHeadPoseInZUp);
   }
 };
 
 mocapOffsetFrame = new ReferenceFrame("mocapOffsetFrame", mocapOrigin)
 {
      @Override
   protected void updateTransformToParent(RigidBodyTransform transformToParent)
   {
    transformToParent.set(transformFromMocapHeadToRobotHead);
    
   }
 };
 
 mocapModulePacketCommunicator.attachListener(RobotConfigurationData.class, robotDataReceiver);
}
origin: us.ihmc/IHMCAvatarInterfaces

public MocapToStateEstimatorFrameConverter(DRCRobotModel robotModel, PacketCommunicator mocapModulePacketCommunicator)
{
 FullHumanoidRobotModel fullRobotModel = robotModel.createFullRobotModel();
 robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
 HumanoidReferenceFrames referenceFrames = robotDataReceiver.getReferenceFrames();
 robotHeadFrame = referenceFrames.getNeckFrame(NeckJointName.PROXIMAL_NECK_PITCH);
 
 mocapHeadFrame = new ReferenceFrame("headInMocapFrame", mocapOrigin)
 {
   @Override
   protected void updateTransformToParent(RigidBodyTransform transformToParent)
   {
    transformToParent.set(mocapHeadPoseInZUp);
   }
 };
 
 mocapOffsetFrame = new ReferenceFrame("mocapOffsetFrame", mocapOrigin)
 {
      @Override
   protected void updateTransformToParent(RigidBodyTransform transformToParent)
   {
    transformToParent.set(transformFromMocapHeadToRobotHead);
    
   }
 };
 
 mocapModulePacketCommunicator.attachListener(RobotConfigurationData.class, robotDataReceiver);
}
origin: us.ihmc/DarpaRoboticsChallenge

public MocapToStateEstimatorFrameConverter(DRCRobotModel robotModel, PacketCommunicator mocapModulePacketCommunicator)
{
 FullHumanoidRobotModel fullRobotModel = robotModel.createFullRobotModel();
 robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
 HumanoidReferenceFrames referenceFrames = robotDataReceiver.getReferenceFrames();
 robotHeadFrame = referenceFrames.getNeckFrame(NeckJointName.PROXIMAL_NECK_PITCH);
 
 mocapHeadFrame = new ReferenceFrame("headInMocapFrame", mocapOrigin)
 {
   @Override
   protected void updateTransformToParent(RigidBodyTransform transformToParent)
   {
    transformToParent.set(mocapHeadPoseInZUp);
   }
 };
 
 mocapOffsetFrame = new ReferenceFrame("mocapOffsetFrame", mocapOrigin)
 {
      @Override
   protected void updateTransformToParent(RigidBodyTransform transformToParent)
   {
    transformToParent.set(transformFromMocapHeadToRobotHead);
    
   }
 };
 
 mocapModulePacketCommunicator.attachListener(RobotConfigurationData.class, robotDataReceiver);
}
origin: us.ihmc/IHMCAvatarInterfaces

this.messageFactory = nodeConfiguration.getTopicMessageFactory();
this.fullRobotModel = robotModel.createFullRobotModel();
HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
rosAPI_communicator.attachListener(RobotConfigurationData.class, robotDataReceiver);
rosAPI_communicator.attachListener(RobotConfigurationData.class, ppsOffsetProvider);
origin: us.ihmc/ihmc-avatar-interfaces

this.messageFactory = nodeConfiguration.getTopicMessageFactory();
this.fullRobotModel = robotModel.createFullRobotModel();
HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
rosAPI_communicator.attachListener(RobotConfigurationData.class, robotDataReceiver);
rosAPI_communicator.attachListener(RobotConfigurationData.class, ppsOffsetProvider);
origin: us.ihmc/DarpaRoboticsChallenge

this.messageFactory = nodeConfiguration.getTopicMessageFactory();
this.fullRobotModel = robotModel.createFullRobotModel();
HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, null);
rosAPI_communicator.attachListener(RobotConfigurationData.class, robotDataReceiver);
rosAPI_communicator.attachListener(RobotConfigurationData.class, ppsOffsetProvider);
origin: us.ihmc/IHMCHumanoidBehaviors

yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(false);
ForceSensorDataHolder forceSensorDataHolder = new ForceSensorDataHolder(Arrays.asList(fullRobotModel.getForceSensorDefinitions()));
HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, forceSensorDataHolder);
origin: us.ihmc/ihmc-avatar-interfaces-test

private BehaviorDispatcher<HumanoidBehaviorType> setupBehaviorDispatcher(String robotName, FullHumanoidRobotModel fullRobotModel, Ros2Node ros2Node,
                                    YoGraphicsListRegistry yoGraphicsListRegistry, YoVariableRegistry registry)
{
 ForceSensorDataHolder forceSensorDataHolder = new ForceSensorDataHolder(Arrays.asList(fullRobotModel.getForceSensorDefinitions()));
 robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, forceSensorDataHolder);
 ROS2Tools.createCallbackSubscription(ros2Node, RobotConfigurationData.class, ControllerAPIDefinition.getPublisherTopicNameGenerator(robotName),
                    s -> robotDataReceiver.receivedPacket(s.takeNextData()));
 BehaviorControlModeSubscriber desiredBehaviorControlSubscriber = new BehaviorControlModeSubscriber();
 ROS2Tools.createCallbackSubscription(ros2Node, BehaviorControlModePacket.class, IHMCHumanoidBehaviorManager.getSubscriberTopicNameGenerator(robotName),
                    s -> desiredBehaviorControlSubscriber.receivedPacket(s.takeNextData()));
 HumanoidBehaviorTypeSubscriber desiredBehaviorSubscriber = new HumanoidBehaviorTypeSubscriber();
 ROS2Tools.createCallbackSubscription(ros2Node, HumanoidBehaviorTypePacket.class, IHMCHumanoidBehaviorManager.getSubscriberTopicNameGenerator(robotName),
                    s -> desiredBehaviorSubscriber.receivedPacket(s.takeNextData()));
 YoVariableServer yoVariableServer = null;
 yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(false);
 BehaviorDispatcher<HumanoidBehaviorType> ret = new BehaviorDispatcher<>(robotName, yoTime, robotDataReceiver, desiredBehaviorControlSubscriber,
                                     desiredBehaviorSubscriber, ros2Node, yoVariableServer, HumanoidBehaviorType.class,
                                     HumanoidBehaviorType.STOP, registry, yoGraphicsListRegistry);
 return ret;
}
origin: us.ihmc/ihmc-avatar-interfaces-test

robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, forceSensorDataHolder);
ROS2Tools.createCallbackSubscription(ros2Node, RobotConfigurationData.class, ControllerAPIDefinition.getPublisherTopicNameGenerator(robotName),
                   s -> robotDataReceiver.receivedPacket(s.takeNextData()));
origin: us.ihmc/ihmc-humanoid-behaviors

yoGraphicsListRegistry.setYoGraphicsUpdatedRemotely(false);
ForceSensorDataHolder forceSensorDataHolder = new ForceSensorDataHolder(Arrays.asList(fullRobotModel.getForceSensorDefinitions()));
HumanoidRobotDataReceiver robotDataReceiver = new HumanoidRobotDataReceiver(fullRobotModel, forceSensorDataHolder);
origin: us.ihmc/ihmc-avatar-interfaces-test

humanoidRobotDataReceiver = new HumanoidRobotDataReceiver(fullHumanoidRobotModel, forceSensorDataHolder);
planCompleted = false;
us.ihmc.humanoidRobotics.communication.subscribersHumanoidRobotDataReceiver<init>

Popular methods of HumanoidRobotDataReceiver

  • updateRobotModel
  • getReferenceFrames
  • getUpdatedReferenceFramesCopy
  • receivedPacket
  • framesHaveBeenSetUp
  • getForceSensorDataHolder

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • 14 Best Plugins for Eclipse
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