Skip to content
Snippets Groups Projects
Commit cdf15558 authored by David Weiß's avatar David Weiß Committed by Reinhard Biegel
Browse files

fix(World_OSI): Fix getter for yaw acceleration

parent 001843c8
No related branches found
No related tags found
2 merge requests!83Merge 0.9,!80Resolve "Inconsistency in AgentAdapter::Get/SetYawAcceleration()"
Pipeline #4599 passed
......@@ -433,7 +433,7 @@ public:
double GetYawAcceleration() const override
{
return yawAcceleration;
return GetBaseTrafficObject().GetAbsOrientationAcceleration().yawAcceleration;
}
double GetCentripetalAcceleration() const override
......@@ -674,7 +674,6 @@ private:
double steeringWheelAngle = 0.0;
double centripetalAcceleration = 0.0;
double tangentialAcceleration = 0.0;
double yawAcceleration = 0.0;
double engineSpeed = 0.;
double distanceTraveled = 0.0;
double previousVelocity = 0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment