From 959025963eac3c9bec2369c712b0a78c9ec607ba Mon Sep 17 00:00:00 2001 From: Aaron Edsinger Date: Mon, 3 Aug 2020 13:39:07 -0700 Subject: [PATCH] moved update_meshes --- stretch_description/meshes/update_meshes.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stretch_description/meshes/update_meshes.py diff --git a/stretch_description/meshes/update_meshes.py b/stretch_description/meshes/update_meshes.py new file mode 100755 index 0000000..6e4dc30 --- /dev/null +++ b/stretch_description/meshes/update_meshes.py @@ -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)