-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathheterogeneous_adaptive_sampling.launch
64 lines (56 loc) · 2.5 KB
/
heterogeneous_adaptive_sampling.launch
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<launch>
<arg name="ground_truth_data" default="wifi_3_routers" />
<arg name="scenario" default="1" />
<node pkg="sampling_modeling" type="sampling_modeling_node.py" name="sampling_modeling_node" output="screen">
<rosparam>
num_gp: 3
modeling_gp_0_kernel: [0.5, 0.5, 0.5]
gating_gp_0_kernel: [0.75, 0.5, 0.05]
modeling_gp_1_kernel: [0.65, 0.65, 0.5]
gating_gp_1_kernel: [0.5, 0.5, 0.05]
modeling_gp_2_kernel: [0.35, 0.35, 0.5]
gating_gp_2_kernel: [1.25, 0.5, 0.05]
EM_epsilon: 0.05
EM_max_iteration: 100
online_kernel_optimization: True
</rosparam>
</node>
<remap from="measurement_channel" to="measurement_simulation"/>
<node pkg="sampling_agent" type="sampling_agent_node" name="hector0" output="screen" >
<rosparam>
agent_type: "HECTOR"
agent_id: "hector0"
max_speed_ms: 5.0
batterylife_ros_sec: 200
navigation_height_m: 3.0
takeoff_distance_m: 0.5
</rosparam>
</node>
<node pkg="sampling_agent" type="sampling_agent_node" name="jackal0" output="screen" >
<rosparam>
agent_type: "JACKAL"
agent_id: "jackal0"
max_speed_ms: 2.0
batterylife_ros_sec: 1000
</rosparam>
</node>
<node pkg="sampling_agent" type="sampling_agent_node" name="jackal1" output="screen" >
<rosparam>
agent_type: "JACKAL"
agent_id: "jackal1"
max_speed_ms: 1.0
batterylife_ros_sec: 1000
</rosparam>
</node>
<node pkg="sampling_measurement" type="measurement_simulation_server.py" name="measurement_simulation_node" output="screen">
<param name="measurement_trial" value="$(arg ground_truth_data)"/>
<param name="poly_order" value="5"/>
<param name="noise_stdev" value="0.5"/>
</node>
<node pkg="sampling_core" type="heterogeneous_adaptive_sampling_node" name="heterogeneous_adaptive_sampling" output="screen">
<rosparam command="load" file="$(find sampling_core)/config/scenario$(arg scenario)_hetero.yaml" />
<param name="test_location_file" value="$(arg ground_truth_data).txt"/>
<param name="groundtruth_measurement_file" value="artificial_$(arg ground_truth_data).txt"/>
</node>
<node type="rviz" name="rviz" pkg="rviz" args="-d $(find sampling_gazebo_simulation)/rviz/samlping_visualization.rviz" />
</launch>