Serialized Form


Package brbrain

Class brbrain.GUI extends javax.swing.Box implements Serializable

Class brbrain.PoseGUI extends GUI implements Serializable

Serialized Fields

refreshLock

java.lang.Object refreshLock
lock for GUI update from PoseGUI.pose


poseLock

java.lang.Object poseLock
lock for changing the pose reference


autoSyncLock

java.lang.Object autoSyncLock
lock for changing auto sync params


pose

Pose pose
the Pose reference, synchronized by PoseGUI.poseLock


axIDs

int[] axIDs
the set of dynamixelIDs; do not mutate


registers

AXRegister[] registers
the set of registers; do not mutate


readStart

AXRegister readStart
the first reg in the BRBrain read format


writeStart

AXRegister writeStart
the first reg in the BRBrain write format, or null if none


readNum

int readNum
the number of regs in the BRBrain read format


writeNum

int writeNum
the number of regs in the BRBrain write format, or 0 if none


numDynamixels

int numDynamixels
the number of dynamixels in PoseGUI.pose


numRegisters

int numRegisters
the number of registers in PoseGUI.pose


dynamixelNames

java.lang.String[] dynamixelNames
the names to display for each dynamixel


useNaturalUnits

java.util.Map<K,V> useNaturalUnits
whether to use natural units for each register


registerAxis

int registerAxis
the axis along which registers are arrayed


refreshPending

boolean refreshPending
whether a refresh is still waiting to happen


syncWritePending

boolean syncWritePending
whether a write should be done if enabled on the next sync


valueBoxes

java.util.Map<K,V> valueBoxes
PoseGUI.ValueBoxes indexed first by register then by dynamixel index


dynamixelBoxes

PoseGUI.DynamixelBox[] dynamixelBoxes
the PoseGUI.DynamixelBoxes


registerNameBox

PoseGUI.RegisterNameBox registerNameBox
the PoseGUI.RegisterNameBox, if any


lastSyncStartTimeMS

int lastSyncStartTimeMS
start time of latest sync


lastSyncTimeMS

int lastSyncTimeMS
latest sync transaction duration


lastUpdatePeriodMS

int lastUpdatePeriodMS
latest time between syncs


numSyncs

int numSyncs
total number of syncs so far


syncWriteData

int[] syncWriteData
BRBrain write block


syncReadData

int[] syncReadData
BRBrain read block


writeAXIDSave

int[] writeAXIDSave
saved write format dynamixel IDs


readAXIDSave

int[] readAXIDSave
saved read format dynamixel IDs


writeStartSave

AXRegister[] writeStartSave
saved write format starts


readStartSave

AXRegister[] readStartSave
saved read format starts


writeLengthSave

int[] writeLengthSave
saved write format lengths


readLengthSave

int[] readLengthSave
saved read format lengths


autoSyncBRBrain

BRBrain autoSyncBRBrain
the BRBrain to auto sync, if any


autoSyncMinUpdatePeriodMS

int autoSyncMinUpdatePeriodMS
min period of auto sync


autoSyncEnableWrite

boolean autoSyncEnableWrite
whether to enable write in auto sync


autoSyncSetFormats

boolean autoSyncSetFormats
whether to set format in auto sync


autoSyncSaveAndRestoreFormat

boolean autoSyncSaveAndRestoreFormat
whether to save and restore format in auto sync


estopButton

javax.swing.JButton estopButton
the estop button, if any


posVoltageLabel

javax.swing.JLabel posVoltageLabel
positive battery voltage label


negVoltageLabel

javax.swing.JLabel negVoltageLabel
negative battery voltage label


thermLabel

javax.swing.JLabel thermLabel
thermistor label


syncButton

javax.swing.JButton syncButton
manual sync button


enableWriteCheckBox

javax.swing.JCheckBox enableWriteCheckBox
manual sync enable write box


setFormatsCheckBox

javax.swing.JCheckBox setFormatsCheckBox
manual sync set formats box


saveAndRestoreFormatsCheckBox

javax.swing.JCheckBox saveAndRestoreFormatsCheckBox
manual sync save/restore formats box


autoSyncCheckBox

javax.swing.JCheckBox autoSyncCheckBox
auto sync box


