simulation.src.simulation_evaluation.src.referee.node module

Summary

Classes:

RefereeNode

Evaluate the drive.

Reference

class RefereeNode[source]

Bases: simulation.utils.ros_base.node_base.NodeBase

Evaluate the drive.

Keep track of the state machines and the broadcast speaker to calculate a score.

start()[source]

Called when activating the node.

stop()[source]

Called when deactivating or shutting down the node.

_connect_state_machine(sm_topics) → Tuple[rospy.topics.Subscriber, rospy.topics.Publisher, simulation.src.simulation_evaluation.src.referee.referee.StateMachineConnector][source]
update(broadcast: simulation_evaluation.msg._Broadcast.Broadcast)[source]

Update referee output with new broadcast msg.

reset_cb(msg: std_msgs.msg._Bool.Bool)[source]

Reset the referee.

Parameters

msg – Reset observation’s or only the state.