Complete the code to create a navigation goal message.
goal.target_pose.header.frame_id = [1]The navigation goal frame is usually set to "map" to specify the global coordinate frame.
Complete the code to set the position x coordinate of the goal.
goal.target_pose.pose.position.x = [1]The position x coordinate is set to a float value like 1.0 to specify the goal location.
Fix the error in setting the orientation w component of the goal.
goal.target_pose.pose.orientation.w = [1]The orientation w component must be a float value like 1.0, not an integer zero or string.
Fill both blanks to set the goal's orientation as a quaternion with no rotation.
goal.target_pose.pose.orientation.x = [1] goal.target_pose.pose.orientation.y = [2]
For no rotation, quaternion x and y components are set to 0.0.
Fill all three blanks to set the goal's orientation quaternion correctly for no rotation.
goal.target_pose.pose.orientation.x = [1] goal.target_pose.pose.orientation.y = [2] goal.target_pose.pose.orientation.z = [3]
For no rotation, quaternion x, y, and z components are zero (x=0.0, y=0.0, z=0). The w component is 1.0 (set elsewhere).
