本文整理了Java中us.ihmc.robotDataVisualizer.logger.YoVariableLogPlaybackRobot
类的一些代码示例,展示了YoVariableLogPlaybackRobot
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoVariableLogPlaybackRobot
类的具体详情如下:
包路径:us.ihmc.robotDataVisualizer.logger.YoVariableLogPlaybackRobot
类名称:YoVariableLogPlaybackRobot
暂无
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
public void addLogPlaybackListener(YoVariableLogPlaybackListener listener)
{
listener.setYoVariableRegistry(scs.getRootRegistry());
robot.addLogPlaybackListener(listener);
}
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
private void setReadEveryNTicksTextFieldToCurrentValue(final JTextField textField)
{
String everyNTicksString = Integer.toString(robot.getReadEveryNTicks());
textField.setText(everyNTicksString);
}
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
final long startTimestamp = robot.getTimestamp(start);
final long endTimestamp = robot.getTimestamp(end);
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
this.timestamp = new LongYoVariable("timestamp", getRobotsYoVariableRegistry());
this.robotTime = new DoubleYoVariable("robotTime", getRobotsYoVariableRegistry());
JointUpdater.getJointUpdaterList(getRootJoints(), jointStates, jointUpdaters);
currentRecordTick = new IntegerYoVariable("currentRecordTick", getRobotsYoVariableRegistry());
positionChannel(0);
readLogLine();
initialTimestamp = logLine.getLong(0);
positionChannel(0);
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
robot = new YoVariableLogPlaybackRobot(selectedFile, robotDescription, jointStates, parser.getYoVariablesList(), logProperties ,scs);
scs.setTimeVariableName(robot.getRobotsYoVariableRegistry().getName() + ".robotTime");
try
players = new MultiVideoDataPlayer(selectedFile, logProperties, robot.getTimestamp());
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
final MarkableJSlider slider = new MarkableJSlider(0, robot.getNumberOfEntries() - 1, 0);
final JLabel currentTime = new JLabel(String.valueOf(robot.getFinalTimestamp()));
robot.addCurrentRecordTickListener(new VariableChangedListener()
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
public void wasRewound()
{
int position = currentRecordTick.getIntegerValue();
try
{
positionChannel(position);
}
catch (IOException e)
{
throw new RuntimeException("Cannot skip to position " + position);
}
}
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
this.timestamp = new YoLong("timestamp", getRobotsYoVariableRegistry());
this.robotTime = new YoDouble("robotTime", getRobotsYoVariableRegistry());
JointUpdater.getJointUpdaterList(getRootJoints(), jointStates, jointUpdaters);
currentRecordTick = new YoInteger("currentRecordTick", getRobotsYoVariableRegistry());
positionChannel(0);
readLogLine();
initialTimestamp = logLine.getLong(0);
positionChannel(0);
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
robot = new YoVariableLogPlaybackRobot(selectedFile, robotDescription, jointStates, parser.getYoVariablesList(), logProperties ,scs);
scs.setTimeVariableName(robot.getRobotsYoVariableRegistry().getName() + ".robotTime");
try
players = new MultiVideoDataPlayer(selectedFile, logProperties, robot.getTimestamp());
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
final MarkableJSlider slider = new MarkableJSlider(0, robot.getNumberOfEntries() - 1, 0);
final JLabel currentTime = new JLabel(String.valueOf(robot.getFinalTimestamp()));
robot.addCurrentRecordTickListener(new VariableChangedListener()
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
public void seek(int position)
{
currentRecordTick.set(position);
try
{
positionChannel(position);
}
catch (IOException e)
{
throw new RuntimeException(e);
}
}
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
final long startTimestamp = robot.getTimestamp(start);
final long endTimestamp = robot.getTimestamp(end);
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
public void seek(int position)
{
currentRecordTick.set(position);
try
{
positionChannel(position);
}
catch (IOException e)
{
throw new RuntimeException(e);
}
}
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
private void setReadEveryNTicksTextFieldToCurrentValue(final JTextField textField)
{
String everyNTicksString = Integer.toString(robot.getReadEveryNTicks());
textField.setText(everyNTicksString);
}
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
public void addLogPlaybackListener(YoVariableLogPlaybackListener listener)
{
listener.setYoVariableRegistry(scs.getRootRegistry());
robot.addLogPlaybackListener(listener);
}
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
final long startTimestamp = robot.getTimestamp(start);
final long endTimestamp = robot.getTimestamp(end);
new Thread("IHMC-LogVisualizerGUI")
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
@Override
public void notifyOfRewind()
{
int position = currentRecordTick.getIntegerValue();
try
{
positionChannel(position);
}
catch (IOException e)
{
throw new RuntimeException("Cannot skip to position " + position);
}
}
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
scs.addJLabel(label);
String everyNTicksString = Integer.toString(robot.getReadEveryNTicks());
final JTextField textField = new JTextField(everyNTicksString, 3);
textField.addActionListener(new ActionListener()
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
final long startTimestamp = robot.getTimestamp(start);
final long endTimestamp = robot.getTimestamp(end);
new Thread()
代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer
scs.addJLabel(label);
String everyNTicksString = Integer.toString(robot.getReadEveryNTicks());
final JTextField textField = new JTextField(everyNTicksString, 3);
textField.addActionListener(new ActionListener()
内容来源于网络,如有侵权,请联系作者删除!