Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 625 Bytes

dynamic_frame.md

File metadata and controls

32 lines (22 loc) · 625 Bytes

Creating a Dynamic Frame BroadCaster

Create a python script inside scripts folder and name it dynamic_frame.py

cd robotics/src/lab_1_tf/scripts
code dynamic_frame.py

Copy the content from the Lab1/dynamic_frame.txt into the dynamic_frame.py

Enable permission to run the script as an executable.

chmod +x dynamic_frame.py

Open the listener.py and modify following line

(trans,rot) = listener.lookupTransform('/turtle2', '/turtle1', rospy.Time(0))

as

(trans,rot) = listener.lookupTransform("/turtle2", "/carrot1", rospy.Time(0))

<< Back to Main menu