Skip to content

Instantly share code, notes, and snippets.

@iamrajee
Created March 9, 2020 11:12
Show Gist options
  • Save iamrajee/c761766bc338beef1b7fbb1e9b774986 to your computer and use it in GitHub Desktop.
Save iamrajee/c761766bc338beef1b7fbb1e9b774986 to your computer and use it in GitHub Desktop.
Starting >>> object_recognition_msgs
Starting >>> octomap_msgs
Starting >>> random_numbers
Starting >>> urdfdom_py
Starting >>> joint_state_publisher
Starting >>> ompl
Starting >>> testpkg
Starting >>> testpkg_cmake
Starting >>> testpkg_python
Finished <<< testpkg [1.60s]
Finished <<< random_numbers [1.68s]
Starting >>> geometric_shapes
Finished <<< testpkg_cmake [1.65s]
Finished <<< urdfdom_py [1.99s]
Starting >>> srdfdom
Finished <<< joint_state_publisher [2.04s]
Starting >>> moveit_resources
Starting >>> joint_state_publisher_gui
Finished <<< octomap_msgs [2.64s]
Finished <<< object_recognition_msgs [2.66s]
Finished <<< ompl [2.64s]
Starting >>> moveit_msgs
Finished <<< moveit_resources [1.10s]
Finished <<< geometric_shapes [1.58s]
Finished <<< srdfdom [1.31s]
Finished <<< testpkg_python [3.47s]
Finished <<< joint_state_publisher_gui [1.57s]
Finished <<< moveit_msgs [2.96s]
Starting >>> moveit_core
--- stderr: moveit_core
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp: In function ‘void moveit::core::{anonymous}::_msgToAttachedBody(const moveit::core::Transforms*, const AttachedCollisionObject&, moveit::core::RobotState&)’:
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:272:84: error: no matching function for call to ‘constructShapeFromMsg(const value_type&)’
shapes::Shape* s = shapes::constructShapeFromMsg(aco.object.primitives[i]);
^
In file included from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:39:0:
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:49:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const SolidPrimitive&)
Shape* constructShapeFromMsg(const shape_msgs::SolidPrimitive& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:49:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::SolidPrimitive_<std::allocator<void> >}’ to ‘const SolidPrimitive& {aka const shape_msgs::SolidPrimitive_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:52:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const Plane&)
Shape* constructShapeFromMsg(const shape_msgs::Plane& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:52:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::SolidPrimitive_<std::allocator<void> >}’ to ‘const Plane& {aka const shape_msgs::Plane_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:55:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const Mesh&)
Shape* constructShapeFromMsg(const shape_msgs::Mesh& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:55:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::SolidPrimitive_<std::allocator<void> >}’ to ‘const Mesh& {aka const shape_msgs::Mesh_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:58:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const ShapeMsg&)
Shape* constructShapeFromMsg(const ShapeMsg& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:58:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::SolidPrimitive_<std::allocator<void> >}’ to ‘const ShapeMsg& {aka const boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:283:80: error: no matching function for call to ‘constructShapeFromMsg(const value_type&)’
shapes::Shape* s = shapes::constructShapeFromMsg(aco.object.meshes[i]);
^
In file included from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:39:0:
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:49:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const SolidPrimitive&)
Shape* constructShapeFromMsg(const shape_msgs::SolidPrimitive& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:49:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Mesh_<std::allocator<void> >}’ to ‘const SolidPrimitive& {aka const shape_msgs::SolidPrimitive_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:52:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const Plane&)
Shape* constructShapeFromMsg(const shape_msgs::Plane& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:52:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Mesh_<std::allocator<void> >}’ to ‘const Plane& {aka const shape_msgs::Plane_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:55:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const Mesh&)
Shape* constructShapeFromMsg(const shape_msgs::Mesh& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:55:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Mesh_<std::allocator<void> >}’ to ‘const Mesh& {aka const shape_msgs::Mesh_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:58:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const ShapeMsg&)
Shape* constructShapeFromMsg(const ShapeMsg& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:58:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Mesh_<std::allocator<void> >}’ to ‘const ShapeMsg& {aka const boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:294:80: error: no matching function for call to ‘constructShapeFromMsg(const value_type&)’
shapes::Shape* s = shapes::constructShapeFromMsg(aco.object.planes[i]);
^
In file included from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:39:0:
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:49:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const SolidPrimitive&)
Shape* constructShapeFromMsg(const shape_msgs::SolidPrimitive& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:49:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Plane_<std::allocator<void> >}’ to ‘const SolidPrimitive& {aka const shape_msgs::SolidPrimitive_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:52:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const Plane&)
Shape* constructShapeFromMsg(const shape_msgs::Plane& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:52:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Plane_<std::allocator<void> >}’ to ‘const Plane& {aka const shape_msgs::Plane_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:55:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const Mesh&)
Shape* constructShapeFromMsg(const shape_msgs::Mesh& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:55:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Plane_<std::allocator<void> >}’ to ‘const Mesh& {aka const shape_msgs::Mesh_<std::allocator<void> >&}’
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:58:8: note: candidate: shapes::Shape* shapes::constructShapeFromMsg(const ShapeMsg&)
Shape* constructShapeFromMsg(const ShapeMsg& shape_msg);
^~~~~~~~~~~~~~~~~~~~~
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:58:8: note: no known conversion for argument 1 from ‘const value_type {aka const shape_msgs::msg::Plane_<std::allocator<void> >}’ to ‘const ShapeMsg& {aka const boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/robot_state.cpp: In member function ‘void moveit::core::RobotState::getRobotMarkers(visualization_msgs::msg::MarkerArray&, const std::vector<std::__cxx11::basic_string<char> >&, bool) const’:
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/robot_state.cpp:1126:91: error: invalid initialization of reference of type ‘visualization_msgs::Marker& {aka visualization_msgs::Marker_<std::allocator<void> >&}’ from expression of type ‘visualization_msgs::msg::Marker {aka visualization_msgs::msg::Marker_<std::allocator<void> >}’
if (shapes::constructMarkerFromShape(it.second->getShapes()[j].get(), att_mark))
^
In file included from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/robot_state.cpp:41:0:
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:64:6: note: in passing argument 2 of ‘bool shapes::constructMarkerFromShape(const shapes::Shape*, visualization_msgs::Marker&, bool)’
bool constructMarkerFromShape(const Shape* shape, visualization_msgs::Marker& mk, bool use_mesh_triangle_list = false);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/robot_state.cpp:1150:85: error: invalid initialization of reference of type ‘visualization_msgs::Marker& {aka visualization_msgs::Marker_<std::allocator<void> >&}’ from expression of type ‘visualization_msgs::msg::Marker {aka visualization_msgs::msg::Marker_<std::allocator<void> >}’
if (!shapes::constructMarkerFromShape(link_model->getShapes()[j].get(), mark))
^
In file included from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/robot_state.cpp:41:0:
/opt/ros/melodic/include/geometric_shapes/shape_operations.h:64:6: note: in passing argument 2 of ‘bool shapes::constructMarkerFromShape(const shapes::Shape*, visualization_msgs::Marker&, bool)’
bool constructMarkerFromShape(const Shape* shape, visualization_msgs::Marker& mk, bool use_mesh_triangle_list = false);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/variant.hpp:17:0,
from /opt/ros/melodic/include/geometric_shapes/shape_messages.h:43,
from /opt/ros/melodic/include/geometric_shapes/shape_operations.h:41,
from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:39:
/usr/include/boost/variant/variant.hpp: In instantiation of ‘boost::detail::variant::invoke_visitor<Visitor>::result_type boost::detail::variant::invoke_visitor<Visitor>::internal_visit(T&, int) [with T = const shape_msgs::SolidPrimitive_<std::allocator<void> >; Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; boost::detail::variant::invoke_visitor<Visitor>::result_type = void]’:
/usr/include/boost/variant/detail/visitation_impl.hpp:114:9: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke_impl(int, Visitor&, VoidPtrCV, T*, mpl_::true_) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T = shape_msgs::SolidPrimitive_<std::allocator<void> >; typename Visitor::result_type = void; mpl_::true_ = mpl_::bool_<true>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:154:41: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke(int, Visitor&, VoidPtrCV, T*, NoBackupFlag, int) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T = shape_msgs::SolidPrimitive_<std::allocator<void> >; NoBackupFlag = boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >::has_fallback_type_; typename Visitor::result_type = void]’
/usr/include/boost/variant/detail/visitation_impl.hpp:238:5: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl(int, int, Visitor&, VoidPtrCV, mpl_::false_, NoBackupFlag, Which*, step0*) [with Which = mpl_::int_<0>; step0 = boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<3>, shape_msgs::SolidPrimitive_<std::allocator<void> >, boost::mpl::l_item<mpl_::long_<2>, shape_msgs::Mesh_<std::allocator<void> >, boost::mpl::l_item<mpl_::long_<1>, shape_msgs::Plane_<std::allocator<void> >, boost::mpl::l_end> > > >, boost::mpl::l_iter<boost::mpl::l_end> >; Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; NoBackupFlag = boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >::has_fallback_type_; typename Visitor::result_type = void; mpl_::false_ = mpl_::bool_<false>]’
/usr/include/boost/variant/variant.hpp:2392:48: required from ‘static typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/variant.hpp:2417:43: required from ‘typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor(Visitor&) const [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/variant.hpp:2441:52: required from ‘typename Visitor::result_type boost::variant<T0, TN>::apply_visitor(Visitor&) const [with Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:70:43: required from ‘typename Visitor::result_type boost::apply_visitor(Visitor&, Visitable&) [with Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; Visitable = const boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >; typename Visitor::result_type = void]’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:164:35: required from here
/usr/include/boost/variant/variant.hpp:1048:24: error: no match for call to ‘(moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject) (const shape_msgs::SolidPrimitive_<std::allocator<void> >&)’
return visitor_(operand);
~~~~~~~~^~~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:167:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const Plane&) const
void operator()(const shape_msgs::msg::Plane& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:167:8: note: no known conversion for argument 1 from ‘const shape_msgs::SolidPrimitive_<std::allocator<void> >’ to ‘const Plane& {aka const shape_msgs::msg::Plane_<std::allocator<void> >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:173:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const Mesh&) const
void operator()(const shape_msgs::msg::Mesh& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:173:8: note: no known conversion for argument 1 from ‘const shape_msgs::SolidPrimitive_<std::allocator<void> >’ to ‘const Mesh& {aka const shape_msgs::msg::Mesh_<std::allocator<void> >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:179:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const SolidPrimitive&) const
void operator()(const shape_msgs::msg::SolidPrimitive& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:179:8: note: no known conversion for argument 1 from ‘const shape_msgs::SolidPrimitive_<std::allocator<void> >’ to ‘const SolidPrimitive& {aka const shape_msgs::msg::SolidPrimitive_<std::allocator<void> >&}’
In file included from /usr/include/boost/variant.hpp:17:0,
from /opt/ros/melodic/include/geometric_shapes/shape_messages.h:43,
from /opt/ros/melodic/include/geometric_shapes/shape_operations.h:41,
from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:39:
/usr/include/boost/variant/variant.hpp:1048:32: error: return-statement with a value, in function returning 'void' [-fpermissive]
return visitor_(operand);
^
/usr/include/boost/variant/variant.hpp: In instantiation of ‘boost::detail::variant::invoke_visitor<Visitor>::result_type boost::detail::variant::invoke_visitor<Visitor>::internal_visit(T&, int) [with T = const shape_msgs::Mesh_<std::allocator<void> >; Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; boost::detail::variant::invoke_visitor<Visitor>::result_type = void]’:
/usr/include/boost/variant/detail/visitation_impl.hpp:114:9: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke_impl(int, Visitor&, VoidPtrCV, T*, mpl_::true_) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T = shape_msgs::Mesh_<std::allocator<void> >; typename Visitor::result_type = void; mpl_::true_ = mpl_::bool_<true>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:154:41: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke(int, Visitor&, VoidPtrCV, T*, NoBackupFlag, int) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T = shape_msgs::Mesh_<std::allocator<void> >; NoBackupFlag = boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >::has_fallback_type_; typename Visitor::result_type = void]’
/usr/include/boost/variant/detail/visitation_impl.hpp:238:5: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl(int, int, Visitor&, VoidPtrCV, mpl_::false_, NoBackupFlag, Which*, step0*) [with Which = mpl_::int_<0>; step0 = boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<3>, shape_msgs::SolidPrimitive_<std::allocator<void> >, boost::mpl::l_item<mpl_::long_<2>, shape_msgs::Mesh_<std::allocator<void> >, boost::mpl::l_item<mpl_::long_<1>, shape_msgs::Plane_<std::allocator<void> >, boost::mpl::l_end> > > >, boost::mpl::l_iter<boost::mpl::l_end> >; Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; NoBackupFlag = boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >::has_fallback_type_; typename Visitor::result_type = void; mpl_::false_ = mpl_::bool_<false>]’
/usr/include/boost/variant/variant.hpp:2392:48: required from ‘static typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/variant.hpp:2417:43: required from ‘typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor(Visitor&) const [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/variant.hpp:2441:52: required from ‘typename Visitor::result_type boost::variant<T0, TN>::apply_visitor(Visitor&) const [with Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:70:43: required from ‘typename Visitor::result_type boost::apply_visitor(Visitor&, Visitable&) [with Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; Visitable = const boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >; typename Visitor::result_type = void]’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:164:35: required from here
/usr/include/boost/variant/variant.hpp:1048:24: error: no match for call to ‘(moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject) (const shape_msgs::Mesh_<std::allocator<void> >&)’
return visitor_(operand);
~~~~~~~~^~~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:167:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const Plane&) const
void operator()(const shape_msgs::msg::Plane& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:167:8: note: no known conversion for argument 1 from ‘const shape_msgs::Mesh_<std::allocator<void> >’ to ‘const Plane& {aka const shape_msgs::msg::Plane_<std::allocator<void> >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:173:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const Mesh&) const
void operator()(const shape_msgs::msg::Mesh& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:173:8: note: no known conversion for argument 1 from ‘const shape_msgs::Mesh_<std::allocator<void> >’ to ‘const Mesh& {aka const shape_msgs::msg::Mesh_<std::allocator<void> >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:179:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const SolidPrimitive&) const
void operator()(const shape_msgs::msg::SolidPrimitive& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:179:8: note: no known conversion for argument 1 from ‘const shape_msgs::Mesh_<std::allocator<void> >’ to ‘const SolidPrimitive& {aka const shape_msgs::msg::SolidPrimitive_<std::allocator<void> >&}’
In file included from /usr/include/boost/variant.hpp:17:0,
from /opt/ros/melodic/include/geometric_shapes/shape_messages.h:43,
from /opt/ros/melodic/include/geometric_shapes/shape_operations.h:41,
from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:39:
/usr/include/boost/variant/variant.hpp:1048:32: error: return-statement with a value, in function returning 'void' [-fpermissive]
return visitor_(operand);
^
/usr/include/boost/variant/variant.hpp: In instantiation of ‘boost::detail::variant::invoke_visitor<Visitor>::result_type boost::detail::variant::invoke_visitor<Visitor>::internal_visit(T&, int) [with T = const shape_msgs::Plane_<std::allocator<void> >; Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; boost::detail::variant::invoke_visitor<Visitor>::result_type = void]’:
/usr/include/boost/variant/detail/visitation_impl.hpp:114:9: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke_impl(int, Visitor&, VoidPtrCV, T*, mpl_::true_) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T = shape_msgs::Plane_<std::allocator<void> >; typename Visitor::result_type = void; mpl_::true_ = mpl_::bool_<true>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:154:41: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke(int, Visitor&, VoidPtrCV, T*, NoBackupFlag, int) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T = shape_msgs::Plane_<std::allocator<void> >; NoBackupFlag = boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >::has_fallback_type_; typename Visitor::result_type = void]’
/usr/include/boost/variant/detail/visitation_impl.hpp:238:5: required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl(int, int, Visitor&, VoidPtrCV, mpl_::false_, NoBackupFlag, Which*, step0*) [with Which = mpl_::int_<0>; step0 = boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<3>, shape_msgs::SolidPrimitive_<std::allocator<void> >, boost::mpl::l_item<mpl_::long_<2>, shape_msgs::Mesh_<std::allocator<void> >, boost::mpl::l_item<mpl_::long_<1>, shape_msgs::Plane_<std::allocator<void> >, boost::mpl::l_end> > > >, boost::mpl::l_iter<boost::mpl::l_end> >; Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; NoBackupFlag = boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >::has_fallback_type_; typename Visitor::result_type = void; mpl_::false_ = mpl_::bool_<false>]’
/usr/include/boost/variant/variant.hpp:2392:48: required from ‘static typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; VoidPtrCV = const void*; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/variant.hpp:2417:43: required from ‘typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor(Visitor&) const [with Visitor = boost::detail::variant::invoke_visitor<moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject>; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/variant.hpp:2441:52: required from ‘typename Visitor::result_type boost::variant<T0, TN>::apply_visitor(Visitor&) const [with Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; T0_ = shape_msgs::SolidPrimitive_<std::allocator<void> >; TN = {shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> >}; typename Visitor::result_type = void]’
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:70:43: required from ‘typename Visitor::result_type boost::apply_visitor(Visitor&, Visitable&) [with Visitor = moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject; Visitable = const boost::variant<shape_msgs::SolidPrimitive_<std::allocator<void> >, shape_msgs::Mesh_<std::allocator<void> >, shape_msgs::Plane_<std::allocator<void> > >; typename Visitor::result_type = void]’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:164:35: required from here
/usr/include/boost/variant/variant.hpp:1048:24: error: no match for call to ‘(moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject) (const shape_msgs::Plane_<std::allocator<void> >&)’
return visitor_(operand);
~~~~~~~~^~~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:167:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const Plane&) const
void operator()(const shape_msgs::msg::Plane& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:167:8: note: no known conversion for argument 1 from ‘const shape_msgs::Plane_<std::allocator<void> >’ to ‘const Plane& {aka const shape_msgs::msg::Plane_<std::allocator<void> >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:173:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const Mesh&) const
void operator()(const shape_msgs::msg::Mesh& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:173:8: note: no known conversion for argument 1 from ‘const shape_msgs::Plane_<std::allocator<void> >’ to ‘const Mesh& {aka const shape_msgs::msg::Mesh_<std::allocator<void> >&}’
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:179:8: note: candidate: void moveit::core::{anonymous}::ShapeVisitorAddToCollisionObject::operator()(const SolidPrimitive&) const
void operator()(const shape_msgs::msg::SolidPrimitive& shape_msg) const
^~~~~~~~
/home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:179:8: note: no known conversion for argument 1 from ‘const shape_msgs::Plane_<std::allocator<void> >’ to ‘const SolidPrimitive& {aka const shape_msgs::msg::SolidPrimitive_<std::allocator<void> >&}’
In file included from /usr/include/boost/variant.hpp:17:0,
from /opt/ros/melodic/include/geometric_shapes/shape_messages.h:43,
from /opt/ros/melodic/include/geometric_shapes/shape_operations.h:41,
from /home/rajendra/ros2eloquent_moveit_ws/src/moveit2/moveit_core/robot_state/src/conversions.cpp:39:
/usr/include/boost/variant/variant.hpp:1048:32: error: return-statement with a value, in function returning 'void' [-fpermissive]
return visitor_(operand);
^
make[2]: *** [robot_state/CMakeFiles/moveit_robot_state.dir/src/conversions.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [robot_state/CMakeFiles/moveit_robot_state.dir/src/robot_state.cpp.o] Error 1
make[1]: *** [robot_state/CMakeFiles/moveit_robot_state.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< moveit_core [ Exited with code 2 ]
Summary: 14 packages finished [16.5s]
1 package failed: moveit_core
1 package had stderr output: moveit_core
8 packages not processed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment