Skip to content

Commit

Permalink
[robots] renamed turtlebot3_waffle_pi to turtlebot
Browse files Browse the repository at this point in the history
  • Loading branch information
kecks committed Aug 21, 2024
1 parent 59157bc commit c7ebb55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions launch/ik_and_description.launch
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
</group>

<!-- turtlebot3 -->
<group if="$(eval robot == 'turtlebot3')">
<group if="$(eval robot == 'turtlebot')">
<param name="robot_description"
textfile="$(find pycram)/resources/robots/turtlebot3_waffle_pi.urdf"/>
textfile="$(find pycram)/resources/robots/turtlebot.urdf"/>
</group>


Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit c7ebb55

Please sign in to comment.