From 1af075eaeca77cc27a9e35d321641fbf777324a4 Mon Sep 17 00:00:00 2001 From: Giovanni Grieco Date: Thu, 13 Jul 2023 12:10:39 +0000 Subject: [PATCH] constant-acceleration-drone-mobility-model: Safe default for useGeodedicSystem --- .../constant-acceleration-drone-mobility-model.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mobility/constant-acceleration/constant-acceleration-drone-mobility-model.cc b/src/mobility/constant-acceleration/constant-acceleration-drone-mobility-model.cc index 41271a8..9f9feb8 100644 --- a/src/mobility/constant-acceleration/constant-acceleration-drone-mobility-model.cc +++ b/src/mobility/constant-acceleration/constant-acceleration-drone-mobility-model.cc @@ -78,7 +78,8 @@ ConstantAccelerationDroneMobilityModel::GetTypeId() ConstantAccelerationDroneMobilityModel::ConstantAccelerationDroneMobilityModel() : m_flightParams{m_acceleration, m_maxSpeed}, - m_lastUpdate{-1} + m_lastUpdate{-1}, + m_useGeodedicSystem{false} { NS_LOG_FUNCTION(this); }