Skip to content

Commit 6de2714

Browse files
committed
fix(soro_lidar): show rviz correctly
got the path wrong before. whoops
1 parent 0f5abbb commit 6de2714

2 files changed

Lines changed: 29 additions & 43 deletions

File tree

src/soro_lidar/launch/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def generate_launch_description():
4444
name="rviz2",
4545
arguments=[
4646
"-d",
47-
PathJoinSubstitution([FindPackageShare("soro_lidar"), "rviz", "view.rviz"]),
47+
PathJoinSubstitution([FindPackageShare("soro_lidar"), "view.rviz"]),
4848
],
4949
output="log",
5050
condition=IfCondition(launch_rviz),

src/soro_lidar/rviz/view.rviz

Lines changed: 28 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ Panels:
77
- /Global Options1
88
- /Status1
99
- /PointCloud21
10-
- /TF1
11-
- /TF1/Frames1
1210
Splitter Ratio: 0.5
13-
Tree Height: 607
11+
Tree Height: 845
1412
- Class: rviz_common/Selection
1513
Name: Selection
1614
- Class: rviz_common/Tool Properties
@@ -24,6 +22,11 @@ Panels:
2422
- /Current View1
2523
Name: Views
2624
Splitter Ratio: 0.5
25+
- Class: rviz_common/Time
26+
Experimental: false
27+
Name: Time
28+
SyncMode: 0
29+
SyncSource: PointCloud2
2730
Visualization Manager:
2831
Class: ""
2932
Displays:
@@ -48,59 +51,37 @@ Visualization Manager:
4851
- Alpha: 1
4952
Autocompute Intensity Bounds: true
5053
Autocompute Value Bounds:
51-
Max Value: 3.4900152683258057
52-
Min Value: 0
54+
Max Value: 10
55+
Min Value: -10
5356
Value: true
5457
Axis: Z
5558
Channel Name: intensity
5659
Class: rviz_default_plugins/PointCloud2
5760
Color: 255; 255; 255
58-
Color Transformer: AxisColor
59-
Decay Time: 1
61+
Color Transformer: Intensity
62+
Decay Time: 5
6063
Enabled: true
6164
Invert Rainbow: false
6265
Max Color: 255; 255; 255
63-
Max Intensity: 85
66+
Max Intensity: 255
6467
Min Color: 0; 0; 0
6568
Min Intensity: 0
6669
Name: PointCloud2
6770
Position Transformer: XYZ
6871
Selectable: true
6972
Size (Pixels): 3
70-
Size (m): 0.009999999776482582
71-
Style: Points
73+
Size (m): 0.10000000149011612
74+
Style: Flat Squares
7275
Topic:
7376
Depth: 5
7477
Durability Policy: Volatile
78+
Filter size: 10
7579
History Policy: Keep Last
7680
Reliability Policy: Reliable
7781
Value: /unilidar/cloud
7882
Use Fixed Frame: true
7983
Use rainbow: true
8084
Value: true
81-
- Class: rviz_default_plugins/TF
82-
Enabled: true
83-
Frame Timeout: 15
84-
Frames:
85-
All Enabled: true
86-
unilidar_imu:
87-
Value: true
88-
unilidar_imu_initial:
89-
Value: true
90-
unilidar_lidar:
91-
Value: true
92-
Marker Scale: 1
93-
Name: TF
94-
Show Arrows: true
95-
Show Axes: true
96-
Show Names: false
97-
Tree:
98-
unilidar_imu_initial:
99-
unilidar_imu:
100-
unilidar_lidar:
101-
{}
102-
Update Interval: 0
103-
Value: true
10485
Enabled: true
10586
Global Options:
10687
Background Color: 48; 48; 48
@@ -116,6 +97,9 @@ Visualization Manager:
11697
- Class: rviz_default_plugins/Measure
11798
Line color: 128; 128; 0
11899
- Class: rviz_default_plugins/SetInitialPose
100+
Covariance x: 0.25
101+
Covariance y: 0.25
102+
Covariance yaw: 0.06853891909122467
119103
Topic:
120104
Depth: 5
121105
Durability Policy: Volatile
@@ -144,7 +128,7 @@ Visualization Manager:
144128
Views:
145129
Current:
146130
Class: rviz_default_plugins/Orbit
147-
Distance: 14.384671211242676
131+
Distance: 9.122121810913086
148132
Enable Stereo Rendering:
149133
Stereo Eye Separation: 0.05999999865889549
150134
Stereo Focal Distance: 1
@@ -159,24 +143,26 @@ Visualization Manager:
159143
Invert Z Axis: false
160144
Name: Current View
161145
Near Clip Distance: 0.009999999776482582
162-
Pitch: 0.5603978037834167
146+
Pitch: 0.4853978455066681
163147
Target Frame: <Fixed Frame>
164148
Value: Orbit (rviz)
165-
Yaw: 0.785398006439209
149+
Yaw: 2.893608331680298
166150
Saved: ~
167151
Window Geometry:
168152
Displays:
169153
collapsed: false
170-
Height: 836
154+
Height: 1136
171155
Hide Left Dock: false
172-
Hide Right Dock: true
173-
QMainWindow State: 000000ff00000000fd000000040000000000000156000002eafc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003d000002ea000000c900fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f000002eafc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073000000003d000002ea000000a400fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004420000003efc0100000002fb0000000800540069006d00650100000000000004420000000000000000fb0000000800540069006d006501000000000000045000000000000000000000049c000002ea00000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
156+
Hide Right Dock: false
157+
QMainWindow State: 000000ff00000000fd000000040000000000000156000003d6fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003b000003d6000000c700fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f000003d6fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003b000003d6000000a000fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e100000197000000030000073a0000003efc0100000002fb0000000800540069006d006501000000000000073a0000025300fffffffb0000000800540069006d00650100000000000004500000000000000000000004c9000003d600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
174158
Selection:
175159
collapsed: false
160+
Time:
161+
collapsed: false
176162
Tool Properties:
177163
collapsed: false
178164
Views:
179-
collapsed: true
180-
Width: 1528
181-
X: 72
165+
collapsed: false
166+
Width: 1850
167+
X: 70
182168
Y: 27

0 commit comments

Comments
 (0)