Repository navigation
Add IMU support to OAK-D-S2 description - #809
Open
adityakamath wants to merge 3 commits into
Open
adityakamath wants to merge 3 commits into
adityakamath wants to merge 3 commits into
Conversation
Restore the has_imu link/joint block removed by the previous commit, which left mismatched XML tags and broke xacro for all models.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The OAK-D-S2 has an onboard IMU, but it was missing from
depthai_descriptions. The model was not in thehas_imulist indepthai_macro.urdf.xacro, so no IMU frame or joint was generated for it.This PR adds
OAK-D-S2to that list and adds an S2 entry inbase_macro.urdf.xacrowith the IMU offset and orientation. The existing IMU link/joint block is reused as is.The S2 offsets (
xyz = -0.008 -0.037945 -0.00079,rpy = π π/2 0) are copied from OAK-D-PRO. They have not been checked against the S2 CAD or datasheet. Please correct them if you have the exact values.Related issues
None
Compatibility and configuration
None. Only the OAK-D-S2 URDF output changes: it now includes
<camera_name>_imu_frameand<camera_name>_imu_joint.Testing
xacro depthai_descriptions/urdf/depthai_descr.urdf.xacro camera_model:=OAK-D-S2oak_imu_frameandoak_imu_jointVisuals (optional)
None