From 4a643678af7997cb92c96f0eee915f2e3f664e3d Mon Sep 17 00:00:00 2001 From: sugikazu75 Date: Wed, 20 Sep 2023 07:01:19 +0900 Subject: [PATCH] [mujoco] do not show blender script log to standard output --- aerial_robot_simulation/scripts/mujoco_model_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aerial_robot_simulation/scripts/mujoco_model_generator.py b/aerial_robot_simulation/scripts/mujoco_model_generator.py index accf50185..bcb1017c3 100755 --- a/aerial_robot_simulation/scripts/mujoco_model_generator.py +++ b/aerial_robot_simulation/scripts/mujoco_model_generator.py @@ -409,7 +409,7 @@ def process_xml(urdf_path, mujoco_path): def convert_dae2stl(meshdir): aerial_robot_simulation_path = rospack.get_path("aerial_robot_simulation") - cmd = "blender -b -P {} -- {}".format(os.path.join(aerial_robot_simulation_path, "scripts/convert.py"), meshdir) + cmd = "blender -b -P {} -- {} > /dev/null 2>&1".format(os.path.join(aerial_robot_simulation_path, "scripts/convert.py"), meshdir) run_subprocess(cmd)