Skip to content

Commit 37aa699

Browse files
committed
clean up
1 parent 284dbec commit 37aa699

15 files changed

+1351
-162
lines changed

launch/airsim.rviz

Lines changed: 313 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,313 @@
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+
- /PointCloud21
10+
- /TF1
11+
- /TF1/Frames1
12+
- /Odometry1/Shape1
13+
Splitter Ratio: 0.5
14+
Tree Height: 728
15+
- Class: rviz/Selection
16+
Name: Selection
17+
- Class: rviz/Tool Properties
18+
Expanded:
19+
- /2D Pose Estimate1
20+
- /2D Nav Goal1
21+
- /Publish Point1
22+
Name: Tool Properties
23+
Splitter Ratio: 0.5886790156364441
24+
- Class: rviz/Views
25+
Expanded:
26+
- /Current View1
27+
Name: Views
28+
Splitter Ratio: 0.5
29+
- Class: rviz/Time
30+
Experimental: false
31+
Name: Time
32+
SyncMode: 0
33+
SyncSource: PointCloud2
34+
Preferences:
35+
PromptSaveOnExit: true
36+
Toolbars:
37+
toolButtonStyle: 2
38+
Visualization Manager:
39+
Class: ""
40+
Displays:
41+
- Alpha: 0.5
42+
Cell Size: 1
43+
Class: rviz/Grid
44+
Color: 160; 160; 164
45+
Enabled: true
46+
Line Style:
47+
Line Width: 0.029999999329447746
48+
Value: Lines
49+
Name: Grid
50+
Normal Cell Count: 0
51+
Offset:
52+
X: 0
53+
Y: 0
54+
Z: 0
55+
Plane: XY
56+
Plane Cell Count: 10
57+
Reference Frame: <Fixed Frame>
58+
Value: true
59+
- Alpha: 1
60+
Autocompute Intensity Bounds: true
61+
Autocompute Value Bounds:
62+
Max Value: 6.736572265625
63+
Min Value: 0.8156452775001526
64+
Value: true
65+
Axis: Z
66+
Channel Name: intensity
67+
Class: rviz/PointCloud2
68+
Color: 238; 238; 236
69+
Color Transformer: FlatColor
70+
Decay Time: 0
71+
Enabled: true
72+
Invert Rainbow: false
73+
Max Color: 255; 255; 255
74+
Max Intensity: -999999
75+
Min Color: 0; 0; 0
76+
Min Intensity: 999999
77+
Name: PointCloud2
78+
Position Transformer: XYZ
79+
Queue Size: 10
80+
Selectable: true
81+
Size (Pixels): 3
82+
Size (m): 0.05000000074505806
83+
Style: Flat Squares
84+
Topic: /airsim_node/drone_1/lidar/Lidar2
85+
Unreliable: false
86+
Use Fixed Frame: true
87+
Use rainbow: true
88+
Value: true
89+
- Class: rviz/TF
90+
Enabled: true
91+
Frame Timeout: 15
92+
Frames:
93+
All Enabled: false
94+
drone_1:
95+
Value: true
96+
map:
97+
Value: true
98+
odom:
99+
Value: false
100+
Marker Scale: 4
101+
Name: TF
102+
Show Arrows: true
103+
Show Axes: true
104+
Show Names: true
105+
Tree:
106+
map:
107+
odom:
108+
drone_1:
109+
{}
110+
Update Interval: 0
111+
Value: true
112+
- Alpha: 1
113+
Autocompute Intensity Bounds: true
114+
Autocompute Value Bounds:
115+
Max Value: 10.524999618530273
116+
Min Value: 0.02500000037252903
117+
Value: true
118+
Axis: Z
119+
Channel Name: intensity
120+
Class: rviz/PointCloud2
121+
Color: 255; 255; 255
122+
Color Transformer: AxisColor
123+
Decay Time: 0
124+
Enabled: true
125+
Invert Rainbow: false
126+
Max Color: 255; 255; 255
127+
Max Intensity: 4096
128+
Min Color: 0; 0; 0
129+
Min Intensity: 0
130+
Name: PointCloud2
131+
Position Transformer: XYZ
132+
Queue Size: 10
133+
Selectable: true
134+
Size (Pixels): 3
135+
Size (m): 0.029999999329447746
136+
Style: Flat Squares
137+
Topic: /dll_node/map_point_cloud
138+
Unreliable: false
139+
Use Fixed Frame: true
140+
Use rainbow: true
141+
Value: true
142+
- Alpha: 1
143+
Arrow Length: 0.30000001192092896
144+
Axes Length: 0.30000001192092896
145+
Axes Radius: 0.009999999776482582
146+
Class: rviz/PoseArray
147+
Color: 255; 25; 0
148+
Enabled: true
149+
Head Length: 0.07000000029802322
150+
Head Radius: 0.029999999329447746
151+
Name: PoseArray
152+
Shaft Length: 0.23000000417232513
153+
Shaft Radius: 0.009999999776482582
154+
Shape: Arrow (Flat)
155+
Topic: /mcl3d_node/particle_cloud
156+
Unreliable: false
157+
Value: true
158+
- Alpha: 1
159+
Class: rviz/PointStamped
160+
Color: 204; 41; 204
161+
Enabled: true
162+
History Length: 1
163+
Name: PointStamped
164+
Radius: 0.20000000298023224
165+
Topic: /mcl3d_node/gps_point
166+
Unreliable: false
167+
Value: true
168+
- Alpha: 1
169+
Arrow Length: 0.30000001192092896
170+
Axes Length: 0.30000001192092896
171+
Axes Radius: 0.009999999776482582
172+
Class: rviz/PoseArray
173+
Color: 255; 25; 0
174+
Enabled: true
175+
Head Length: 0.07000000029802322
176+
Head Radius: 0.029999999329447746
177+
Name: PoseArray
178+
Shaft Length: 0.23000000417232513
179+
Shaft Radius: 0.009999999776482582
180+
Shape: Arrow (Flat)
181+
Topic: /amcl3d_node/particle_cloud
182+
Unreliable: false
183+
Value: true
184+
- Alpha: 1
185+
Autocompute Intensity Bounds: true
186+
Autocompute Value Bounds:
187+
Max Value: 4.724999904632568
188+
Min Value: -1.1749999523162842
189+
Value: true
190+
Axis: Z
191+
Channel Name: intensity
192+
Class: rviz/PointCloud2
193+
Color: 255; 255; 255
194+
Color Transformer: AxisColor
195+
Decay Time: 0
196+
Enabled: true
197+
Invert Rainbow: false
198+
Max Color: 255; 255; 255
199+
Max Intensity: 4096
200+
Min Color: 0; 0; 0
201+
Min Intensity: 0
202+
Name: PointCloud2
203+
Position Transformer: XYZ
204+
Queue Size: 10
205+
Selectable: true
206+
Size (Pixels): 3
207+
Size (m): 0.009999999776482582
208+
Style: Flat Squares
209+
Topic: /amcl3d_node/map_point_cloud
210+
Unreliable: false
211+
Use Fixed Frame: true
212+
Use rainbow: true
213+
Value: true
214+
- Angle Tolerance: 0.10000000149011612
215+
Class: rviz/Odometry
216+
Covariance:
217+
Orientation:
218+
Alpha: 0.5
219+
Color: 255; 255; 127
220+
Color Style: Unique
221+
Frame: Local
222+
Offset: 1
223+
Scale: 1
224+
Value: true
225+
Position:
226+
Alpha: 0.30000001192092896
227+
Color: 204; 51; 204
228+
Scale: 1
229+
Value: true
230+
Value: true
231+
Enabled: true
232+
Keep: 5000
233+
Name: Odometry
234+
Position Tolerance: 0.10000000149011612
235+
Shape:
236+
Alpha: 1
237+
Axes Length: 1
238+
Axes Radius: 0.10000000149011612
239+
Color: 255; 25; 0
240+
Head Length: 0.30000001192092896
241+
Head Radius: 0.10000000149011612
242+
Shaft Length: 1
243+
Shaft Radius: 0.05000000074505806
244+
Value: Arrow
245+
Topic: /publish_point_clouds/ground_truth
246+
Unreliable: false
247+
Value: true
248+
Enabled: true
249+
Global Options:
250+
Background Color: 48; 48; 48
251+
Default Light: true
252+
Fixed Frame: map
253+
Frame Rate: 30
254+
Name: root
255+
Tools:
256+
- Class: rviz/Interact
257+
Hide Inactive Objects: true
258+
- Class: rviz/MoveCamera
259+
- Class: rviz/Select
260+
- Class: rviz/FocusCamera
261+
- Class: rviz/Measure
262+
- Class: rviz/SetInitialPose
263+
Theta std deviation: 0.2617993950843811
264+
Topic: /initialpose
265+
X std deviation: 0.5
266+
Y std deviation: 0.5
267+
- Class: rviz/SetGoal
268+
Topic: /move_base_simple/goal
269+
- Class: rviz/PublishPoint
270+
Single click: true
271+
Topic: /clicked_point
272+
Value: true
273+
Views:
274+
Current:
275+
Class: rviz/XYOrbit
276+
Distance: 49.49864196777344
277+
Enable Stereo Rendering:
278+
Stereo Eye Separation: 0.05999999865889549
279+
Stereo Focal Distance: 1
280+
Swap Stereo Eyes: false
281+
Value: false
282+
Focal Point:
283+
X: 13.840182304382324
284+
Y: 25.400665283203125
285+
Z: 1.33514404296875e-5
286+
Focal Shape Fixed Size: true
287+
Focal Shape Size: 0.05000000074505806
288+
Invert Z Axis: false
289+
Name: Current View
290+
Near Clip Distance: 0.009999999776482582
291+
Pitch: -1.5247963666915894
292+
Target Frame: <Fixed Frame>
293+
Value: XYOrbit (rviz)
294+
Yaw: 6.255383491516113
295+
Saved: ~
296+
Window Geometry:
297+
Displays:
298+
collapsed: false
299+
Height: 1025
300+
Hide Left Dock: false
301+
Hide Right Dock: false
302+
QMainWindow State: 000000ff00000000fd00000004000000000000015600000363fc0200000009fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003d00000363000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d00610067006501000002d8000000c80000000000000000000000010000010f00000363fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003d00000363000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e100000197000000030000073d0000003efc0100000002fb0000000800540069006d006501000000000000073d000002eb00fffffffb0000000800540069006d00650100000000000004500000000000000000000004cc0000036300000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
303+
Selection:
304+
collapsed: false
305+
Time:
306+
collapsed: false
307+
Tool Properties:
308+
collapsed: false
309+
Views:
310+
collapsed: false
311+
Width: 1853
312+
X: 67
313+
Y: 27

