moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
srdf_publisher_test.SrdfObserverNode Class Reference
Inheritance diagram for srdf_publisher_test.SrdfObserverNode:
Collaboration diagram for srdf_publisher_test.SrdfObserverNode:

Public Member Functions

 __init__ (self, name="srdf_observer_node")
 start_subscriber (self)
 subscriber_callback (self, msg)

Public Attributes

 msg_event_object = Event()
str srdf = ""
 subscription
 ros_spin_thread

Detailed Description

Definition at line 72 of file srdf_publisher_test.py.

Constructor & Destructor Documentation

◆ __init__()

srdf_publisher_test.SrdfObserverNode.__init__ ( self,
name = "srdf_observer_node" )

Definition at line 73 of file srdf_publisher_test.py.

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

Member Function Documentation

◆ start_subscriber()

srdf_publisher_test.SrdfObserverNode.start_subscriber ( self)

Definition at line 78 of file srdf_publisher_test.py.

◆ subscriber_callback()

srdf_publisher_test.SrdfObserverNode.subscriber_callback ( self,
msg )

Definition at line 97 of file srdf_publisher_test.py.

Member Data Documentation

◆ msg_event_object

srdf_publisher_test.SrdfObserverNode.msg_event_object = Event()

Definition at line 75 of file srdf_publisher_test.py.

◆ ros_spin_thread

srdf_publisher_test.SrdfObserverNode.ros_spin_thread
Initial value:
= Thread(
target=lambda node: rclpy.spin(node), args=(self,)
)

Definition at line 92 of file srdf_publisher_test.py.

◆ srdf

str srdf_publisher_test.SrdfObserverNode.srdf = ""

Definition at line 76 of file srdf_publisher_test.py.

◆ subscription

srdf_publisher_test.SrdfObserverNode.subscription
Initial value:
= self.create_subscription(
String,
"robot_description_semantic",
self.subscriber_callback,
qos_profile=QoSProfile(
reliability=QoSReliabilityPolicy.RELIABLE,
durability=QoSDurabilityPolicy.TRANSIENT_LOCAL,
depth=1,
),
)

Definition at line 80 of file srdf_publisher_test.py.


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