script_call_setbool_srvs
Calls a srvs with type ‘std_msgs/SetBool’.
Defined at line 138 of file scripts/io.xml in package pitasc_library.
Meta data
CategoriesioPrototypesscript_service_caller, script, object, dictionary, base, descriptive
Parameters
Required parameters:
service_name : stringName of the service to be calledvalue : boolBoolean value to set.
Basic parameters:
namespace : stringNamespace of the service to be calledon_start : boolIf true, the script is executed when the parent skill startsDefault: Trueblocking : boolDecides if the ros service call blocks the pitasc cycle until the service returned. If set to false, on_start must be set to true.Default: Truewait_for_service : boolWait until service becomes availableDefault: Trueretries : intNumber of retries in case of a failure.Default: False
Examples
script_call_setbool_srvs is used in the following examples: