Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
supervisor.main.Supervisor Class Reference
Inheritance diagram for supervisor.main.Supervisor:
Inheritance graph
Collaboration diagram for supervisor.main.Supervisor:
Collaboration graph

Public Member Functions

 __init__ (self)
 
 check_up (self)
 
 restart_node (self, node_name)
 
 convert_mission (self, msg)
 
 master_callback (self, msg)
 
 should_start_recording (self, msg)
 
 should_stop_recording (self, msg)
 
 get_rosbag_naming (self)
 
 start_recording_rosbag (self)
 
 stop_rosbag (self)
 

Public Attributes

 creation_time
 
 node_names_to_watch
 
 node_start_cmds
 
 nodes_being_initialized
 
 timer_period_milliseconds
 
 check_up
 
 rosbag_process
 
 master_topic
 
 bags_dir
 
 record_rosbag_command
 
 mission
 
 consecutive_ts_on_count
 
 consecutive_ts_off_count
 
 last_received_master_msg_time
 
 subscription
 
 master_callback
 
 current_rosbag_name
 
 temp_bag_dir
 

Detailed Description

Definition at line 15 of file main.py.

Constructor & Destructor Documentation

◆ __init__()

supervisor.main.Supervisor.__init__ (   self)

Definition at line 16 of file main.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ check_up()

supervisor.main.Supervisor.check_up (   self)

Definition at line 62 of file main.py.

Here is the call graph for this function:

◆ convert_mission()

supervisor.main.Supervisor.convert_mission (   self,
  msg 
)

Definition at line 97 of file main.py.

Here is the caller graph for this function:

◆ get_rosbag_naming()

supervisor.main.Supervisor.get_rosbag_naming (   self)

Definition at line 151 of file main.py.

Here is the caller graph for this function:

◆ master_callback()

supervisor.main.Supervisor.master_callback (   self,
  msg 
)

Definition at line 120 of file main.py.

Here is the call graph for this function:

◆ restart_node()

supervisor.main.Supervisor.restart_node (   self,
  node_name 
)

Definition at line 87 of file main.py.

Here is the caller graph for this function:

◆ should_start_recording()

supervisor.main.Supervisor.should_start_recording (   self,
  msg 
)

Definition at line 141 of file main.py.

Here is the caller graph for this function:

◆ should_stop_recording()

supervisor.main.Supervisor.should_stop_recording (   self,
  msg 
)

Definition at line 146 of file main.py.

Here is the caller graph for this function:

◆ start_recording_rosbag()

supervisor.main.Supervisor.start_recording_rosbag (   self)

Definition at line 166 of file main.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop_rosbag()

supervisor.main.Supervisor.stop_rosbag (   self)

Definition at line 177 of file main.py.

Here is the caller graph for this function:

Member Data Documentation

◆ bags_dir

supervisor.main.Supervisor.bags_dir

Definition at line 42 of file main.py.

◆ check_up

supervisor.main.Supervisor.check_up

Definition at line 35 of file main.py.

◆ consecutive_ts_off_count

supervisor.main.Supervisor.consecutive_ts_off_count

Definition at line 48 of file main.py.

◆ consecutive_ts_on_count

supervisor.main.Supervisor.consecutive_ts_on_count

Definition at line 47 of file main.py.

◆ creation_time

supervisor.main.Supervisor.creation_time

Definition at line 18 of file main.py.

◆ current_rosbag_name

supervisor.main.Supervisor.current_rosbag_name

Definition at line 168 of file main.py.

◆ last_received_master_msg_time

supervisor.main.Supervisor.last_received_master_msg_time

Definition at line 49 of file main.py.

◆ master_callback

supervisor.main.Supervisor.master_callback

Definition at line 56 of file main.py.

◆ master_topic

supervisor.main.Supervisor.master_topic

Definition at line 41 of file main.py.

◆ mission

supervisor.main.Supervisor.mission

Definition at line 46 of file main.py.

◆ node_names_to_watch

supervisor.main.Supervisor.node_names_to_watch

Definition at line 23 of file main.py.

◆ node_start_cmds

supervisor.main.Supervisor.node_start_cmds

Definition at line 24 of file main.py.

◆ nodes_being_initialized

supervisor.main.Supervisor.nodes_being_initialized

Definition at line 28 of file main.py.

◆ record_rosbag_command

supervisor.main.Supervisor.record_rosbag_command

Definition at line 45 of file main.py.

◆ rosbag_process

supervisor.main.Supervisor.rosbag_process

Definition at line 40 of file main.py.

◆ subscription

supervisor.main.Supervisor.subscription

Definition at line 53 of file main.py.

◆ temp_bag_dir

supervisor.main.Supervisor.temp_bag_dir

Definition at line 169 of file main.py.

◆ timer_period_milliseconds

supervisor.main.Supervisor.timer_period_milliseconds

Definition at line 34 of file main.py.


The documentation for this class was generated from the following file: