libcarla/include/carla/road/LaneValidity.h

31 lines
601 B
C
Raw Permalink Normal View History

2024-10-18 13:19:59 +08:00
// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy; see <https://opensource.org/licenses/MIT>.
#pragma once
#include "carla/NonCopyable.h"
#include <string>
#include <vector>
#include "carla/road/RoadTypes.h"
namespace carla {
namespace road {
struct LaneValidity {
public:
LaneValidity(LaneId from_lane, LaneId to_lane)
: _from_lane(from_lane), _to_lane(to_lane) {}
road::LaneId _from_lane;
road::LaneId _to_lane;
};
} // road
} // carla