Skip to content

Commit

Permalink
Update src/systems/multicopter_motor_model/MulticopterMotorModel.cc
Browse files Browse the repository at this point in the history
Update to remove leading model name.

Co-authored-by: Nate Koenig <[email protected]>
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti and nkoenig committed Sep 8, 2022
1 parent 3a3f2d5 commit d711e1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void MulticopterMotorModel::Configure(const Entity &_entity,
else
{
ignwarn << "No robotNamespace set using entity name.\n";
this->dataPtr->robotNamespace = scopedName(_entity, _ecm);
this->dataPtr->robotNamespace = this->dataPtr->model.Name(_ecm);
}

// Get params from SDF
Expand Down

0 comments on commit d711e1b

Please sign in to comment.