script_call_trigger_srvs

Calls a srvs with type ‘std_msgs/Trigger’.

Defined at line 110 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

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
throw_if_failed : string
A string parameter
Default: False

Examples

script_call_trigger_srvs is used in the following examples: