Tabnine Logo
HumanoidJointPoseList.addIfNotNull
Code IndexAdd Tabnine to your IDE (free)

How to use
addIfNotNull
method
in
us.ihmc.wholeBodyController.diagnostics.HumanoidJointPoseList

Best Java code snippets using us.ihmc.wholeBodyController.diagnostics.HumanoidJointPoseList.addIfNotNull (Showing top 2 results out of 315)

origin: us.ihmc/IHMCWholeBodyController

public SideDependentList<ArrayList<OneDoFJoint>> getArmJoints(FullHumanoidRobotModel fullRobotModel)
{
 SideDependentList<ArrayList<OneDoFJoint>> ret = new SideDependentList<ArrayList<OneDoFJoint>>();
 for (RobotSide robotSide : RobotSide.values)
 {
   ArrayList<OneDoFJoint> armJoints = new ArrayList<OneDoFJoint>();
      addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.SHOULDER_PITCH));
   addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.SHOULDER_ROLL));
   addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.SHOULDER_YAW));
   addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.ELBOW_PITCH));
       
   ret.set(robotSide, armJoints);
 }
 return ret;
}
origin: us.ihmc/ihmc-whole-body-controller

public SideDependentList<ArrayList<OneDoFJointBasics>> getArmJoints(FullHumanoidRobotModel fullRobotModel)
{
 SideDependentList<ArrayList<OneDoFJointBasics>> ret = new SideDependentList<ArrayList<OneDoFJointBasics>>();
 for (RobotSide robotSide : RobotSide.values)
 {
   ArrayList<OneDoFJointBasics> armJoints = new ArrayList<OneDoFJointBasics>();
      addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.SHOULDER_PITCH));
   addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.SHOULDER_ROLL));
   addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.SHOULDER_YAW));
   addIfNotNull(armJoints, fullRobotModel.getArmJoint(robotSide, ArmJointName.ELBOW_PITCH));
       
   ret.set(robotSide, armJoints);
 }
 return ret;
}
us.ihmc.wholeBodyController.diagnosticsHumanoidJointPoseListaddIfNotNull

Popular methods of HumanoidJointPoseList

  • <init>
  • getArmJointAngles
  • getArmJoints
  • getLegJointAngles
  • getLegJoints
  • getSpineJointAngles
  • getSpineJoints
  • isDone
  • next
  • reset
  • setParentRegistry
  • createCalibrationPose
  • setParentRegistry,
  • createCalibrationPose,
  • createPoseSettersJustArms,
  • createPoseSettersJustLegs

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Join (org.hibernate.mapping)
  • 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