Commit 7c858132 authored by Reinhard Biegel's avatar Reinhard Biegel
Browse files

Merge branch '135-inconsistency-in-agentadapter-get-setyawacceleration' into 'develop'

Resolve "Inconsistency in AgentAdapter::Get/SetYawAcceleration()"

See merge request !80
parents 001843c8 cdf15558
Pipeline #4854 passed with stage
in 0 seconds
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment