This website works better with JavaScript.
Home
Explore
Help
Sign In
cccccccc
/
stretch_ros
mirror of
https://github.com/hello-robot/stretch_ros.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
moved update_meshes
pull/4/head
Aaron Edsinger
4 years ago
parent
c2c1e595d1
commit
959025963e
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
stretch_description/meshes/update_meshes.py
+ 8
- 0
stretch_description/meshes/update_meshes.py
View File
@ -0,0 +1,8 @@
#!/usr/bin/env python
import
os
import
stretch_body.hello_utils
as
hu
batch_name
=
hu
.
read_fleet_yaml
(
'
stretch_re1_factory_params.yaml
'
)
[
'
robot
'
]
[
'
batch_name
'
]
.
lower
(
)
cmd
=
'
cp ~/catkin_ws/src/stretch_ros/stretch_description/meshes/
'
+
batch_name
+
'
/*.STL ~/catkin_ws/src/stretch_ros/stretch_description/meshes
'
print
(
"
Copying in mesh files from batch:
"
+
batch_name
)
print
(
cmd
)
os
.
system
(
cmd
)
Write
Preview
Loading…
Cancel
Save