launch/airsim1.launch

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!--
2+
-->
3+
<launch>
4+
5+
# Use simulation time for TFs
6+
<param name="use_sim_time" value="true" />
7+
8+
# Bag file
9+
<node name="bag_player" type="play" pkg="rosbag" args="airsim1.bag -s 0 -r 1.0 --clock " />
10+
11+
# Fake odometry. You better use a good odometry estrimator as LOAM
12+
<node pkg="tf" type="static_transform_publisher" name="odom_tf" args="0 0 0 0 0 0 odom drone_1 10" />
13+
14+
# airsim map conf
15+
<arg name="base_frame_id" default="drone_1"/>
16+
<arg name="odom_frame_id" default="odom"/>
17+
<arg name="global_frame_id" default="map"/>
18+
<arg name="initial_x" default="12.2"/>
19+
<arg name="initial_y" default="11.2"/>
20+
<arg name="initial_z" default="6.9"/>
21+
<arg name="initial_a" default="1.5"/>
22+
<arg name="map" default="airsim.bt" />
23+
<arg name="map_path" default="$(find dll)/maps/$(arg map)"/>
24+
25+
# Launch DLL
26+
<node name="dll_node" type="dll_node" pkg="dll" output="screen">
27+
<remap from="/dll_node/initial_pose" to="/initialpose"/>
28+
<remap from="/imu" to="/airsim_node/drone_1/imu/Imu"/>
29+
<param name="in_cloud" value="/airsim_node/drone_1/lidar/Lidar2" />
30+
<param name="base_frame_id" value="$(arg base_frame_id)" />
31+
<param name="odom_frame_id" value="$(arg odom_frame_id)" />
32+
<param name="global_frame_id" value="$(arg global_frame_id)" />
33+
34+
<param name="rate" value="10.0" />
35+
<param name="map_path" value="$(arg map_path)" />
36+
<param name="sensor_dev" value="0.05" />
37+
<param name="publish_point_cloud" value="true" />
38+
<param name="update_min_d" value="0.01" />
39+
<param name="update_min_a" value="0.01" />
40+
<param name="update_min_time" value="0.1" />
41+
<param name="initial_x" value="$(arg initial_x)"/>
42+
<param name="initial_y" value="$(arg initial_y)"/>
43+
<param name="initial_z" value="$(arg initial_z)"/>
44+
<param name="initial_a" value="$(arg initial_a)"/>
45+
<param name="use_imu" value="true" />
46+
<param name="align_method" value="1" /> # 1: DLL, 2: NDT, 3: ICP
47+
48+
</node>
49+
50+
<node name="rviz" type="rviz" pkg="rviz" args="-d $(find dll)/launch/airsim.rviz" output="screen"/>
51+
52+
</launch>

0 commit comments

Comments
 (0)