-
Notifications
You must be signed in to change notification settings - Fork 1
/
envire.orogen
42 lines (31 loc) · 1.29 KB
/
envire.orogen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name "envire"
using_library 'envire'
import_types_from 'base'
import_types_from "envire/core/EventTypes.hpp"
typekit do
roptr_bin_envent_t = ro_ptr('std/vector</envire/BinaryEvent>')
if type_export_policy == :used
# We assume that, if the caller wants a 'used' type policy, it means he
# wants partial exports. Move to 'selected'. oroGen would have changed
# it to 'all'
type_export_policy :selected
end
export_types roptr_bin_envent_t,
'std/vector</envire/BinaryEvent>',
'envire/BinaryEvent'
end
task_context "SynchronizationTransmitter" do
output_port('envire_events', ro_ptr('std/vector</envire/BinaryEvent>')).
doc('envire binary event').
keep_last_written_value(false)
operation('loadEnvironment').
argument('path', 'string')
end
task_context "SynchronizationReceiver" do
property('export_directory', '/std/string').
doc "if set to a non-empty value, an envire scene will be saved for each received binary event. %1 can be used to add a counter to the generated path"
input_port('envire_events', ro_ptr('std/vector</envire/BinaryEvent>')).
needs_reliable_connection.
doc('envire binary event')
port_driven
end