-
Notifications
You must be signed in to change notification settings - Fork 73
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
When I use set_velocity plugin make error #108
Comments
I believe you're talking about this tutorial: http://gazebosim.org/tutorials?tut=set_velocity You may be using an old Gazebo 7 version. That function was added on 7.1.0. Update your version as explained on this tutorial. |
Thanks a lot.I just reinstall the GAZEBO,and this problem is sloved.But I use this command |
I have a bit of hacky way of fixing this. I know it's old issue, but here it is for everyone else that might be googling. Code in this repo is probably a bit old, and there's stuff in gazebo dependencies that changed. Since i need only joint velocity example, you can completely ignore all the errors from the link one. In case you need the link example - code is a bit too broken for me to fix it at the moment, so you're on your own. To get the example to build, edit your gazebo's cmake config. sudo nano /usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake find the line (mine was 62, but i believe it may vary) where it says then open the cmake-lists of the example (this repo) nano /path/to/gazebo_tutorials/set_velocity/examples/set_vel_plugin/CMakeLists.txt and remove the lines add_library(SetLinkVelocityPlugin SHARED src/SetLinkVelocityPlugin.cpp)
target_link_libraries(SetLinkVelocityPlugin ${GAZEBO_LIBRARIES}) Save the CMakeLists.txt, clear the build cache from the build folder, and start the cmake command again. Voila. |
I follow the gazebo tutorials,and use gazebo7.It seems cmake works without error,but when i use make ,the terminal get this error,ubuntu 16.06+ros kinetic
The text was updated successfully, but these errors were encountered: