betfsm_crospi.CrospiTask
Bases: Fallback
__init__(name, task_name, srv_name='/crospi_node', cb=default_parameter_setter, event_topic='crospi_node/events', timeout=Duration(seconds=1.0), node=None, eventqueue_size=10, max_age=0.1, event_check=True)
returns a subtree that starts an eTaSL task on a cROSpi node. The first two arguments are the most important, all the others have reasonable default settings. the event_check parameter is useful when you just want to startup the Crospi task and call CrospiDeactivate(...) yourself.
This tasks still starts by calling deactivate and cleanup on the crospy lifecycle. This takes care of Crospi being in the wrong state of its lifecycle due to a previous run of another application with an error.
| Parameters: |
|
|---|