Skip to content

Commit

Permalink
fix flag 'has_imu' in xacro macro depthai_camera to also support the …
Browse files Browse the repository at this point in the history
…OAK-D-PRO/POE models (#417)
  • Loading branch information
JenniferBuehler authored Sep 28, 2023
1 parent 715d480 commit df92244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions depthai_descriptions/urdf/include/depthai_macro.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<xacro:property name="has_imu" value="false" />
<xacro:property name="baseline" value="0.075" />

<xacro:if value="${model == 'OAK-D'}">
<xacro:if value="${model in ['OAK-D', 'OAK-D-PRO', 'OAK-D-POE']}">
<xacro:property name="has_imu" value="true" />
</xacro:if>

Expand Down Expand Up @@ -73,4 +73,4 @@

</xacro:macro>

</robot>
</robot>

0 comments on commit df92244

Please sign in to comment.