hrwros_gazebo package gives me error when I do 'catkin build'. Does anyone understand error ? I am using gazebo 9 on ubuntu 18.
Straight dump of the error message:
<< hrwros_gazebo:make /home/arslan/hrwros_ws/logs/hrwros_gazebo/build.make.003.log
In file included from /home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:40:0:
/home/arslan/hrwros_ws/src/hrwros_gazebo/include/hrwros_gazebo/plugins/ARIAC.hh:280:13: error: ‘math’ does not name a type; did you mean ‘tanh’?
public: math::Pose pose;
^~~~
tanh
/home/arslan/hrwros_ws/src/hrwros_gazebo/include/hrwros_gazebo/plugins/ARIAC.hh: In function ‘std::ostream& ariac::operator<<(std::ostream&, const ariac::KitObject&)’:
/home/arslan/hrwros_ws/src/hrwros_gazebo/include/hrwros_gazebo/plugins/ARIAC.hh:268:33: error: ‘const class ariac::KitObject’ has no member named ‘pose’
_out << "Pose: [" << _obj.pose << "]" << std::endl;
^~~~
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc: At global scope:
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:81:23: error: ‘math’ does not name a type; did you mean ‘tanh’?
public: math::Box dropRegion;
^~~~
tanh
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:84:23: error: ‘math’ does not name a type; did you mean ‘tanh’?
public: math::Pose destination;
^~~~
tanh
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc: In member function ‘bool gazebo::VacuumGripperPluginPrivate::DropObject::operator==(const gazebo::VacuumGripperPluginPrivate::DropObject&) const’:
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:60:25: error: ‘const class gazebo::VacuumGripperPluginPrivate::DropObject’ has no member named ‘dropRegion’
this->dropRegion == _obj.dropRegion && \
^~~~~~~~~~
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:60:44: error: ‘const class gazebo::VacuumGripperPluginPrivate::DropObject’ has no member named ‘dropRegion’
this->dropRegion == _obj.dropRegion && \
^~~~~~~~~~
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:61:25: error: ‘const class gazebo::VacuumGripperPluginPrivate::DropObject’ has no member named ‘destination’
this->destination == _obj.destination;
^~~~~~~~~~~
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:61:45: error: ‘const class gazebo::VacuumGripperPluginPrivate::DropObject’ has no member named ‘destination’
this->destination == _obj.destination;
^~~~~~~~~~~
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc: In function ‘std::ostream& gazebo::operator<<(std::ostream&, const gazebo::VacuumGripperPluginPrivate::DropObject&)’:
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:72:30: error: ‘const class gazebo::VacuumGripperPluginPrivate::DropObject’ has no member named ‘dropRegion’
_out << _obj.dropRegion << std::endl;
^~~~~~~~~~
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:73:44: error: ‘const class gazebo::VacuumGripperPluginPrivate::DropObject’ has no member named ‘destination’
_out << " Dst: [" << _obj.destination << "]" << std::endl;
^~~~~~~~~~~
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc: In destructor ‘virtual gazebo::VacuumGripperPlugin::~VacuumGripperPlugin()’:
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:199:53: error: ‘class gazebo::physics::World’ has no member named ‘GetRunning’; did you mean ‘Running’?
if (this->dataPtr->world && this->dataPtr->world->GetRunning())
^~~~~~~~~~
Running
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:201:38: error: ‘class gazebo::physics::World’ has no member named ‘GetPhysicsEngine’; did you mean ‘SetPhysicsEnabled’?
auto mgr = this->dataPtr->world->GetPhysicsEngine()->GetContactManager();
^~~~~~~~~~~~~~~~
SetPhysicsEnabled
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc: In member function ‘virtual void gazebo::VacuumGripperPlugin::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’:
/home/arslan/hrwros_ws/src/hrwros_gazebo/src/plugins/VacuumGripperPlugin.cc:213:51: error: ‘class gazebo::physics::World’ has ...