-
Notifications
You must be signed in to change notification settings - Fork 9
/
transformer.orogen
31 lines (26 loc) · 1.12 KB
/
transformer.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
name "transformer"
using_library "transformer"
import_types_from "base"
import_types_from "BroadcastTypes.hpp"
import_types_from "transformer/TransformationStatus.hpp"
typekit do
# This one is actually for the transformer plugin, but we want to avoid
# adding a new package just for that
export_types '/std/vector</base/samples/RigidBodyState>'
export_types '/transformer/TransformerStatus'
end
# Task that allows to broadcast transformer information, mostly used for GUI
task_context "Task" do
# Sets the configuration that should be broadcasted
operation('setConfiguration').
arg("configuration", "transformer/ConfigurationState")
property "configuration", "transformer/ConfigurationState"
# Outputs a snapshot of all the port-to-frame associations declared at a
# certain point in time. The port is declared so that
#
# port_frame_associations.connect_to(input_port, :init => true)
#
# will send the last known state to the input port
output_port "configuration_state", "transformer/ConfigurationState"
end
simple_deployment 'transformer_broadcaster', 'transformer::Task'