Class PoseTrackerRPCClient


public class PoseTrackerRPCClient extends PoseTracker
  • Constructor Details

    • PoseTrackerRPCClient

      public PoseTrackerRPCClient(String name, Channel chan)
  • Method Details

    • doCommand

      public com.google.protobuf.Struct doCommand(Map<String,com.google.protobuf.Value> command)
      Description copied from class: Resource
      Send/Receive arbitrary commands to the Resource
      Overrides:
      doCommand in class Resource
      Parameters:
      command - the command to execute
      Returns:
      result of the executed command
    • getPoses

      public Map<String,Common.PoseInFrame> getPoses(List<String> bodyNames, com.google.protobuf.Struct extra)
      Description copied from class: PoseTracker
      Returns the current pose of each body tracked by the pose tracker.
      Specified by:
      getPoses in class PoseTracker
      Parameters:
      bodyNames - Names of the bodies whose poses are being requested. In the event this parameter is not supplied or is an empty list, all available poses are returned.
      Returns:
      the mapping of each body name to the pose representing the center of the body
    • getGeometries

      public List<Common.Geometry> getGeometries(Optional<com.google.protobuf.Struct> extra)
      Description copied from class: Component
      Get all geometries associated with the Component, in their current configuration, in the frame of the Component.
      Overrides:
      getGeometries in class Component
      Returns:
      the geometries associated with the Component