Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.38 KB | None | 0 0
  1. In file included from /opt/ros/indigo/include/message_filters/time_sequencer.h:41:0,
  2.                  from /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:4:
  3. /opt/ros/indigo/include/message_filters/simple_filter.h: In instantiation of ‘message_filters::Connection message_filters::SimpleFilter<M>::registerCallback(void (*)(P)) [with P = const boost::shared_ptr<const geometry_msgs::TwistStamped_<std::allocator<void> > >&; M = geometry_msgs::TwistStamped_<std::allocator<void> >]:
  4. /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:34:34:   required from here
  5. /opt/ros/indigo/include/message_filters/simple_filter.h:96:99: error: no matching function for call to ‘message_filters::Signal1<geometry_msgs::TwistStamped_<std::allocator<void> > >::addCallback(void (*&)(const boost::shared_ptr<const geometry_msgs::TwistStamped_<std::allocator<void> > >&))
  6.      return Connection(boost::bind(&Signal::removeCallback, &signal_, signal_.addCallback(callback)));
  7.                                                                                                    ^
  8. /opt/ros/indigo/include/message_filters/simple_filter.h:96:99: note: candidate is:
  9. In file included from /opt/ros/indigo/include/message_filters/simple_filter.h:41:0,
  10.                  from /opt/ros/indigo/include/message_filters/time_sequencer.h:41,
  11.                  from /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:4:
  12. /opt/ros/indigo/include/message_filters/signal1.h:91:22: note: template<class P> message_filters::Signal1<M>::CallbackHelper1Ptr message_filters::Signal1<M>::addCallback(const boost::function<void(P)>&) [with P = P; M = geometry_msgs::TwistStamped_<std::allocator<void> >]
  13.    CallbackHelper1Ptr addCallback(const boost::function<void(P)>& callback)
  14.                       ^
  15. /opt/ros/indigo/include/message_filters/signal1.h:91:22: note:   template argument deduction/substitution failed:
  16. In file included from /opt/ros/indigo/include/message_filters/time_sequencer.h:41:0,
  17.                  from /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:4:
  18. /opt/ros/indigo/include/message_filters/simple_filter.h:96:99: note:   mismatched types ‘const boost::function<void(P)>’ and ‘void (*)(const boost::shared_ptr<const geometry_msgs::TwistStamped_<std::allocator<void> > >&)
  19.      return Connection(boost::bind(&Signal::removeCallback, &signal_, signal_.addCallback(callback)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement