Codota Logo
HandTrajectoryCommand.setPropertiesOnly
Code IndexAdd Codota to your IDE (free)

How to use
setPropertiesOnly
method
in
us.ihmc.humanoidRobotics.communication.controllerAPI.command.HandTrajectoryCommand

Best Java code snippets using us.ihmc.humanoidRobotics.communication.controllerAPI.command.HandTrajectoryCommand.setPropertiesOnly (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: us.ihmc/IHMCHumanoidRobotics

@Override
public void set(HandTrajectoryCommand other)
{
 super.set(other);
 setPropertiesOnly(other);
}
origin: us.ihmc/CommonWalkingControlModules

private int queueExceedingTrajectoryPointsIfNeeded(HandTrajectoryCommand command)
{
 int numberOfTrajectoryPoints = command.getNumberOfTrajectoryPoints();
 int maximumNumberOfWaypoints = positionTrajectoryGenerator.getMaximumNumberOfWaypoints() - positionTrajectoryGenerator.getCurrentNumberOfWaypoints();
 if (numberOfTrajectoryPoints <= maximumNumberOfWaypoints)
   return numberOfTrajectoryPoints;
 HandTrajectoryCommand commandForExcedent = commandQueue.addFirst();
 numberOfQueuedCommands.increment();
 commandForExcedent.clear();
 commandForExcedent.setPropertiesOnly(command);
 for (int trajectoryPointIndex = maximumNumberOfWaypoints; trajectoryPointIndex < numberOfTrajectoryPoints; trajectoryPointIndex++)
 {
   commandForExcedent.addTrajectoryPoint(command.getTrajectoryPoint(trajectoryPointIndex));
 }
 double timeOffsetToSubtract = command.getTrajectoryPoint(maximumNumberOfWaypoints - 1).getTime();
 commandForExcedent.subtractTimeOffset(timeOffsetToSubtract);
 return maximumNumberOfWaypoints;
}
us.ihmc.humanoidRobotics.communication.controllerAPI.commandHandTrajectoryCommandsetPropertiesOnly

Javadoc

Same as #set(HandTrajectoryCommand) but does not change the trajectory points.

Popular methods of HandTrajectoryCommand

  • <init>
  • getRobotSide
  • set
  • clear
  • getLastTrajectoryPoint
  • getSelectionMatrix
  • addTimeOffset
  • addTrajectoryPoint
  • getBase
  • getCommandId
  • getExecutionMode
  • getNumberOfTrajectoryPoints
  • getExecutionMode,
  • getNumberOfTrajectoryPoints,
  • getPreviousCommandId,
  • getSE3Trajectory,
  • getTrajectoryPoint,
  • subtractTimeOffset

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getApplicationContext (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Join (org.hibernate.mapping)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now