Welcome to survailence_robot's documentation!

Indices and tables

robot_states Module

This node implements the robot state for controlling the robot in the environment.

state_machine Module

This node implements the state machine for controlling the robot in the environment.

class scripts.state_machine.Battery_Low[source]
execute(userdata)[source]

Called when executing a state. In the base class this raises a NotImplementedError.

@type ud: L{UserData} structure @param ud: Userdata for the scope in which this state is executing

class scripts.state_machine.Map_Receiving[source]
execute(userdata)[source]

Called when executing a state. In the base class this raises a NotImplementedError.

@type ud: L{UserData} structure @param ud: Userdata for the scope in which this state is executing

class scripts.state_machine.Normal[source]
execute(userdata)[source]

Called when executing a state. In the base class this raises a NotImplementedError.

@type ud: L{UserData} structure @param ud: Userdata for the scope in which this state is executing

class scripts.state_machine.Urgent[source]
execute(userdata)[source]

Called when executing a state. In the base class this raises a NotImplementedError.

@type ud: L{UserData} structure @param ud: Userdata for the scope in which this state is executing

scripts.state_machine.findindividual(list)[source]

Function for finding the individual in a list from the return of a qureied proprity from armor. :param Individual: The individual in the armor resonse format ex. ['<http://bnc/exp-rob-lab/2022-23#R1>'] :type Individual: list

Returns

The individual extarcted and changed to a string ex. "R1"

Return type

Individual(string)

scripts.state_machine.urgentupdate()[source]

Function for checking if there is an urgent room to set the global urgentflag, also returns the nearby urgent room. :param void:

Returns

The nearby urgent room according to the robot position in the corridors.

Return type

Urgent room(string)