Skip to content

Commit 90ae21d

Browse files
committed
Fix rviz configuration.
1 parent 468eac6 commit 90ae21d

File tree

2 files changed

+199
-1
lines changed

2 files changed

+199
-1
lines changed
Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
Panels:
2+
- Class: rviz_common/Displays
3+
Help Height: 78
4+
Name: Displays
5+
Property Tree Widget:
6+
Expanded:
7+
- /RobotModel1/Description Topic1
8+
Splitter Ratio: 0.5
9+
Tree Height: 623
10+
- Class: rviz_common/Selection
11+
Name: Selection
12+
- Class: rviz_common/Tool Properties
13+
Expanded:
14+
- /2D Goal Pose1
15+
- /Publish Point1
16+
Name: Tool Properties
17+
Splitter Ratio: 0.5886790156364441
18+
- Class: rviz_common/Views
19+
Expanded:
20+
- /Current View1
21+
Name: Views
22+
Splitter Ratio: 0.5
23+
Visualization Manager:
24+
Class: ""
25+
Displays:
26+
- Alpha: 0.5
27+
Cell Size: 1
28+
Class: rviz_default_plugins/Grid
29+
Color: 160; 160; 164
30+
Enabled: true
31+
Line Style:
32+
Line Width: 0.029999999329447746
33+
Value: Lines
34+
Name: Grid
35+
Normal Cell Count: 0
36+
Offset:
37+
X: 0
38+
Y: 0
39+
Z: 0
40+
Plane: XY
41+
Plane Cell Count: 10
42+
Reference Frame: <Fixed Frame>
43+
Value: true
44+
- Alpha: 1
45+
Class: rviz_default_plugins/RobotModel
46+
Collision Enabled: false
47+
Description File: ""
48+
Description Source: Topic
49+
Description Topic:
50+
Depth: 5
51+
Durability Policy: Volatile
52+
History Policy: Keep Last
53+
Reliability Policy: Reliable
54+
Value: /robot_description
55+
Enabled: true
56+
Links:
57+
All Links Enabled: true
58+
Expand Joint Details: false
59+
Expand Link Details: false
60+
Expand Tree: false
61+
Link Tree Style: Links in Alphabetic Order
62+
base:
63+
Alpha: 1
64+
Show Axes: false
65+
Show Trail: false
66+
base_link:
67+
Alpha: 1
68+
Show Axes: false
69+
Show Trail: false
70+
Value: true
71+
ee_link:
72+
Alpha: 1
73+
Show Axes: false
74+
Show Trail: false
75+
Value: true
76+
forearm_link:
77+
Alpha: 1
78+
Show Axes: false
79+
Show Trail: false
80+
Value: true
81+
shoulder_link:
82+
Alpha: 1
83+
Show Axes: false
84+
Show Trail: false
85+
Value: true
86+
tool0:
87+
Alpha: 1
88+
Show Axes: false
89+
Show Trail: false
90+
upper_arm_link:
91+
Alpha: 1
92+
Show Axes: false
93+
Show Trail: false
94+
Value: true
95+
world:
96+
Alpha: 1
97+
Show Axes: false
98+
Show Trail: false
99+
wrist_1_link:
100+
Alpha: 1
101+
Show Axes: false
102+
Show Trail: false
103+
Value: true
104+
wrist_2_link:
105+
Alpha: 1
106+
Show Axes: false
107+
Show Trail: false
108+
Value: true
109+
wrist_3_link:
110+
Alpha: 1
111+
Show Axes: false
112+
Show Trail: false
113+
Value: true
114+
Name: RobotModel
115+
TF Prefix: ""
116+
Update Interval: 0
117+
Value: true
118+
Visual Enabled: true
119+
Enabled: true
120+
Global Options:
121+
Background Color: 48; 48; 48
122+
Fixed Frame: base_link
123+
Frame Rate: 30
124+
Name: root
125+
Tools:
126+
- Class: rviz_default_plugins/Interact
127+
Hide Inactive Objects: true
128+
- Class: rviz_default_plugins/MoveCamera
129+
- Class: rviz_default_plugins/Select
130+
- Class: rviz_default_plugins/FocusCamera
131+
- Class: rviz_default_plugins/Measure
132+
Line color: 128; 128; 0
133+
- Class: rviz_default_plugins/SetInitialPose
134+
Topic:
135+
Depth: 5
136+
Durability Policy: Volatile
137+
History Policy: Keep Last
138+
Reliability Policy: Reliable
139+
Value: /initialpose
140+
- Class: rviz_default_plugins/SetGoal
141+
Topic:
142+
Depth: 5
143+
Durability Policy: Volatile
144+
History Policy: Keep Last
145+
Reliability Policy: Reliable
146+
Value: /goal_pose
147+
- Class: rviz_default_plugins/PublishPoint
148+
Single click: true
149+
Topic:
150+
Depth: 5
151+
Durability Policy: Volatile
152+
History Policy: Keep Last
153+
Reliability Policy: Reliable
154+
Value: /clicked_point
155+
Transformation:
156+
Current:
157+
Class: rviz_default_plugins/TF
158+
Value: true
159+
Views:
160+
Current:
161+
Class: rviz_default_plugins/Orbit
162+
Distance: 10
163+
Enable Stereo Rendering:
164+
Stereo Eye Separation: 0.05999999865889549
165+
Stereo Focal Distance: 1
166+
Swap Stereo Eyes: false
167+
Value: false
168+
Focal Point:
169+
X: 0
170+
Y: 0
171+
Z: 0
172+
Focal Shape Fixed Size: true
173+
Focal Shape Size: 0.05000000074505806
174+
Invert Z Axis: false
175+
Name: Current View
176+
Near Clip Distance: 0.009999999776482582
177+
Pitch: 0.15039828419685364
178+
Target Frame: <Fixed Frame>
179+
Value: Orbit (rviz)
180+
Yaw: 0.5353983640670776
181+
Saved: ~
182+
Window Geometry:
183+
Displays:
184+
collapsed: false
185+
Height: 846
186+
Hide Left Dock: false
187+
Hide Right Dock: false
188+
QMainWindow State: 000000ff00000000fd000000040000000000000156000002f8fc0200000008fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000005c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003b000002f8000000c700fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261000000010000010f000002f8fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003b000002f8000000a000fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004420000003efc0100000002fb0000000800540069006d00650100000000000004420000000000000000fb0000000800540069006d006501000000000000045000000000000000000000023f000002f800000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
189+
Selection:
190+
collapsed: false
191+
Tool Properties:
192+
collapsed: false
193+
Views:
194+
collapsed: false
195+
Width: 1200
196+
X: 446
197+
Y: 473

ur_description/launch/view_ur.launch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def generate_launch_description():
4949
'visual_params': visual_params,
5050
'safety_limits': str(safety_limits).lower(),
5151
'safety_pos_margin': str(safety_pos_margin),
52-
'safety_k_position': str(safety_k_position)}
52+
'safety_k_position': str(safety_k_position),
53+
'name': robot_name.replace('_', '')}
5354
)
5455

5556
robot_description = {'robot_description': robot_description_config.toxml()}

0 commit comments

Comments
 (0)