-
Notifications
You must be signed in to change notification settings - Fork 145
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
How to install pal-robotics / realsense_gazebo_plugin in ros2 #56
Comments
I think you tried with the branch melodic-devel. Catkin is a build sytem for ROS1. And FYI, there seems no version for humble yet. Edited: foxy branch will work on humble |
I found in this issue #20 that there is a ros2 branch:
And their example says: Note that this was tested for the ROS2 branch with ROS Foxy distro. It seems it works, I will test it out. |
Sorry I forgot to revise. |
What did you do to set it up? @lss0815 I added the specifics for my robot, downloading that repo as a ros2 package. But when I colcon build, I get the following message. To note, I downloaded the urdfs, it showed me an error related a file called macros.xacro for some reason, as I already had a file called like that. After fixing:
EDIT: A fix to this if experienced, take this into account.
Probably better to just copy that same file. To edit |
I think you've solved well by yourself, but FYI I was able to use the plugin only after adding models. Maybe, could you check the git branch once again? The branch needs to be |
Thanks! I fixed it. My situation was adding the camera linked to
(and in the The sensor had to be instantiated like this (probably works without origin?):
|
hello, i download and how to use it in gazebo plugin |
@zp2546265641 Hello, it might be presumptuous of me, but it would be helpful to refer to the turtlebot3 simulation and chatGPT when you get started. |
Please explain the steps how to use above repo in ros2 humble.
I cloned the repo in src folder and did colcon build but it showing following error.
How do i genererate "librealsense_gazebo_plugin.so" file.
--- stderr: realsense_gazebo_plugin
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "catkin", but
CMake did not find one.
Could not find a package configuration file provided by "catkin" with any
of the following names:
Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
"catkin_DIR" to a directory containing one of the above files. If "catkin"
provides a separate development package or SDK, be sure it has been
installed.
Failed <<< realsense_gazebo_plugin [0.45s, exited with code 1]
The text was updated successfully, but these errors were encountered: