From 112d1c4cbb455fed95bd3ae18c4c9b6fa0fc9996 Mon Sep 17 00:00:00 2001 From: Xiao Pan <xiao.pan@ansys.com> Date: Mon, 16 May 2022 11:08:02 +0200 Subject: [PATCH] Fix target lane-id type from unsigned long to int to match OpenDrive specification (id can be negative) --- MantleAPI/include/MantleAPI/Traffic/control_strategy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MantleAPI/include/MantleAPI/Traffic/control_strategy.h b/MantleAPI/include/MantleAPI/Traffic/control_strategy.h index f3f774a..a5d5d82 100644 --- a/MantleAPI/include/MantleAPI/Traffic/control_strategy.h +++ b/MantleAPI/include/MantleAPI/Traffic/control_strategy.h @@ -232,7 +232,7 @@ struct PerformLaneChangeControlStrategy : public ControlStrategy type = ControlStrategyType::kPerformLaneChange; } - mantle_api::UniqueId target_lane_id{0}; + std::int64_t target_lane_id{0}; units::length::meter_t target_lane_offset{0.0}; TransitionDynamics transition_dynamics{}; }; -- GitLab