You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to build package using 'catkin build', it is failing at this line of the code and shows the following error:
/home/vignesh/catkin_ws/src/dvrk_env/dvrk_gazebo/src/control_plugin.cpp: In member function ‘void dvrk_gazebo::ControlPlugin::PublishStates()’:
/home/vignesh/catkin_ws/src/dvrk_env/dvrk_gazebo/src/control_plugin.cpp:150:35: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
msg.position.push_back(joint->Position(0));
The text was updated successfully, but these errors were encountered:
I am guessing you are using Ubuntu 16.04. If that is the case then it should be fine. We noticed that the default Gazebo with Ubuntu 18.04 deprecated one method (and probably replaced it with another) which prevented us from compiling the package.
dvrk_env/dvrk_gazebo/src/control_plugin.cpp
Line 150 in 3ca7d6c
While trying to build package using 'catkin build', it is failing at this line of the code and shows the following error:
/home/vignesh/catkin_ws/src/dvrk_env/dvrk_gazebo/src/control_plugin.cpp: In member function ‘void dvrk_gazebo::ControlPlugin::PublishStates()’:
/home/vignesh/catkin_ws/src/dvrk_env/dvrk_gazebo/src/control_plugin.cpp:150:35: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
msg.position.push_back(joint->Position(0));
The text was updated successfully, but these errors were encountered: