Utilities

Functions

Script defining various functions used by ROS nodes

Client:

ArmorClient

script.Functions.CleanList(res)[source]

Function to clean outputs of the list.

Parameters

res – Armor_Client.call response

Returns

list of strings

Return type

List (string)

script.Functions.Destination()[source]

Function to decide in which location the robot should move according to urgency.

Returns

location where the robot is to move

Return type

Target (string)

script.Functions.MoveRobot(Location)[source]

Function to move the robot to the chosen location.

Parameters

Location (string) – location where the robot is to move

script.Functions.Update_Time()[source]

Function to update robot times.