Skip to content

Commit

Permalink
Merge branch 'gz-sim9' into gz-sim8
Browse files Browse the repository at this point in the history
  • Loading branch information
ntfshard authored Oct 17, 2024
2 parents 9a3e255 + 990f1c2 commit de5de94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/systems/multicopter_motor_model/MulticopterMotorModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ void MulticopterMotorModel::PreUpdate(const UpdateInfo &_info,

const auto parentLinkName = _ecm.Component<components::ParentLinkName>(
this->dataPtr->jointEntity);
this->dataPtr->parentLinkName = parentLinkName->Data();
if (parentLinkName)
this->dataPtr->parentLinkName = parentLinkName->Data();
}

if (this->dataPtr->linkEntity == kNullEntity)
Expand Down

0 comments on commit de5de94

Please sign in to comment.