autoSyncMinUpdatePeriodMSField

javax.swing.JTextField autoSyncMinUpdatePeriodMSField
auto min update period field box


autoSyncEnableWriteCheckBox

javax.swing.JCheckBox autoSyncEnableWriteCheckBox
auto sync enable write box


autoSyncSaveAndRestoreFormatsCheckBox

javax.swing.JCheckBox autoSyncSaveAndRestoreFormatsCheckBox
auto sync save/restore formats box


autoSyncSetFormatsCheckBox

javax.swing.JCheckBox autoSyncSetFormatsCheckBox
auto sync set formats box


defSyncBRBrain

BRBrain defSyncBRBrain
default sync BRBrain


defSyncMinUpdatePeriodMS

int defSyncMinUpdatePeriodMS
default sync min update period


defSyncEnableWrite

boolean defSyncEnableWrite
default sync enable write


defSyncSetFormats

boolean defSyncSetFormats
default sync set formats


defSyncSaveAndRestoreFormats

boolean defSyncSaveAndRestoreFormats
default sync save and restore formats


syncText

java.lang.String syncText
text to display in sync label


floatFormat

java.text.DecimalFormat floatFormat
format a float with two decimal digits


adcValue

int[] adcValue
most recently read CM-5 raw ADC values

Class brbrain.PoseGUI.DynamixelBox extends javax.swing.Box implements Serializable

Serialized Fields

dynamixelIndex

int dynamixelIndex
the dynamixel index (not necessarily ID)

Class brbrain.PoseGUI.RegisterNameBox extends javax.swing.Box implements Serializable

Serialized Fields

unitsLabels

java.util.Map<K,V> unitsLabels
units label for each register


syncLabel

javax.swing.JLabel syncLabel

Class brbrain.PoseGUI.ValueBox extends javax.swing.Box implements Serializable

Serialized Fields

dynamixelIndex

int dynamixelIndex
the dynamixel index (not necessarily ID) for which this is a value


register

AXRegister register
the register for which this is a value


valueField

javax.swing.JTextField valueField
the numeric value


valueCheckBox

javax.swing.JCheckBox valueCheckBox
the boolean value


editable

boolean editable
whether this value is editable


edited

boolean edited
if this value has been edited and not yet synced to the hardware


writeable

boolean writeable
if this value is syncable to the hardware

Class brbrain.PoseSequenceGUI extends PoseGUI implements Serializable

Serialized Fields

poseSequence

PoseSequence poseSequence
the sequence


sequenceIterator

java.util.ListIterator<E> sequenceIterator
iterator we always use for all mutations


currentSequencePose

Pose currentSequencePose
the current sequence pose or null if none


currentSequenceIndex

int currentSequenceIndex
the current sequence pose index, zero based, or -1 if none


msMorphTime

int msMorphTime
current morph time in milliseconds for inserted poses


defaultMovingSpeed

int defaultMovingSpeed
default moving speed for inserted poses


speedFactor

float speedFactor
the current speed factor, initially 1.0


playing

boolean playing
whether we're currently in play mode


playbackController

SequencePlaybackController playbackController
our sequence playback controller


prevButton

javax.swing.JButton prevButton

rewindButton

javax.swing.JButton rewindButton

pauseButton

javax.swing.JButton pauseButton

playButton

javax.swing.JButton playButton

nextButton

javax.swing.JButton nextButton

currentIndexField

javax.swing.JTextField currentIndexField

currentSizeLabel

javax.swing.JLabel currentSizeLabel

insBeforeButton

javax.swing.JButton insBeforeButton

updateButton

javax.swing.JButton updateButton

removeButton

javax.swing.JButton removeButton

insAfterButton

javax.swing.JButton insAfterButton

autoSetSpeedCheckBox

javax.swing.JCheckBox autoSetSpeedCheckBox

setGoalFromPresentCheckBox

javax.swing.JCheckBox setGoalFromPresentCheckBox

speedFactorField

javax.swing.JTextField speedFactorField

defaultMovingSpeedField

javax.swing.JTextField defaultMovingSpeedField

speedOverrideCheckBox

javax.swing.JCheckBox speedOverrideCheckBox

morphTimeField

javax.swing.JTextField morphTimeField