-
Notifications
You must be signed in to change notification settings - Fork 288
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
ROS2 Humble #326
base: master
Are you sure you want to change the base?
ROS2 Humble #326
Conversation
Thank you Sara, this is very cool. Let me install ros2 on my machine and test it out. I am excited about this. |
@nv-jeff Do you think you could look into testing it, I am afraid that I do not have a 2204 machine to test on. Sorry for the delay, I appreciate the PR a lot. |
I am not a 100% sure how this works, but I got this following the readme. As an other comment, it would be great if the PR was better integrated in the current code base. I am not sure what is the best way to do so. Thinking about it I could think of a ROS2 folder with this version of the code in there. And in the main readme we could add a reference to the ros2 folder? |
I changed the setup.py:
But I still do not know how to start the node and use it, would it be possible to add light instructions as well? |
I apologize for this error. I realized that in the .gitignore I added the /resource folder by mistake (obviously it cannot find it). As regards the folder for ros2 code, I can test the idea by pulling my code into your repo to check its correct functioning (I'm not sure due to compatibility between catkin build and colcon build). I'll let you know! |
Let me know if you have other problems running the code. Note that the structure of the code is equal to your, so you need to specify the parameters for the inference in the config files as described in your repo. |
Thanks for the updates, I will try them next week. As for how to integrate both code base, I am not a 100%. Since I do not know how ROS2 works, I am not sure, maybe we could make a script that only downloads the ROS2 folder. I am trying to think of a way to do keep both ways, or maybe it is just wishful thinking and we should switch to ros2 all together. But with our robot, currently, we cannot use ros2. So I would be inclined not to do that. |
@nv-jeff do you think you could this one out and add to the refactor you are working on? |
I will take a look
…________________________________
From: Jonathan Tremblay ***@***.***>
Sent: Wednesday, March 20, 2024 10:27 AM
To: NVlabs/Deep_Object_Pose ***@***.***>
Cc: Jeff Smith ***@***.***>; Mention ***@***.***>
Subject: Re: [NVlabs/Deep_Object_Pose] ROS2 Humble (PR #326)
@nv-jeff<https://github.com/nv-jeff> do you think you could this one out and add to the refactor you are working on?
—
Reply to this email directly, view it on GitHub<#326 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AP65QBFY6LXBNCAZPKIK4QLYZHBINAVCNFSM6AAAAAA6SU62F2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQGE3DOMRVGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
We developed a ROS2 package to make inference with DOPE network (it works without the ISAAC framework). Simply, we adapted the ROS interface of your package to work on ROS2, keeping your code structure and ROS topics unchanged.
We also modified some instructions in the inference scripts to make the code compatible with the updated version of the requirements (see requirements.txt). This has been necessary since ROS2 need to use Python 3.10. Moreover, enabling torch.backends.cudnn.benchmark, we run the inference at 17 fps on our workstation.