From c7ebb556eb905a717d5d11871779c432e9495e62 Mon Sep 17 00:00:00 2001 From: kecks Date: Wed, 21 Aug 2024 08:35:38 +0200 Subject: [PATCH] [robots] renamed turtlebot3_waffle_pi to turtlebot --- launch/ik_and_description.launch | 4 ++-- .../robots/{turtlebot3_waffle_pi.urdf => turtlebot.urdf} | 0 ...waffle_pi_description.py => turtlebot_description.py} | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) rename resources/robots/{turtlebot3_waffle_pi.urdf => turtlebot.urdf} (100%) rename src/pycram/robot_descriptions/{turtlebot3_waffle_pi_description.py => turtlebot_description.py} (52%) diff --git a/launch/ik_and_description.launch b/launch/ik_and_description.launch index 41fe7035c..4484eaf86 100644 --- a/launch/ik_and_description.launch +++ b/launch/ik_and_description.launch @@ -45,9 +45,9 @@ - + + textfile="$(find pycram)/resources/robots/turtlebot.urdf"/> diff --git a/resources/robots/turtlebot3_waffle_pi.urdf b/resources/robots/turtlebot.urdf similarity index 100% rename from resources/robots/turtlebot3_waffle_pi.urdf rename to resources/robots/turtlebot.urdf diff --git a/src/pycram/robot_descriptions/turtlebot3_waffle_pi_description.py b/src/pycram/robot_descriptions/turtlebot_description.py similarity index 52% rename from src/pycram/robot_descriptions/turtlebot3_waffle_pi_description.py rename to src/pycram/robot_descriptions/turtlebot_description.py index b889117a8..6e18cfd9b 100644 --- a/src/pycram/robot_descriptions/turtlebot3_waffle_pi_description.py +++ b/src/pycram/robot_descriptions/turtlebot_description.py @@ -2,12 +2,13 @@ from pycram.robot_description import RobotDescriptionManager, RobotDescription +# Description for turtlebot3_waffle_pi rospack = rospkg.RosPack() -filename = rospack.get_path('pycram') + '/resources/robots/' + "turtlebot3_waffle_pi" + '.urdf' +filename = rospack.get_path('pycram') + '/resources/robots/' + "turtlebot" + '.urdf' -turtlebot3_waffle_pi = RobotDescription("turtlebot3_waffle_pi", "world", "base_link", "base_joint", - filename) +turtlebot = RobotDescription("turtlebot", "world", "base_link", "base_joint", + filename) # Add to RobotDescriptionManager rdm = RobotDescriptionManager() -rdm.register_description(turtlebot3_waffle_pi) +rdm.register_description(turtlebot)