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

How to use
PassiveJointController
in
us.ihmc.simulationToolkit.controllers

Best Java code snippets using us.ihmc.simulationToolkit.controllers.PassiveJointController (Showing top 4 results out of 315)

origin: us.ihmc/IHMCSimulationToolkit

  @Override
  public String getDescription()
  {
   return getName();
  }
}
origin: us.ihmc/ihmc-avatar-interfaces

private void setupPassiveJoints()
{
 YoVariableRegistry robotsYoVariableRegistry = humanoidFloatingRootJointRobot.getRobotsYoVariableRegistry();
 List<ImmutablePair<String, YoPDGains>> passiveJointNameWithGains = robotModel.get().getJointMap().getPassiveJointNameWithGains(robotsYoVariableRegistry);
 if (passiveJointNameWithGains != null)
 {
   for (int i = 0; i < passiveJointNameWithGains.size(); i++)
   {
    String jointName = passiveJointNameWithGains.get(i).getLeft();
    OneDegreeOfFreedomJoint simulatedJoint = humanoidFloatingRootJointRobot.getOneDegreeOfFreedomJoint(jointName);
    YoPDGains gains = passiveJointNameWithGains.get(i).getRight();
    PassiveJointController passiveJointController = new PassiveJointController(simulatedJoint, gains);
    humanoidFloatingRootJointRobot.setController(passiveJointController);
   }
 }
}
origin: us.ihmc/IHMCAvatarInterfaces

private void setupPassiveJoints()
{
 YoVariableRegistry robotsYoVariableRegistry = humanoidFloatingRootJointRobot.getRobotsYoVariableRegistry();
 List<ImmutablePair<String, YoPDGains>> passiveJointNameWithGains = robotModel.get().getJointMap().getPassiveJointNameWithGains(robotsYoVariableRegistry);
 if (passiveJointNameWithGains != null)
 {
   for (int i = 0; i < passiveJointNameWithGains.size(); i++)
   {
    String jointName = passiveJointNameWithGains.get(i).getLeft();
    OneDegreeOfFreedomJoint simulatedJoint = humanoidFloatingRootJointRobot.getOneDegreeOfFreedomJoint(jointName);
    YoPDGains gains = passiveJointNameWithGains.get(i).getRight();
    PassiveJointController passiveJointController = new PassiveJointController(simulatedJoint, gains);
    humanoidFloatingRootJointRobot.setController(passiveJointController);
   }
 }
}
origin: us.ihmc/ihmc-simulation-toolkit

  @Override
  public String getDescription()
  {
   return getName();
  }
}
us.ihmc.simulationToolkit.controllersPassiveJointController

Most used methods

  • <init>
  • getName

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • String (java.lang)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Best IntelliJ plugins
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