Not sure this helps but for those also getting the /odom not subscribed error, I saw that not having your node defined as topic_quiz_node in the launch file is a possible problem. I didn’t assign name in the launch file it self like this code shows and it I got full marks on the quiz by defining the executable as topics_node_quiz. Although, this might be helpful to others getting the same issue or those who didn’t define their executable as topics_quiz_node and do not want to mess with the launch file again if their code already runs but is not properly named.
topics_quiz.launch.py**
from launch import LaunchDescription
from launch_ros.actions import Node
def generate_launch_description():
return LaunchDescription([
Node(
package='topics_quiz',
executable='topics_quiz_node',
name='topics_quiz_node',
output='screen'),
])