Skip to content

Commit 87be9b9

Browse files
committed
fix plugin
1 parent fc7dc84 commit 87be9b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Industrial/gz_mimic_joint/src/gz_mimic_joint.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ void PreUpdate(
7070

7171
if (parentPos && !parentPos->Data().empty())
7272
{
73-
_ecm.SetComponentData(
73+
_ecm.SetComponentData<components::JointPosition>(
7474
mimicJoint,
75-
components::JointPosition({parentPos->Data()[0]})
75+
{parentPos->Data()[0]}
7676
);
7777
}
7878
}

0 commit comments

Comments
 (0)