Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gazebo Tutorial: Build Error

Hi,

I'm trying to build the set_velocity plugin from here and when I build and make, this is the error I get:

[ 50%] Building CXX object CMakeFiles/SetJointVelocityPlugin.dir/src/SetJointVelocityPlugin.cpp.o In file included from /home/psuresh/set_velocity/examples/set_vel_plugin/src/SetLinkVelocityPlugin.cpp:21:0: /home/psuresh/set_velocity/examples/set_vel_plugin/include/ode_perfect_velocity.hh: In member function ‘void gazebo::OdePerfectVelocityController::Start(gazebo::physics::LinkPtr, gazebo::math::Vector3, gazebo::math::Vector3, double, double)’: /home/psuresh/set_velocity/examples/set_vel_plugin/include/ode_perfect_velocity.hh:36:36: error: ‘class gazebo::physics::Model’ has no member named ‘CreateLink’ this->phantomLink = model->CreateLink("__perfect_phantom_link__"); ^ CMakeFiles/SetLinkVelocityPlugin.dir/build.make:62: recipe for target 'CMakeFiles/SetLinkVelocityPlugin.dir/src/SetLinkVelocityPlugin.cpp.o' failed make[2]: * [CMakeFiles/SetLinkVelocityPlugin.dir/src/SetLinkVelocityPlugin.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/SetLinkVelocityPlugin.dir/all' failed make[1]: [CMakeFiles/SetLinkVelocityPlugin.dir/all] Error 2 make[1]: ** Waiting for unfinished jobs...

[ 75%] Linking CXX shared library libSetJointVelocityPlugin.so

[ 75%] Built target SetJointVelocityPlugin

Makefile:83: recipe for target 'all' failed

make: * [all] Error 2

Kindly help. I need to implement this plugin in my project asap. Thanks

click to hide/show revision 2
None

Gazebo Tutorial: Build Error

Hi,

I'm trying to build the set_velocity plugin from here and when I build and make, this is the error I get:

[ 50%] Building CXX object CMakeFiles/SetJointVelocityPlugin.dir/src/SetJointVelocityPlugin.cpp.o
In file included from /home/psuresh/set_velocity/examples/set_vel_plugin/src/SetLinkVelocityPlugin.cpp:21:0:
/home/psuresh/set_velocity/examples/set_vel_plugin/include/ode_perfect_velocity.hh: In member function ‘void gazebo::OdePerfectVelocityController::Start(gazebo::physics::LinkPtr, gazebo::math::Vector3, gazebo::math::Vector3, double, double)’:
/home/psuresh/set_velocity/examples/set_vel_plugin/include/ode_perfect_velocity.hh:36:36: error: ‘class gazebo::physics::Model’ has no member named ‘CreateLink’
         this->phantomLink = model->CreateLink("__perfect_phantom_link__");
                                    ^
CMakeFiles/SetLinkVelocityPlugin.dir/build.make:62: recipe for target 'CMakeFiles/SetLinkVelocityPlugin.dir/src/SetLinkVelocityPlugin.cpp.o' failed
make[2]: * *** [CMakeFiles/SetLinkVelocityPlugin.dir/src/SetLinkVelocityPlugin.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/SetLinkVelocityPlugin.dir/all' failed
make[1]:  *** [CMakeFiles/SetLinkVelocityPlugin.dir/all] Error 2
make[1]: ** *** Waiting for unfinished jobs...

jobs...

[ 75%] Linking CXX shared library libSetJointVelocityPlugin.so

libSetJointVelocityPlugin.so

[ 75%] Built target SetJointVelocityPlugin

SetJointVelocityPlugin

Makefile:83: recipe for target 'all' failed

failed

make: * *** [all] Error 2

2

Kindly help. I need to implement this plugin in my project asap. Thanks