gpt4 book ai didi

us.ihmc.robotDataLogger.YoVariableClient类的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 18:18:49 26 4
gpt4 key购买 nike

本文整理了Java中us.ihmc.robotDataLogger.YoVariableClient类的一些代码示例,展示了YoVariableClient类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoVariableClient类的具体详情如下:
包路径:us.ihmc.robotDataLogger.YoVariableClient
类名称:YoVariableClient

YoVariableClient介绍

暂无

代码示例

代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer

public BehaviorVisualizer(int bufferSize)
{
 super(bufferSize, true, false);
 setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(this, "behavior");
 client.start();
}

代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer

@Override
public void receiveTimedOut()
{
 System.out.println("Connection lost, closing client.");
 yoVariableClient.disconnected();
}

代码示例来源:origin: us.ihmc/IHMCRobotDataLogger

public void start()
{
 try
 {
   start(-1L);
 }
 catch (SocketTimeoutException e)
 {
   throw new RuntimeException(e);
 }
}

代码示例来源:origin: us.ihmc/IHMCRobotDataLogger

public synchronized void start(long timeout) throws SocketTimeoutException
{
 if (state != ClientState.WAITING)
 {
   throw new RuntimeException("Client already started");
 }
 System.out.println("Requesting handshake");
 LogHandshake handshake = getHandshake();
 logControlClient.connect();
 handshakeParser.parseFrom(handshake.protoShake);
 yoVariablesUpdatedListener.start(handshake, handshakeParser);
 if (yoVariablesUpdatedListener.changesVariables())
 {
   List<YoVariable<?>> variablesList = handshakeParser.getYoVariablesList();
   logControlClient.startVariableChangedProducers(variablesList, yoVariablesUpdatedListener.executeVariableChangedListeners());
 }
 decompressed = ByteBuffer.allocate(handshakeParser.getBufferSize());
 threadedLogPacketHandler.start();
 streamingDataTCPClient.start();
 state = ClientState.RUNNING;
}

代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer

scs.attachExitActionListener(this);
scs.attachPlaybackListener(createYoGraphicsUpdater());
scs.setRunName(yoVariableClient.getServerName());

代码示例来源:origin: us.ihmc/ihmc-robot-data-logger

public void start()
{
 try
 {
   start(15000);
 }
 catch (IOException e)
 {
   throw new RuntimeException(e);
 }
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

public BehaviorVisualizer(int bufferSize)
{
 super(bufferSize, true, false);
 setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(this);
 client.start();
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-logger

public void start(int timeout) throws IOException
{
 Announcement announcement = LogProducerDisplay.getAnnounceRequest(dataConsumerParticipant, sessionFilters);
 start(timeout, announcement);
}

代码示例来源:origin: us.ihmc/IHMCRobotDataLogger

public void receiveTimedOut()
{
 if (connected)
 {
   System.out.println("Connection lost, closing client.");
   yoVariableClient.disconnected();
 }
 else
 {
   System.out.println("Cannot connect to client, closing");
   yoVariableClient.disconnected();
 }
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

public SCSYoVariablesVisualizer(String host, int port, int bufferSize)
{
 System.out.println("Connecting to host " + host);
 
 SCSVisualizer scsYoVariablesUpdatedListener = new SCSVisualizer(bufferSize);
 scsYoVariablesUpdatedListener.setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
 client.start();
}

代码示例来源:origin: us.ihmc/acsell

public static void main(String[] args)
  {
   SCSVisualizer scsYoVariablesUpdatedListener = new RemoteStepprVisualizer(16384);
   scsYoVariablesUpdatedListener.setShowOverheadView(false);
   
   YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
   client.start();
  }
}

代码示例来源:origin: us.ihmc/acsell

public static void main(String[] args)
  {
   SCSVisualizer scsYoVariablesUpdatedListener = new StepprDeflectionMeasurementSliderboardjava(64000);
   scsYoVariablesUpdatedListener.setShowOverheadView(false);

   YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
   client.start();
  }
}

代码示例来源:origin: us.ihmc/acsell

public static void main(String[] args)
{
 SCSVisualizer scsYoVariablesUpdatedListener = new WandererPDSliderboard(16384);
 scsYoVariablesUpdatedListener.setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
 client.start();
}

代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer

public SCSYoVariablesVisualizer(String host, int port, int bufferSize)
{
 System.out.println("Connecting to host " + host);
 
 SCSVisualizer scsYoVariablesUpdatedListener = new SCSVisualizer(bufferSize);
 scsYoVariablesUpdatedListener.setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener, "remote");
 client.start();
}

代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer

public static void main(String[] args)
{
 SCSVisualizer visualizer = new SCSVisualizer(32169, true);
 visualizer.setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(visualizer, "remote");
 client.start();
}

代码示例来源:origin: us.ihmc/acsell

public static void main(String[] args)
  {
   SCSVisualizer scsYoVariablesUpdatedListener = new StepprStandPrepSliderboard(64000);
   scsYoVariablesUpdatedListener.setShowOverheadView(false);

   YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
   client.start();

  }
}

代码示例来源:origin: us.ihmc/valkyrie

public static void main(String[] args)
  {
   SCSVisualizer scsYoVariablesUpdatedListener = new ValkyrieRosControlSliderBoardGUI(16384);
   scsYoVariablesUpdatedListener.setShowOverheadView(false);
   
   YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
   client.start();
  }
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

public static void main(String[] args)
{
 SCSVisualizer visualizer = new SCSVisualizer(32169, true);
 visualizer.setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(visualizer);
 client.start();
}

代码示例来源:origin: us.ihmc/acsell

public static void main(String[] args)
{
 SCSVisualizer scsYoVariablesUpdatedListener = new StepprPDSliderboard(16384);
 scsYoVariablesUpdatedListener.setShowOverheadView(false);
 YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
 client.start();
}

代码示例来源:origin: us.ihmc/acsell

public static void main(String[] args)
  {
   SCSVisualizer scsYoVariablesUpdatedListener = new StepprAirwalkSliderboard(16384);
   scsYoVariablesUpdatedListener.setShowOverheadView(false);
   
   YoVariableClient client = new YoVariableClient(scsYoVariablesUpdatedListener);
   client.start();
  }
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com