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

Issue in building the package car_gazebo_plugin. #6

Open
Rak-r opened this issue Apr 24, 2023 · 5 comments
Open

Issue in building the package car_gazebo_plugin. #6

Rak-r opened this issue Apr 24, 2023 · 5 comments

Comments

@Rak-r
Copy link

Rak-r commented Apr 24, 2023

I have followed the instructions and at the first time it worked but I am trying to inherit the car_gazebo_plugin to my robot for ackermann drive and I have removed the shock from all 4 wheels and commented out these from the plugin hpp and cpp files and trying to build the package but it is giving error:
colcon build --symlink-install
Starting >>> ackermann_msgs
Starting >>> sim_car
Finished <<< sim_car [0.18s]
Finished <<< ackermann_msgs [6.05s]
Starting >>> car_gazebo_plugin
[Processing: car_gazebo_plugin]
--- stderr: car_gazebo_plugin
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (PkgConfig)
does not match the name of the calling package (gazebo). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
/usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake:72 (include)
CMakeLists.txt:14 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.


Finished <<< car_gazebo_plugin [30.6s]

Summary: 3 packages finished [36.9s]
1 package had stderr output: car_gazebo_plugin

@Rak-r
Copy link
Author

Rak-r commented Apr 25, 2023

I also want to ask that the in the urdf you have used libgazebo_ros_control.so which is not available for ros2. It is gazebo-ros2_control plugin. So, how it is working? I tried to add the same and it is giving me the error: Failed to load plugin, no such file or directory. How I can use it?

@berickson
Copy link
Owner

I get the same warning, and haven't dug in to how to fix it, but so far it seems benign.

@Rak-r
Copy link
Author

Rak-r commented Apr 25, 2023

I get the same warning, and haven't dug in to how to fix it, but so far it seems benign.

What about the libgazebo_ros_control.so part?

@berickson
Copy link
Owner

It's probably unused and silently failing to load. I can try removing and see what effect that has.

@Rak-r
Copy link
Author

Rak-r commented Apr 25, 2023

oh! ok. I tried to add it and it gives error. I will probably do the same thing. Thanks for the response and it is great that you made ackermann support plugin. If you need any help in updations I can definately contribute.

berickson added a commit that referenced this issue Apr 26, 2023
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

2 participants