Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
adapter.py
Go to the documentation of this file.
1
from
sensor_msgs.msg
import
PointCloud2
2
import
message_filters
3
import
datetime
4
import
rclpy
5
6
7
class
Adapter
:
8
"""!
9
Class for subscribing to a point cloud topic and synchronizing messages with a ROS2 node.
10
"""
11
12
def
__init__
(self, node: rclpy.node.Node):
13
"""!
14
Initializes the Adapter.
15
16
Args:
17
node (Node): ROS2 node instance.
18
point_cloud_topic (str): Topic for point cloud data.
19
"""
20
self.node: rclpy.node.Node = node
evaluator.adapter.Adapter
Class for subscribing to a point cloud topic and synchronizing messages with a ROS2 node.
Definition
adapter.py:7
evaluator.adapter.Adapter.__init__
__init__(self, rclpy.node.Node node)
Initializes the Adapter.
Definition
adapter.py:12
src
evaluator
evaluator
adapter.py
Generated by
1.9.8