Closed aginika closed 8 years ago
But I'm not sure whether the namespace ir
is good or not....
Any Idea?
Sorry my friend for the delay.
I'm not sure of the repercussions of this. Is this a subjective matter or a technical one? I'm not that familiar of what code relies on the namespace in this situation.
did real kinect sensor publishes mono8 on ir topic?
I'm not sure. We're using the Kinect 2 now with the new PR2 upgrades.
real kinect sensor publishes mono16
, not mono8
nor 32FC1
.
on gazebo/hydro there is no ir
data published.
🍣 rostopic list |grep head_mount_kinect
/head_mount_kinect/depth/camera_info
/head_mount_kinect/depth/image_raw
/head_mount_kinect/depth/image_raw/compressed
/head_mount_kinect/depth/image_raw/compressed/parameter_descriptions
/head_mount_kinect/depth/image_raw/compressed/parameter_updates
/head_mount_kinect/depth/image_raw/compressedDepth
/head_mount_kinect/depth/image_raw/compressedDepth/parameter_descriptions
/head_mount_kinect/depth/image_raw/compressedDepth/parameter_updates
/head_mount_kinect/depth/image_raw/theora
/head_mount_kinect/depth/image_raw/theora/parameter_descriptions
/head_mount_kinect/depth/image_raw/theora/parameter_updates
/head_mount_kinect/depth/points
/head_mount_kinect/depth_registered/camera_info
/head_mount_kinect/depth_registered/points
/head_mount_kinect/rgb/camera_info
/head_mount_kinect/rgb/image_raw
/head_mount_kinect/rgb/image_raw/compressed
/head_mount_kinect/rgb/image_raw/compressed/parameter_descriptions
/head_mount_kinect/rgb/image_raw/compressed/parameter_updates
/head_mount_kinect/rgb/image_raw/compressedDepth
/head_mount_kinect/rgb/image_raw/compressedDepth/parameter_descriptions
/head_mount_kinect/rgb/image_raw/compressedDepth/parameter_updates
/head_mount_kinect/rgb/image_raw/theora
/head_mount_kinect/rgb/image_raw/theora/parameter_descriptions
/head_mount_kinect/rgb/image_raw/theora/parameter_updates
/head_mount_kinect_ir/parameter_descriptions
/head_mount_kinect_ir/parameter_updates
/head_mount_kinect_rgb/parameter_descriptions
/head_mount_kinect_rgb/parameter_updates
hydro and indigo both has this problem.
And this happen because https://github.com/PR2/pr2_common/blob/indigo-devel/pr2_description/urdf/sensors/kinect_prosilica_camera.gazebo.xacro#L26-L28
and
are same name
can we change https://github.com/PR2/pr2_common/pull/243/files#diff-e67a644c36ecf8733fff38127fdba7c2L12 to publish mono16?
I think it can't set with currenct sdformat When I try to use L16, it shows the erro like below
Error [Camera.cc:715] Error parsing image format (L16), using default Ogre::PF_R8G8B8
I, see, so I think this PR is ok, please merge @TheDash
◉ Kei Okada
On Mon, Dec 7, 2015 at 9:49 PM, aginika notifications@github.com wrote:
I think it can't set with currenct sdformat When I try to use L16, it shows the erro like below
Error [Camera.cc:715] Error parsing image format (L16), using default Ogre::PF_R8G8B8
http://sdformat.org/spec?ver=1.5&elem=sensor#image_format
— Reply to this email directly or view it on GitHub https://github.com/PR2/pr2_common/pull/243#issuecomment-162516223.
ping
ping @TheDash
ping @TheDash
My apologies, I've been locked in a basement hacking initramfs for the Indigo server upgrade. This looks good. Thank you.
@TheDash Thank you very much for merging! :+1:
With this modification, the below problem will be modified.
The confusing of topic was,
encoding: 32FC1
andencoding: mono8
so I change themono8
topic to use namespaceir