Kinovarobotics / kinova-movo

Source code of the Kinova MOVO platform
BSD 3-Clause "New" or "Revised" License
44 stars 37 forks source link

Build of kinetic-devel fails (movo_simulation gazebo errors) #79

Open babbatem opened 4 years ago

babbatem commented 4 years ago

Description

Hello there, I've noticed a small bug related to kinetic-devel branch and gazebo on Ubuntu 16.04. The errors are:

/home/david/movo_ws/src/movo_simulation/movo_gazebo_plugins/roboticsgroup_gazebo_plugins/src/mimic_joint_plugin.cpp: In member function ‘virtual void gazebo::MimicJointPlugin::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’:
/home/david/movo_ws/src/movo_simulation/movo_gazebo_plugins/roboticsgroup_gazebo_plugins/src/mimic_joint_plugin.cpp:142:19: error: ‘class gazebo::physics::Joint’ has no member named ‘SetMaxForce’
     mimic_joint_->SetMaxForce(0,max_effort_);
                   ^
/home/david/movo_ws/src/movo_simulation/movo_gazebo_plugins/roboticsgroup_gazebo_plugins/src/mimic_joint_plugin.cpp: In member function ‘void gazebo::MimicJointPlugin::UpdateChild()’:
/home/david/movo_ws/src/movo_simulation/movo_gazebo_plugins/roboticsgroup_gazebo_plugins/src/mimic_joint_plugin.cpp:168:21: error: ‘class gazebo::physics::Joint’ has no member named ‘SetAngle’
       mimic_joint_->SetAngle(0, math::Angle(angle));

It seems the fix is fairly straightforward: https://github.com/StanleyInnovation/robotiq_85_gripper/issues/15.

Steps to reproduce

  1. fresh catkin workspace with contents of kinova-movo in src
  2. checkout kinetic-devel branch
  3. catkin_make from the root of the workspace.