RecoverThrustersLC
- class suave.recover_thrusters_lc.RecoverThrustersLC(node_name, **kwargs)
- __init__(node_name, **kwargs)
Create a lifecycle node.
See rclpy.lifecycle.LifecycleNodeMixin.__init__() and rclpy.node.Node() for the documentation of each parameter.
- call_service(srv_type, srv_name, request)
- on_activate(state: LifecycleState) TransitionCallbackReturnType
Handle an activating transition.
This is the default on_activate() callback. It will call all on_activate() callbacks of managed entities, giving up at the first entity that returns TransitionCallbackReturn.FAILURE or TransitionCallbackReturn.ERROR.
It’s possible to override this callback if the default behavior is not desired. If you only want to extend what this callback does, make sure to call super().on_activate() in derived classes.
- on_cleanup(state: LifecycleState) TransitionCallbackReturnType
Handle a cleaning up transition.
This is the default on_cleanup() callback. It will call all on_cleanup() callbacks of managed entities, giving up at the first entity that returns TransitionCallbackReturn.FAILURE or TransitionCallbackReturn.ERROR.
It’s possible to override this callback if the default behavior is not desired. If you only want to extend what this callback does, make sure to call super().on_cleanup() in derived classes.
- on_configure(state: LifecycleState) TransitionCallbackReturnType
Handle a configuring transition.
This is the default on_configure() callback. It will call all on_configure() callbacks of managed entities, giving up at the first entity that returns TransitionCallbackReturn.FAILURE or TransitionCallbackReturn.ERROR.
It’s possible to override this callback if the default behavior is not desired. If you only want to extend what this callback does, make sure to call super().on_configure() in derived classes.
- on_deactivate(state: LifecycleState) TransitionCallbackReturnType
Handle a deactivating transition.
This is the default on_deactivate() callback. It will call all on_deactivate() callbacks of managed entities, giving up at the first entity that returns TransitionCallbackReturn.FAILURE or TransitionCallbackReturn.ERROR.
It’s possible to override this callback if the default behavior is not desired. If you only want to extend what this callback does, make sure to call super().on_deactivate() in derived classes.
- on_shutdown(state: LifecycleState) TransitionCallbackReturnType
Handle a shutting down transition.
This is the default on_shutdown() callback. It will call all on_shutdown() callbacks of managed entities, giving up at the first entity that returns TransitionCallbackReturn.FAILURE or TransitionCallbackReturn.ERROR.
It’s possible to override this callback if the default behavior is not desired. If you only want to extend what this callback does, make sure to call super().on_shutdown() in derived classes.
- recover_thrusters()
Methods
__init__
(node_name, **kwargs)Create a lifecycle node.
call_service
(srv_type, srv_name, request)on_activate
(state)Handle an activating transition.
on_cleanup
(state)Handle a cleaning up transition.
on_configure
(state)Handle a configuring transition.
on_deactivate
(state)Handle a deactivating transition.
on_shutdown
(state)Handle a shutting down transition.
Attributes