Uses of Class
brbrain.Pose

Uses of Pose in brbrain
 

Fields in brbrain declared as Pose
protected  Pose PoseSequenceGUI.currentSequencePose
          the current sequence pose or null if none
protected  Pose PoseSequence.formatPose
          a dummy pose giving the format
protected  Pose PoseGUI.pose
          the Pose reference, synchronized by PoseGUI.poseLock
 

Fields in brbrain with type parameters of type Pose
protected  java.util.LinkedList<Pose> PoseSequence.poses
          the poses
protected  java.util.ListIterator<Pose> PoseSequenceGUI.sequenceIterator
          iterator we always use for all mutations
 

Methods in brbrain that return Pose
 Pose PoseSequenceGUI.getCurrentSequencePose()
          get current sequence pose or null if none
 Pose PoseSequence.getFirst()
          get the first pose in the sequence, NoSuchElement exception if empty
 Pose PoseSequence.getLast()
          get the last pose in the sequence, NoSuchElement exception if empty
 Pose PoseGUI.getPose()
          Get a reference to the current PoseGUI.pose, internally synchronized with PoseGUI.setPose(brbrain.Pose).
protected  Pose PoseSequenceGUI.insertPose(Pose prevSequencePose)
          common insert impl
 Pose PoseSequenceGUI.insertPoseAfter()
          Inserts the current actual pose as a new pose in the sequence after the current sequence pose (or as the first in the sequence).
 Pose PoseSequenceGUI.insertPoseBefore()
          similar to PoseSequenceGUI.insertPoseAfter()
 Pose PoseSequenceGUI.nextPose()
          Move to the next pose in the sequence.
 Pose PoseSequenceGUI.peekNextPose()
          return the next pose, null if none, but don't change to it
 Pose PoseSequenceGUI.peekPreviousPose()
          return the previous pose, null if none, but don't change to it
 Pose PoseSequenceGUI.previousPose()
          Move to the previous pose in the sequence.
 Pose PoseSequenceGUI.removePose()
          Removes the current sequence pose.
 Pose PoseSequenceGUI.rewindToFirstPose()
          rewind to the first pose in sequence, if any
 Pose PoseGUI.setPose(Pose pose)
          Set PoseGUI.pose.
 

Methods in brbrain that return types with arguments of type Pose
 java.util.ListIterator<Pose> PoseSequence.listIterator()
          get an iterator
 java.util.ListIterator<Pose> PoseSequence.listIterator(int index)
          get an iterator starting at the given zero-based index
protected  java.util.ListIterator<Pose> PoseSequence.wrapIterator(java.util.ListIterator<Pose> it)
          wrap a vanilla iterator with format checking and setting
 

Methods in brbrain with parameters of type Pose
protected  boolean SequencePlaybackController.advancePose(PoseSequenceGUI psg, Pose currentActualPose, Pose currentSequencePose, int currentSequenceIndex, java.lang.String reason, boolean deadlineValid, long currentTimeNS)
          Called by SequencePlaybackController.startPlayback(brbrain.PoseSequenceGUI, brbrain.Pose, brbrain.Pose, int) and SequencePlaybackController.controlPlayback(brbrain.PoseSequenceGUI, brbrain.Pose, brbrain.Pose, int) to advance to the next pose.
protected  void PoseSequence.checkPose(Pose p)
          make sure that a pose has the correct format
protected  boolean SequencePlaybackController.closeEnough(Pose currentActualPose, Pose currentSequencePose)
          Compare AX12Register.AX12_PRESENT_POSITION of the current actual pose to the current sequence pose and return true iff their L-infinity norm (maximum element abs difference) is less than SequencePlaybackController.epsilon.
 boolean SequencePlaybackController.controlPlayback(PoseSequenceGUI psg, Pose currentActualPose, Pose currentSequencePose, int currentSequenceIndex)
          Called by the PoseSequenceGUI to request control of playback.
protected  void PoseSequenceGUI.didSync(Pose pose, BRBrain brBrain, boolean didWrite, boolean didRead, boolean setFormats, boolean savedAndRestoredFormat, int syncNum, long startTime, long duration)
          Calls SequencePlaybackController.controlPlayback(brbrain.PoseSequenceGUI, brbrain.Pose, brbrain.Pose, int) as necessary.
protected  void PoseGUI.didSync(Pose pose, BRBrain brBrain, boolean didWrite, boolean didRead, boolean setFormats, boolean savedAndRestoredFormat, int syncNum, long startTime, long duration)
          Hook called after each sync, while synchronized on PoseGUI.refreshLock and PoseGUI.pose.
 int Pose.getMSMorphTimeFrom(Pose otherPose)
          Compute the expected morph time in milliseconds starting from otherPose.
protected  Pose PoseSequenceGUI.insertPose(Pose prevSequencePose)
          common insert impl
 void Pose.readFrom(Pose otherPose)
          read values from other pose
 boolean Pose.sameFormat(Pose otherPose)
          Check if this Pose is the same as otherPose except, possibly, for the contents of the values.
 void Pose.setMovingSpeedFrom(Pose otherPose, int msMorphTime)
          Set the AX12Register.AX12_MOVING_SPEED of this Pose given the desired morph time in milliseconds starting from otherPose.
 Pose PoseGUI.setPose(Pose pose)
          Set PoseGUI.pose.
 void Pose.setRegisterValue(AXRegister register, Pose otherPose)
          copy register value for all dynamixels safely
protected  void PoseSequenceGUI.setSpeed(Pose prevSequencePose, Pose currentSequencePose)
          set speed of currentSequencePose
 boolean SequencePlaybackController.startPlayback(PoseSequenceGUI psg, Pose currentActualPose, Pose currentSequencePose, int currentSequenceIndex)
          Called by the PoseSequenceGUI to request initiation of playback.
 void Pose.writeTo(Pose otherPose)
          write values to other pose
 

Method parameters in brbrain with type arguments of type Pose
protected  java.util.ListIterator<Pose> PoseSequence.wrapIterator(java.util.ListIterator<Pose> it)
          wrap a vanilla iterator with format checking and setting
 

Constructors in brbrain with parameters of type Pose
Pose(Pose otherPose)
          covers Pose(Pose, boolean), always copies values
Pose(Pose otherPose, boolean copyValues)
          make a pose with same format and maybe values as another
PoseGUI(Pose pose, int registerAxis, java.lang.String[] dynamixelNames, boolean showRegisterNames, boolean[] registerEditable, boolean enableShowEstop, boolean showADCs, boolean showManualSync, boolean showAutoSync)
          make a gui for an existing Pose