rclpy.lifecycle.managed_entity module
- class rclpy.lifecycle.managed_entity.ManagedEntity
Bases:
object
- on_activate(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle activate transition request.
- on_cleanup(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle cleanup transition request.
- on_configure(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle configure transition request.
- on_deactivate(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle deactivate transition request.
- on_error(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle error transition request.
- on_shutdown(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle shutdown transition request.
- class rclpy.lifecycle.managed_entity.SimpleManagedEntity
Bases:
ManagedEntity
A simple managed entity that only sets a flag when activated/deactivated.
- property is_activated
- on_activate(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle activate transition request.
- on_deactivate(state) rpyutils.import_c_library.TransitionCallbackReturnType
Handle deactivate transition request.
- static when_enabled(wrapped=None, *, when_not_enabled=None)