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

isaac_ros_foundationpose on zed camera #51

Open
kc645 opened this issue Oct 30, 2024 · 1 comment
Open

isaac_ros_foundationpose on zed camera #51

kc645 opened this issue Oct 30, 2024 · 1 comment

Comments

@kc645
Copy link

kc645 commented Oct 30, 2024

Hi, I am trying to run foundationpose on zed camera.

In the documentation, I don't see a column for zed camera, but there is for rosbag, realsense camera, and hawk camera. I managed to look at centerpose and compared the launch arguments.
So I ran this launch command

ros2 launch isaac_ros_examples isaac_ros_examples.launch.py launch_fragments:=zed_mono_rect_depth,foundationpose mesh_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/isaac_ros_foundationpose/Mac_and_cheese_0_1/Mac_and_cheese_0_1.obj texture_path:=${ISAAC_ROS_WS}/isaac_ros_assets/isaac_ros_foundationpose/Mac_and_cheese_0_1/materials/textures/baked_mesh_tex0.png score_engine_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/models/foundationpose/score_trt_engine.plan refine_engine_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/models/foundationpose/refine_trt_engine.plan rt_detr_engine_file_path:=${ISAAC_ROS_WS}/isaac_ros_assets/models/synthetica_detr/sdetr_grasp.plan interface_specs_file:=${ISAAC_ROS_WS}/isaac_ros_assets/isaac_ros_centerpose/zed2_quickstart_interface_specs.json

to run zed mono rect depth.
To visualize, I ran rviz2 -d $(ros2 pkg prefix isaac_ros_foundationpose --share)/rviz/foundationpose_zed.rviz, to visualize

The correct feed shows up but somehow when it detects my tumblr (even though I am running Mac and cheese?) the program shuts down by saying below

Screenshot from 2024-10-30 15-31-25

What would be the solution to this problem?

Also, do we have to only use DETR object detection? What if we want to use yolo model or other object detection models, how would I go about this?

Thank you so much for your help!

@kc645
Copy link
Author

kc645 commented Oct 31, 2024

so by changing the ZED setting of pub resolution from CUSTOM to NATIVE, I was able to let the program not quit.
However I get an error from zed_wrapper-2 Error as following

[zed_wrapper-2] Error: TF_DENORMALIZED_QUATERNION: Ignoring transform for child_frame_id "fp_object" from authority "Authority undetectable" because of an invalid quaternion in the transform (-nan nan nan -nan)

What would be the solution to this?

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