Complete the code to publish the robot's base frame name.
frame_id = "[1]" # Robot's base frame
The base_link frame represents the robot's base in ROS conventions.
Complete the code to specify the odometry frame in a transform broadcaster.
odom_frame = "[1]" # Frame for odometry reference
The odom frame tracks the robot's position relative to its starting point using odometry.
Fix the error in the frame assignment to use the global fixed frame.
global_frame = "[1]" # Fixed global frame for localization
The map frame is the fixed global frame used for localization and navigation.
Fill both blanks to correctly define a transform from odom to base_link.
tf_broadcaster.sendTransform( translation, rotation, time, "[2]", "[1]" )
The transform is from odom (parent) to base_link (child) frame.
Fill all three blanks to create a dictionary mapping frames to their descriptions.
frame_descriptions = {
"[1]": "Robot base frame",
"[2]": "Odometry reference frame",
"[3]": "Global fixed map frame"
}This dictionary correctly maps each standard ROS frame to its role.
