-
Notifications
You must be signed in to change notification settings - Fork 57
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
I modified the xacro model and added a kinect camera, and there are currently two issues #231
Comments
hi @TalentLeshen-DLUT. Could you share a repository of this integration? |
Yes, I think you can see my project in the link below. I'm looking forward to your advice. https://github.com/TalentLeshen-DLUT/iiwa14_with_Azure_Kinect |
great, thanks for sharing. Just for my understanding: You added a some joints and links Could You might further want to add a virtual link for your camera, then add a camera plugin https://classic.gazebosim.org/tutorials?tut=ros_gzplugins |
Thanks for your answer, I am currently trying to modify gazebo related content. Looking at the visual integration aspect, I found that I needed to add sensor_3d.yaml to the file, Just like https://github.com/moveit/moveit2_tutorials/blob/main/doc/examples/perception_pipeline/launch/perception_pipeline_demo.l Lines 47-51 in aunch.py, |
hi @TalentLeshen-DLUT , been writing a quick demo for how to integrate a camera into Gazebo and will share shortly. Out of curiosity, how are Azure Kinect and Gazebo related? As in, are you trying to have the Azure Kinect mesh inside Gazebo? Thank you! |
I currently don't think there's much difference between the Azure Kinect DK and other cameras, except for the relevant topic, as shown in the figure. By opening the camera and the robot, and then converting the TF of the camera and the robot, the integration of the camera and the robot should be realized. I wanted to put Kinect into Gaezbo, but since I was just learning and using ros2, I found it difficult to do so. |
no worries. Hope I will post a demo here soon. Until then, when looking through your repo, you add tags to existing |
@mhubii Thanks for your answers, I think I have a better understanding of how to integrate Kinect into gazebo. I'm looking forward to seeing your demo soon. |
@mhubii Hello, in my previous work, I implemented the connection between the motorized spindle -Beckhoff- robot control cabinet, which enabled me to control the start and stop of the motorized spindle and the speed through the sunrise workbench. Start-stop is achieved by sending a digital signal of DC+24V, and the speed is achieved by sending a continuous DC 0-10V analog signal. Now I want to realize the control of ROS2 and motorized spindle through FRI-1.15, but I have no clue. Could you please give me some advice, so that I can understand how I should modify fri to achieve my goal? |
I looked through the KUKA Fast Robot Interface C++ SDK (version 1.15), I think I can by setting
to make robot sent to receive ROS2 bool as well as the simulation, to control the start-stop of the motorized spindle and speed, But I have no idea how to get ROS2 to send msgs. |
Hi @TalentLeshen-DLUT. Yes, that needs to be looked into and added here. Would it be okay to continue this discussion in #198. Thank you! |
I modified the xacro model in ros2humble2.1.1 you provided, adding part of the model and a kinect camera model. I successfully used mock and rviz2 to drive the robot arm, but when I wanted to use gazebo, I found that I could not open it.
![Screenshot from 2024-11-30 17-01-32](https://private-user-images.githubusercontent.com/183169918/391225459-0780c710-4537-406a-94b7-02a7db3c1130.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjM1OTksIm5iZiI6MTczOTQyMzI5OSwicGF0aCI6Ii8xODMxNjk5MTgvMzkxMjI1NDU5LTA3ODBjNzEwLTQ1MzctNDA2YS05NGI3LTAyYTdkYjNjMTEzMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwNTA4MTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MjVmZjNiNDUwZDVkMzRmN2I0NzVlNWJkNmRkY2U4YzQyM2MxM2VmMDAzNzIwMDJiYzllZTc4NDY1NzkxOTlkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.xbsSogiWg2JyAV2le_Z7ZyVLyDAx2migBR1IGgXYch4)
![Screenshot from 2024-11-30 17-01-41](https://private-user-images.githubusercontent.com/183169918/391225461-a1dbde43-6e4c-44eb-b2ea-464d97e69d15.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjM1OTksIm5iZiI6MTczOTQyMzI5OSwicGF0aCI6Ii8xODMxNjk5MTgvMzkxMjI1NDYxLWExZGJkZTQzLTZlNGMtNDRlYi1iMmVhLTQ2NGQ5N2U2OWQxNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QwNTA4MTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MjQ2OTY1ZjU0MzM2NmI5MWQwYzljMzJjNzE3M2Y2NjA0YzE2NGQyZjQyODgyN2UzNTI0ZTM0ZTgyMDA1NzE2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.YFMXi0IZDiq1hbJRH5GGXTcveoU6OH0AXtzm7S_N974)
![Screenshot from 2024-11-30 17-14-13](https://private-user-images.githubusercontent.com/183169918/391225462-95bef09b-70c8-4356-bc21-e15eab433861.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjM1OTksIm5iZiI6MTczOTQyMzI5OSwicGF0aCI6Ii8xODMxNjk5MTgvMzkxMjI1NDYyLTk1YmVmMDliLTcwYzgtNDM1Ni1iYzIxLWUxNWVhYjQzMzg2MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TS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hlYWRlcnM9aG9zdCJ9.0HE416QjUoX5py-bIBxWUIycswuKYkDElvWO1VerHww)
I integrated with https://github.com/chenshuxiao/azure-kinect-driver-ros2-humble?tab=readme-ov-file and vision_opencv in the project. When I started mock and rviz2, it showed that there was a problem with the TF tree, but I didn't know how to fix it.
Could you give me some advice?
The text was updated successfully, but these errors were encountered: