Skip to content

Commit

Permalink
Merge branch 'gz-sim8' into merge_7_8_20240731
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 authored Aug 12, 2024
2 parents 85254b9 + c48fa58 commit 38acc56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/systems/ackermann_steering/AckermannSteering.cc
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,11 @@ void AckermannSteering::PostUpdate(const UpdateInfo &_info,
// Nothing left to do if paused.
if (_info.paused)
return;

if (this->dataPtr->leftSteeringJoints.empty() ||
this->dataPtr->rightSteeringJoints.empty())
return;

if (this->dataPtr->steeringOnly)
{
this->dataPtr->UpdateAngle(_info, _ecm);
Expand Down

0 comments on commit 38acc56

Please sign in to comment.