Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Camera.cpp to support color imaging for Ks21 #36

Open
lagilfillan69 opened this issue Nov 1, 2024 · 0 comments
Open

Update Camera.cpp to support color imaging for Ks21 #36

lagilfillan69 opened this issue Nov 1, 2024 · 0 comments

Comments

@lagilfillan69
Copy link

While using the Ks21i with the current driver as it stands, I am trying to pull down the color images. The following color topics are published....

/multisense/left/image_color
/multisense/left/image_rect/color 

However, when you try to subscribe to either of these topics. The driver reports...
Camera: failed to start stream 0x44: Unsupported

I believe this is reflecting of earlier firmware versions of the Ks21i that could not support color. The code in line 353 - 358 in Camera.cpp


  supports_color_ = has_aux_camera_ ||
                      (system::DeviceInfo::HARDWARE_REV_MULTISENSE_KS21 != device_info_.hardwareRevision &&
                       system::DeviceInfo::HARDWARE_REV_MULTISENSE_ST21 != device_info_.hardwareRevision &&
                       system::DeviceInfo::HARDWARE_REV_MULTISENSE_REMOTE_HEAD_VPB != device_info_.hardwareRevision &&
                       system::DeviceInfo::HARDWARE_REV_MULTISENSE_REMOTE_HEAD_STEREO != device_info_.hardwareRevision &&
                       system::DeviceInfo::HARDWARE_REV_MULTISENSE_REMOTE_HEAD_MONOCAM != device_info_.hardwareRevision);

Also I know that the original ros driver was edited to fix the new labeling system of publishing these topics as aux color instead of the current format

@lagilfillan69 lagilfillan69 changed the title Update Camera.cpp to support color imaging for Ks21i Update Camera.cpp to support color imaging for Ks21 Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant