Browse Source

moved update_meshes

pull/4/head
Aaron Edsinger 4 years ago
parent
commit
959025963e
1 changed files with 8 additions and 0 deletions
  1. +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)

Loading…
Cancel
Save