Skip to content

Commit 7b5a803

Browse files
committed
add launch/config/hongo.rviz launch/start_campus_hongo.launch src/hongo-scene.l tools/publish_ raw_maps/hongo-1.00.pgm raw_maps/hongo-1.00.yaml
1 parent bc1130a commit 7b5a803

File tree

6 files changed

+466
-0
lines changed

6 files changed

+466
-0
lines changed

jsk_maps/launch/config/hongo.rviz

+296
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,296 @@
1+
Panels:
2+
- Class: rviz/Displays
3+
Help Height: 78
4+
Name: Displays
5+
Property Tree Widget:
6+
Expanded:
7+
- /Global Options1
8+
- /Status1
9+
- /Map1
10+
- /MarkerArray1/Namespaces1
11+
Splitter Ratio: 0.5029411911964417
12+
Tree Height: 549
13+
- Class: rviz/Selection
14+
Name: Selection
15+
- Class: rviz/Tool Properties
16+
Expanded:
17+
- /2D Pose Estimate1
18+
- /2D Nav Goal1
19+
- /Publish Point1
20+
Name: Tool Properties
21+
Splitter Ratio: 0.5886790156364441
22+
- Class: rviz/Views
23+
Expanded:
24+
- /Current View1
25+
Name: Views
26+
Splitter Ratio: 0.5
27+
- Class: rviz/Time
28+
Experimental: false
29+
Name: Time
30+
SyncMode: 0
31+
SyncSource: ""
32+
Preferences:
33+
PromptSaveOnExit: true
34+
Toolbars:
35+
toolButtonStyle: 2
36+
Visualization Manager:
37+
Class: ""
38+
Displays:
39+
- Alpha: 0.5
40+
Cell Size: 1
41+
Class: rviz/Grid
42+
Color: 160; 160; 164
43+
Enabled: true
44+
Line Style:
45+
Line Width: 0.029999999329447746
46+
Value: Lines
47+
Name: Grid
48+
Normal Cell Count: 0
49+
Offset:
50+
X: 0
51+
Y: 0
52+
Z: 0
53+
Plane: XY
54+
Plane Cell Count: 10
55+
Reference Frame: <Fixed Frame>
56+
Value: true
57+
- Alpha: 0.699999988079071
58+
Class: rviz/Map
59+
Color Scheme: map
60+
Draw Behind: false
61+
Enabled: true
62+
Name: Eng2/1F
63+
Topic: /eng2/1f
64+
Unreliable: false
65+
Use Timestamp: false
66+
Value: true
67+
- Alpha: 0.699999988079071
68+
Class: rviz/Map
69+
Color Scheme: map
70+
Draw Behind: false
71+
Enabled: true
72+
Name: Eng2/2F
73+
Topic: /eng2/2f
74+
Unreliable: false
75+
Use Timestamp: false
76+
Value: true
77+
- Alpha: 0.699999988079071
78+
Class: rviz/Map
79+
Color Scheme: map
80+
Draw Behind: false
81+
Enabled: true
82+
Name: Eng2/3F
83+
Topic: /eng2/3f
84+
Unreliable: false
85+
Use Timestamp: false
86+
Value: true
87+
- Alpha: 0.699999988079071
88+
Class: rviz/Map
89+
Color Scheme: map
90+
Draw Behind: false
91+
Enabled: true
92+
Name: Eng2/7F
93+
Topic: /eng2/7f
94+
Unreliable: false
95+
Use Timestamp: false
96+
Value: true
97+
- Alpha: 0.699999988079071
98+
Class: rviz/Map
99+
Color Scheme: map
100+
Draw Behind: false
101+
Enabled: true
102+
Name: Eng2/8F
103+
Topic: /eng2/8f
104+
Unreliable: false
105+
Use Timestamp: false
106+
Value: true
107+
- Alpha: 0.699999988079071
108+
Class: rviz/Map
109+
Color Scheme: map
110+
Draw Behind: false
111+
Enabled: true
112+
Name: Eng8/B1F
113+
Topic: /eng8/b1f
114+
Unreliable: false
115+
Use Timestamp: false
116+
Value: true
117+
- Alpha: 0.699999988079071
118+
Class: rviz/Map
119+
Color Scheme: map
120+
Draw Behind: false
121+
Enabled: true
122+
Name: Eng8/1F
123+
Topic: /eng8/1f
124+
Unreliable: false
125+
Use Timestamp: false
126+
Value: true
127+
- Alpha: 0.699999988079071
128+
Class: rviz/Map
129+
Color Scheme: map
130+
Draw Behind: false
131+
Enabled: true
132+
Name: Eng8/6F
133+
Topic: /eng8/6f
134+
Unreliable: false
135+
Use Timestamp: false
136+
Value: true
137+
- Alpha: 0.10000000149011612
138+
Class: rviz/Map
139+
Color Scheme: raw
140+
Draw Behind: false
141+
Enabled: true
142+
Name: Map
143+
Topic: /hongo
144+
Unreliable: false
145+
Use Timestamp: false
146+
Value: true
147+
- Class: jsk_rviz_plugin/PictogramArray
148+
Enabled: true
149+
Name: PictogramArray
150+
Topic: /spots_pictogram
151+
Unreliable: false
152+
Value: true
153+
- Class: rviz/MarkerArray
154+
Enabled: true
155+
Marker Topic: /spots_marker_array
156+
Name: MarkerArray
157+
Namespaces:
158+
pin_body: true
159+
pin_head: true
160+
pin_label: true
161+
Queue Size: 100
162+
Value: true
163+
- Class: rviz/TF
164+
Enabled: true
165+
Frame Timeout: 15
166+
Frames:
167+
All Enabled: true
168+
eng2:
169+
Value: true
170+
eng2/1f:
171+
Value: true
172+
eng2/2f:
173+
Value: true
174+
eng2/3f:
175+
Value: true
176+
eng2/7f:
177+
Value: true
178+
eng2/7f/73B2:
179+
Value: true
180+
eng2/8f:
181+
Value: true
182+
eng8:
183+
Value: true
184+
eng8/1f:
185+
Value: true
186+
eng8/6f:
187+
Value: true
188+
eng8/6f/610:
189+
Value: true
190+
eng8/b1f:
191+
Value: true
192+
hongo:
193+
Value: true
194+
map:
195+
Value: true
196+
world:
197+
Value: true
198+
Marker Scale: 10
199+
Name: TF
200+
Show Arrows: true
201+
Show Axes: true
202+
Show Names: true
203+
Tree:
204+
world:
205+
eng2:
206+
eng2/1f:
207+
{}
208+
eng2/2f:
209+
{}
210+
eng2/3f:
211+
{}
212+
eng2/7f:
213+
eng2/7f/73B2:
214+
{}
215+
map:
216+
{}
217+
eng2/8f:
218+
{}
219+
eng8:
220+
eng8/1f:
221+
{}
222+
eng8/6f:
223+
eng8/6f/610:
224+
{}
225+
eng8/b1f:
226+
{}
227+
hongo:
228+
{}
229+
Update Interval: 0
230+
Value: true
231+
Enabled: true
232+
Global Options:
233+
Background Color: 48; 48; 48
234+
Default Light: true
235+
Fixed Frame: map
236+
Frame Rate: 30
237+
Name: root
238+
Tools:
239+
- Class: rviz/Interact
240+
Hide Inactive Objects: true
241+
- Class: rviz/MoveCamera
242+
- Class: rviz/Select
243+
- Class: rviz/FocusCamera
244+
- Class: rviz/Measure
245+
- Class: rviz/SetInitialPose
246+
Theta std deviation: 0.2617993950843811
247+
Topic: /initialpose
248+
X std deviation: 0.5
249+
Y std deviation: 0.5
250+
- Class: rviz/SetGoal
251+
Topic: /move_base_simple/goal
252+
- Class: rviz/PublishPoint
253+
Single click: true
254+
Topic: /clicked_point
255+
Value: true
256+
Views:
257+
Current:
258+
Class: rviz/Orbit
259+
Distance: 359.2821044921875
260+
Enable Stereo Rendering:
261+
Stereo Eye Separation: 0.05999999865889549
262+
Stereo Focal Distance: 1
263+
Swap Stereo Eyes: false
264+
Value: false
265+
Focal Point:
266+
X: 29.98914337158203
267+
Y: -116.84634399414062
268+
Z: -40.61910629272461
269+
Focal Shape Fixed Size: false
270+
Focal Shape Size: 0.05000000074505806
271+
Invert Z Axis: false
272+
Name: Current View
273+
Near Clip Distance: 0.009999999776482582
274+
Pitch: 0.3403984308242798
275+
Target Frame: <Fixed Frame>
276+
Value: Orbit (rviz)
277+
Yaw: 5.188566207885742
278+
Saved: ~
279+
Window Geometry:
280+
Displays:
281+
collapsed: false
282+
Height: 846
283+
Hide Left Dock: false
284+
Hide Right Dock: false
285+
QMainWindow State: 000000ff00000000fd000000040000000000000156000002b0fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003d000002b0000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f000002b0fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003d000002b0000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004f30000003efc0100000002fb0000000800540069006d00650100000000000004f3000002eb00fffffffb0000000800540069006d0065010000000000000450000000000000000000000282000002b000000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
286+
Selection:
287+
collapsed: false
288+
Time:
289+
collapsed: false
290+
Tool Properties:
291+
collapsed: false
292+
Views:
293+
collapsed: false
294+
Width: 1267
295+
X: 67
296+
Y: 27
+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<launch>
2+
<arg name="MACHINE" default="localhost" />
3+
<arg name="keepout" default="false" />
4+
<arg name="launch_rviz" default="true" />
5+
<arg name="launch_map_server" default="true" />
6+
<arg name="use_machine" default="true" />
7+
<arg name="use_pictogram" default="true" />
8+
9+
<machine name="localhost" address="localhost" if="$(arg use_machine)" />
10+
11+
<node pkg="tf" type="static_transform_publisher" name="$(anon hongo_tf)"
12+
args="-300 -300 0 0 0 0 /world /hongo 100"/>
13+
<node name="$(anon map_server)" pkg="map_server" type="map_server"
14+
args="$(find jsk_maps)/raw_maps/hongo-1.00.yaml" >
15+
<remap from="map" to="/hongo"/>
16+
<param name="frame_id" value="/hongo"/>
17+
</node>
18+
19+
<node name="publish_spot_hongo" pkg="roseus" type="roseus"
20+
args="$(find jsk_maps)/tools/publish_campus.l"
21+
machine="$(arg MACHINE)"
22+
output="screen" />
23+
24+
<!-- <include file="$(find jsk_maps)/launch/start_map_eng2.launch" /> -->
25+
<node pkg="tf" type="static_transform_publisher" name="$(anon eng2_tfA)"
26+
args="-10 200 10 -1.39626 0 0 /world /eng2 100"/> <!-- see bld-eng2 location in (make-hongo-campus) -->
27+
28+
<include file="$(find jsk_maps)/launch/include/start_map_eng2_main.xml">
29+
<arg name="prefix" value="eng2_" />
30+
<arg name="keepout" value="$(arg keepout)"/>
31+
<arg name="launch_map_server" value="$(arg launch_map_server)"/>
32+
<arg name="launch_map_select" value="false"/>
33+
</include>
34+
35+
<node pkg="tf" type="static_transform_publisher" name="$(anon eng2_tfB)"
36+
args="0 6.9 0 0 0 0 /eng2/7f /eng2/7f/73B2 100"/>
37+
38+
<node name="publish_spot_eng2" pkg="roseus" type="roseus"
39+
args="$(find jsk_maps)/tools/publish_spot.l"
40+
machine="$(arg MACHINE)"
41+
output="screen" >
42+
<param name="~scene" value="eng2" />
43+
<param name="~use_pictogram" value="$(arg use_pictogram)" />
44+
</node>
45+
46+
<!-- <include file="$(find jsk_maps)/launch/start_map_eng8.launch" > -->
47+
<node pkg="tf" type="static_transform_publisher" name="$(anon eng8_tfA)"
48+
args="-140 220 10 1.74533 0 0 /world /eng8 100"/> <!-- see bld-eng8 location in (make-hongo-campus) -->
49+
50+
<include file="$(find jsk_maps)/launch/include/start_map_eng8_main.xml">
51+
<arg name="prefix" value="eng8_" />
52+
<arg name="keepout" value="$(arg keepout)"/>
53+
<arg name="launch_map_server" value="$(arg launch_map_server)"/>
54+
<arg name="launch_map_select" value="false"/>
55+
</include>
56+
57+
<node pkg="tf" type="static_transform_publisher" name="$(anon eng8_tfB)"
58+
args="0 -13.678 0 0 0 0 /eng8/6f /eng8/6f/610 100" />
59+
60+
<node name="publish_spot_eng8" pkg="roseus" type="roseus"
61+
args="$(find jsk_maps)/tools/publish_spot.l"
62+
machine="$(arg MACHINE)"
63+
output="screen" >
64+
<param name="~scene" value="eng8" />
65+
<param name="~use_pictogram" value="$(arg use_pictogram)" />
66+
</node>
67+
68+
<!-- for initialpose topic -->
69+
<node name="initialpose3d" pkg="jsk_maps" type="initialpose3d.py">
70+
<remap from="initialpose_in" to="initialpose3d" />
71+
<remap from="initialpose_out" to="initialpose" />
72+
</node>
73+
74+
<!-- mtf selector for navigation nodes -->
75+
<node name="tf_mux" pkg="topic_tools" type="mux"
76+
args="tf /eng2/7f_tf /eng2/1f_tf /eng2/2f_tf /eng2/3f_tf /eng2/8f_tf /eng8/6f_tf /eng8/b1f_tf /eng8/1f_tf">
77+
<remap from="mux" to="map_tf_mux" />
78+
</node>
79+
<!-- rviz -->
80+
<node name="rviz" pkg="rviz" type="rviz"
81+
args="-d $(find jsk_maps)/launch/config/hongo.rviz"
82+
if="$(arg launch_rviz)"/>
83+
</launch>

jsk_maps/raw_maps/hongo-1.00.pgm

352 KB
Binary file not shown.

jsk_maps/raw_maps/hongo-1.00.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
image: hongo-1.00.pgm
2+
resolution: 1.000
3+
origin: [0, 0, 0]
4+
negate: 0
5+
occupied_thresh: 0.65
6+
free_thresh: 0.192
7+
map_id: /hongo

0 commit comments

Comments
 (0)