isaac_ros_image_pipeline icon indicating copy to clipboard operation
isaac_ros_image_pipeline copied to clipboard

ERROR when running isaac_ros_depth_image_proc/PointCloudXyzNode

Open HappySamuel opened this issue 6 months ago • 0 comments

Hi

I am trying to obtain pointcloud via depth image that generate by realsense. Below is my launch file.

<?xml version='1.0' ?>

<launch>
	<arg name="fc" default="front_cam"/>

	<node_container pkg="rclcpp_components" exec="component_container_mt" name="stereo" namespace="rs">
		<composable_node pkg="isaac_ros_depth_image_proc" plugin="nvidia::isaac_ros::depth_image_proc::PointCloudXyzNode" name="pointcloud" namespace="$(var fc)">
			<param name="skip" value="2"/>
			<param name="output_width" value="640"/>
			<param name="output_height" value="360"/>
			<remap from="image_rect" to="/$(var fc)/depth/image_rect_raw"/>
			<remap from="camera_info" to="/$(var fc)/depth/camera_info"/>
		</composable_node>
	</node_container>
</launch>

However, when i start the node, i receive the following error. I am using it with realsense camera. Any idea how to solve this issue?

[component_container_mt-3] [ERROR] [1724137462.210540163] [NitrosImage]: [convert_to_custom] Unsupported encoding from ROS [16UC1].
[component_container_mt-3] terminate called after throwing an instance of 'std::runtime_error'
[component_container_mt-3]   what():  [convert_to_custom] Unsupported encoding from ROS

Best, Samuel

HappySamuel avatar Aug 20 '24 07:08 HappySamuel