Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /opt/ros/indigo/include/message_filters/time_sequencer.h:41:0,
- from /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:4:
- /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> >]’:
- /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:34:34: required from here
- /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> > >&))’
- return Connection(boost::bind(&Signal::removeCallback, &signal_, signal_.addCallback(callback)));
- ^
- /opt/ros/indigo/include/message_filters/simple_filter.h:96:99: note: candidate is:
- In file included from /opt/ros/indigo/include/message_filters/simple_filter.h:41:0,
- from /opt/ros/indigo/include/message_filters/time_sequencer.h:41,
- from /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:4:
- /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> >]
- CallbackHelper1Ptr addCallback(const boost::function<void(P)>& callback)
- ^
- /opt/ros/indigo/include/message_filters/signal1.h:91:22: note: template argument deduction/substitution failed:
- In file included from /opt/ros/indigo/include/message_filters/time_sequencer.h:41:0,
- from /home/piraka9011/catkin_ws/src/jackal_bsc/src/delay_node.cpp:4:
- /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> > >&)’
- return Connection(boost::bind(&Signal::removeCallback, &signal_, signal_.addCallback(callback)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement