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

Public Member Functions

 __init__ (self, rclpy.node.Node node)
 
 blue_cones_callback (self, MarkerArray blue_cones_msg)
 
 yellow_cones_callback (self, MarkerArray yellow_cones_msg)
 
 planning_callback (self, PathPointArray planning_output_msg)
 

Public Attributes

 blue_cones
 
 yellow_cones
 
 blue_cones_callback
 
 yellow_cones_callback
 
 planning_callback
 

Detailed Description

Adapater class to manage the use of OnGround topics.

Definition at line 16 of file onground_adapter.py.

Constructor & Destructor Documentation

◆ __init__()

evaluator.onground_adapter.OnGroundAdapter.__init__ (   self,
rclpy.node.Node  node 
)
Initializes the OnGroundAdapter class.
Args:
    node (rclpy.node.Node): The ROS2 node object.

Reimplemented from evaluator.adapter.Adapter.

Definition at line 19 of file onground_adapter.py.

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

Member Function Documentation

◆ blue_cones_callback()

evaluator.onground_adapter.OnGroundAdapter.blue_cones_callback (   self,
MarkerArray  blue_cones_msg 
)
Callback for blue cones.

Definition at line 52 of file onground_adapter.py.

◆ planning_callback()

evaluator.onground_adapter.OnGroundAdapter.planning_callback (   self,
PathPointArray  planning_output_msg 
)
Callback for planning output.

Definition at line 62 of file onground_adapter.py.

◆ yellow_cones_callback()

evaluator.onground_adapter.OnGroundAdapter.yellow_cones_callback (   self,
MarkerArray  yellow_cones_msg 
)
Callback for yellow cones.

Definition at line 57 of file onground_adapter.py.

Member Data Documentation

◆ blue_cones

evaluator.onground_adapter.OnGroundAdapter.blue_cones

Definition at line 28 of file onground_adapter.py.

◆ blue_cones_callback

evaluator.onground_adapter.OnGroundAdapter.blue_cones_callback

Definition at line 34 of file onground_adapter.py.

◆ planning_callback

evaluator.onground_adapter.OnGroundAdapter.planning_callback

Definition at line 48 of file onground_adapter.py.

◆ yellow_cones

evaluator.onground_adapter.OnGroundAdapter.yellow_cones

Definition at line 29 of file onground_adapter.py.

◆ yellow_cones_callback

evaluator.onground_adapter.OnGroundAdapter.yellow_cones_callback

Definition at line 41 of file onground_adapter.py.


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