The goal of this lab is to gain experience using the tf system in ROS. Unfortunately, the Python API for tf is not very well documented on the ROS wiki. Here are some places you can get information:
sound_play
and goal_publisher
nodes.
goal_publisher.py
and transform_example.py
. Once you understand those files, execute the warmer_colder launch file and
run transform_example.py
. If everything is working
correctly you should see the goal point printed in both
the /odom
and /base_footprint
coordinate
frames.
Modify warmer_colder.py
so that its behavior matches
the documentation.
navigate_to_goal.py
. Add code to
that file to navigate the Turtlebot to the published goal location. Your node will reuse logic from warmer_colder.py
as well as you solution to PA1. goal_publisher.py
so that it broadcasts a
transform at the goal position in addition to publishing the goal
point. You can see an example of publishing a transform in a Python
node
here:
Writing a tf broadcaster (Python). Here is more complete
documentation of
the TransformBroadcaster
class.
Commit your completed code using the log message "TF LAB FINAL SUBMISSION".