Tabnine Logo
HandConfiguration.fromByte
Code IndexAdd Tabnine to your IDE (free)

How to use
fromByte
method
in
us.ihmc.humanoidRobotics.communication.packets.dataobjects.HandConfiguration

Best Java code snippets using us.ihmc.humanoidRobotics.communication.packets.dataobjects.HandConfiguration.fromByte (Showing top 6 results out of 315)

origin: us.ihmc/valkyrie

public static final void convertHandDesiredConfigurationMessage(HandDesiredConfigurationMessage handDesiredConfigurationMessage,
                                ValkyrieHandFingerTrajectoryMessage messageToPack)
{
 messageToPack.setRobotSide(handDesiredConfigurationMessage.getRobotSide());
 HandConfiguration desiredHandConfiguration = HandConfiguration.fromByte(handDesiredConfigurationMessage.getDesiredHandConfiguration());
 convertHandConfiguration(desiredHandConfiguration, messageToPack);
}
origin: us.ihmc/valkyrie

private void checkForNewHandDesiredConfigurationRequested()
{
 for (RobotSide robotSide : RobotSide.values)
 {
   if (handDesiredConfigurationMessageSubscribers.get(robotSide).isNewDesiredConfigurationAvailable())
   {
    HandConfiguration handDesiredConfiguration = HandConfiguration.fromByte(handDesiredConfigurationMessageSubscribers.get(robotSide).pollMessage()
                                                             .getDesiredHandConfiguration());
    ValkyrieFingerSetController controller = fingerSetControllers.get(robotSide);
    if (controller == null)
      continue;
    controller.getDesiredHandConfiguration(handDesiredConfiguration);
   }
 }
}
origin: us.ihmc/robotiq-hand-drivers

HandConfiguration state = HandConfiguration.fromByte(packet.getDesiredHandConfiguration());
origin: us.ihmc/robotiq-hand-drivers

HandConfiguration handDesiredConfiguration = HandConfiguration.fromByte(handDesiredConfigurationSubscriber.pollMessage()
                                                     .getDesiredHandConfiguration());
origin: us.ihmc/valkyrie

HandConfiguration desiredHandConfiguration = HandConfiguration.fromByte(handDesiredConfigurationMessageSubscribers.get(robotSide).pollMessage()
                                                         .getDesiredHandConfiguration());
handJointFingerSetControllers.get(robotSide).clearTrajectories();
origin: us.ihmc/ihmc-avatar-interfaces

public static void convertHandDesiredConfigurationMessage(HandDesiredConfigurationMessage ihmcMessage, HandleControl message)
 switch (HandConfiguration.fromByte(ihmcMessage.getDesiredHandConfiguration()))
us.ihmc.humanoidRobotics.communication.packets.dataobjectsHandConfigurationfromByte

Popular methods of HandConfiguration

  • equals
  • name
  • values
  • ordinal
  • toByte
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • onRequestPermissionsResult (Fragment)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Socket (java.net)
    Provides a client-side TCP socket.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JList (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 12 Jupyter Notebook Extensions
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