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

Categories
io
Prototypes
script_service_caller, script, object, dictionary, base, descriptive

Parameters

Required parameters:

service_name : string
Name of the service to be called
value : bool
Boolean value to set.

Basic parameters:

namespace : string
Namespace of the service to be called
on_start : bool
If true, the script is executed when the parent skill starts
Default: True
blocking : bool
Decides 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: True
wait_for_service : bool
Wait until service becomes available
Default: True
retries : int
Number of retries in case of a failure.
Default: False

Examples

script_call_setbool_srvs is used in the following examples: