RoboScape

RPCS

RoboScape.getRobots()

Returns the MAC addresses of all authorized robots.

Returns: List<String> (List | String)

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

Registers for receiving messages from the given robots.

Arguments:

  • robots: AnyOf<List<String>, String> (AnyOf | List | String) - one or a list of robots

RoboScape.send(robot: String, command: String)

Sends a textual command to the robot

Arguments:

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

  • command: String (String) - textual command

Returns: String (String) - textual response