Class RefboxClient


  • public class RefboxClient
    extends java.lang.Object
    • Method Detail

      • startServer

        public void startServer()
      • sendBeaconSignal

        public void sendBeaconSignal​(int robotNumber,
                                     java.lang.String robotName,
                                     float x,
                                     float y,
                                     float yaw)
      • sendReportMachine

        public void sendReportMachine​(MachineName machineName,
                                      ZoneName zone,
                                      int rotation)
      • sendResetMachine

        public void sendResetMachine​(Machine machine)
      • sendPrepareBS

        public void sendPrepareBS​(MachineSide side,
                                  Base base_color)
      • sendPrepareDS

        public void sendPrepareDS​(int orderId)
      • sendPrepareRS

        public void sendPrepareRS​(Machine machine,
                                  RingColor ringColor)
      • sendPrepareSS

        public void sendPrepareSS​(Machine machine,
                                  int shelf,
                                  int slot)
      • getStateForMachine

        public java.util.Optional<MachineState> getStateForMachine​(Machine machine)
      • updateMachineStates

        public void updateMachineStates​(org.robocup_logistics.llsf_msgs.MachineInfoProtos.MachineInfo info)
      • getOrderById

        public Order getOrderById​(int orderId)
      • getAllOrders

        public java.util.List<Order> getAllOrders()
      • getAllNoDsPreparedOrders

        public java.util.List<Order> getAllNoDsPreparedOrders()
      • getRingByColor

        public Ring getRingByColor​(RingColor ringColor)
      • getAllRings

        public java.util.List<Ring> getAllRings()
      • getTeamColor

        public java.util.Optional<TeamColor> getTeamColor()
      • isMagenta

        public boolean isMagenta()
      • isCyan

        public boolean isCyan()
      • getLatestGameTimeInSeconds

        public java.lang.Long getLatestGameTimeInSeconds()
      • getLatestGameTimeInNanoSeconds

        public java.lang.Long getLatestGameTimeInNanoSeconds()
      • getGamePhase

        public GamePhase getGamePhase()
      • getGameState

        public GameState getGameState()
      • getCurrentPoint

        public java.lang.Integer getCurrentPoint()
      • getKnownMachinesCount

        public java.lang.Integer getKnownMachinesCount()
      • getPreparedOrders

        public java.util.Set<java.lang.Integer> getPreparedOrders()