def METHOD_NAME(self, orientation, compute_poses=True):
    """
    Sets the target orientation of the robot.
    :param orientation: (float|list|np.ndarray) Starting orientation of the robot.
    :param compute_poses: (bool)[Default: True] Recompute the robot pose list if True.
    :return: (None)
    """
    self._end_orientation = orientation
    if compute_poses:
        self.compute_poses()