Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 619 Bytes

static_frame.md

File metadata and controls

32 lines (22 loc) · 619 Bytes

Creating a Static Frame BroadCaster

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

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

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

Enable permission to run the script as an executable.

chmod +x static_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