def METHOD_NAME(self, command: FixedTrajectoryCommand):
    if self.trajectory is not None:
        return
    path = self.trajectory_path + "/" + command.trajectory_name + ".csv"
    if not os.path.exists(path):
        rospy.logerr(f"Trajectory doesn't exist in path {path}")
        return
    self.trajectory = Trajectory(path, command.mirror)