RoboScape

RPCS

RoboScape.getRobots()

Returns the MAC addresses of all authorized robots.

Returns: List<String> info

RoboScape.listen(robots: Union<List<String>, String>)

Registers for receiving messages from the given robots.

Arguments:

  • robots: Union<List<String>, String> - one or a list of robots
RoboScape.send(robot: String, command: String)

Sends a textual command to the robot

Arguments:

  • robot: String info - name of the robot (matches at the end)
  • command: String info - textual command

Returns: String info - textual response