rclpy.guard_condition module
- class rclpy.guard_condition.GuardCondition(callback: Callable | None, callback_group: CallbackGroup | None, context: Context | None = None)
Bases:
object
Create a GuardCondition.
Warning
Users should not create a guard condition with this constructor, instead they should call
Node.create_guard_condition()
.- destroy() None
Destroy a container for a ROS guard condition.
Warning
Users should not destroy a guard condition with this method, instead they should call
Node.destroy_guard_condition()
.
- property handle: rpyutils.import_c_library.GuardCondition
- trigger() None