# How would I go about modifying the ROSMED tutorial robot with my own robot?

**URL:** <https://discourse.slicer.org/t/how-would-i-go-about-modifying-the-rosmed-tutorial-robot-with-my-own-robot/13379>\
**Category:** Support\
**Tags:** ros, robotics\
**Created:** [September 7, 2020, 6:48pm UTC](https://discourse.slicer.org/t/how-would-i-go-about-modifying-the-rosmed-tutorial-robot-with-my-own-robot/13379 "2020-09-07T18:48:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CHRIS\_HUYNH](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chris_huynh/32/6392_2.png) [@CHRIS\_HUYNH](https://discourse.slicer.org/u/CHRIS_HUYNH)\
**Post date:** [September 7, 2020, 6:48pm UTC](https://discourse.slicer.org/t/how-would-i-go-about-modifying-the-rosmed-tutorial-robot-with-my-own-robot/13379/1 "2020-09-07T18:48:48Z")

</div>

I’ve gone through the ROSMED tutorials and it’s very similar to what I’m trying to achieve with my project. My goal is to recreate the tutorials using my own robot and from the tutorial, I can see that I’d have to set up my robot in 3D slicer and apply linear transformations to each link, in which I have done.

I’ve set it up so that each OpenIGTLink linear transform contains the absolute position+orientation of each part of the robot arm (no transform hierarchy). Is there anything else I need to do to on the 3D slicer side of the project?

Also, what files would I need to modify on the ROS side of the project? I know the ros\_igtl\_bridge package runs the bridge between 3D slicer and ROS, and I’m aware of the igtl\_exporter.py script that exports the transforms. Which of these files would I have to modify to replace the UR5 robot with my own robot on ROS?
