def to_move_goal()

in simulation_ws/src/aws_robomaker_simulation_common/nodes/route_manager.py [0:0]


    def to_move_goal(self, pose):
        if pose is None:
            raise ValueError('Goal position cannot be NULL')

        goal = MoveBaseGoal()
        goal.target_pose.header.stamp = rospy.Time.now()
        goal.target_pose.header.frame_id = 'map'
        goal.target_pose.pose.position = Point(**pose['pose']['position'])
        goal.target_pose.pose.orientation = Quaternion(
            **pose['pose']['orientation'])
        return goal