No matching function for call to ‘Set(gazebo::msgs::Vector3d*, ignition::math::Vector3d)’ [closed]
Hi,
I'm following the Gazebo Tutorials.
I haven't had any problem until the World plugins and Programmatic World Control tutorial.
Output of command make
/home/doliveira/gazebo_teste/world_edit.cc: In member function ‘virtual void gazebo::WorldEdit::Load(gazebo::physics::WorldPtr, sdf::ElementPtr)’:
/home/doliveira/gazebo_teste/world_edit.cc:36:49: error: no matching function for call to ‘Set(gazebo::msgs::Vector3d*, ignition::math::Vector3d)’
ignition::math::Vector3d(0.01, 0, 0.1));
^
In file included from /usr/include/gazebo-4.0/gazebo/gazebo_core.hh:21:0,
from /usr/include/gazebo-4.0/gazebo/gazebo.hh:20,
from /home/doliveira/gazebo_teste/world_edit.cc:3:
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:141:10: note: candidate: void gazebo::msgs::Set(gazebo::common::Image&, const gazebo::msgs::Image&)
void Set(common::Image &_img, const msgs::Image &_msg);
^
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:141:10: note: no known conversion for argument 1 from ‘gazebo::msgs::Vector3d*’ to ‘gazebo::common::Image&’
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:165:10: note: candidate: void gazebo::msgs::Set(gazebo::msgs::Image*, const gazebo::common::Image&)
void Set(msgs::Image *_msg, const common::Image &_i);
^
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:165:10: note: no known conversion for argument 1 from ‘gazebo::msgs::Vector3d*’ to ‘gazebo::msgs::Image*’
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:171:10: note: candidate: void gazebo::msgs::Set(gazebo::msgs::Vector3d*, const gazebo::math::Vector3&)
void Set(msgs::Vector3d *_pt, const math::Vector3 &_v);
^
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:171:10: note: no known conversion for argument 2 from ‘ignition::math::Vector3d {aka ignition::math::Vector3<double>}’ to ‘const gazebo::math::Vector3&’
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:177:10: note: candidate: void gazebo::msgs::Set(gazebo::msgs::Vector2d*, const gazebo::math::Vector2d&)
void Set(msgs::Vector2d *_pt, const math::Vector2d &_v);
^
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:177:10: note: no known conversion for argument 1 from ‘gazebo::msgs::Vector3d*’ to ‘gazebo::msgs::Vector2d*’
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:183:10: note: candidate: void gazebo::msgs::Set(gazebo::msgs::Quaternion*, const gazebo::math::Quaternion&)
void Set(msgs::Quaternion *_q, const math::Quaternion &_v);
^
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:183:10: note: no known conversion for argument 1 from ‘gazebo::msgs::Vector3d*’ to ‘gazebo::msgs::Quaternion*’
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:189:10: note: candidate: void gazebo::msgs::Set(gazebo::msgs::Pose*, const gazebo::math::Pose&)
void Set(msgs::Pose *_p, const math::Pose &_v);
^
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:189:10: note: no known conversion for argument 1 from ‘gazebo::msgs::Vector3d*’ to ‘gazebo::msgs::Pose*’
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:195:10: note: candidate: void gazebo::msgs::Set(gazebo::msgs::Color*, const gazebo::common::Color&)
void Set(msgs::Color *_c, const common::Color &_v);
^
/usr/include/gazebo-4.0/gazebo/msgs/msgs.hh:195:10: note: no known conversion for argument 1 from ...