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

ERROR when running isaac_ros_depth_image_proc/PointCloudXyzNode #50

Open
HappySamuel opened this issue Aug 20, 2024 · 0 comments
Open

Comments

@HappySamuel
Copy link

HappySamuel commented Aug 20, 2024

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 HappySamuel changed the title ERROR when running isaac_ros_depth_image_proc ERROR when running isaac_ros_depth_image_proc/PointCloudXyzNode Aug 20, 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