2021-06-02 06:19:27 -0500 | received badge | ● Student
(source)
|
2021-04-20 14:23:28 -0500 | received badge | ● Famous Question
(source)
|
2019-02-12 03:56:25 -0500 | received badge | ● Famous Question
(source)
|
2019-02-12 03:56:25 -0500 | received badge | ● Notable Question
(source)
|
2019-02-04 06:16:55 -0500 | received badge | ● Famous Question
(source)
|
2019-02-04 06:16:55 -0500 | received badge | ● Notable Question
(source)
|
2019-02-03 06:24:13 -0500 | received badge | ● Famous Question
(source)
|
2019-02-03 06:24:13 -0500 | received badge | ● Notable Question
(source)
|
2019-02-03 06:24:13 -0500 | received badge | ● Popular Question
(source)
|
2018-08-24 09:24:55 -0500 | received badge | ● Popular Question
(source)
|
2018-08-24 09:23:10 -0500 | commented question | Callback Function Not Running ok I'm pretty sure this is all accurate now. I don't want to copy past all of the code since it's a couple hundred lines |
2018-08-24 09:21:45 -0500 | edited question | Callback Function Not Running Callback Function Not Running
Hi guys,
I'm using ROS kinetic on a Navio2 board, and am trying to use the velocity readi |
2018-08-24 09:07:30 -0500 | edited question | Callback Function Not Running Callback Function Not Running
Hi guys,
I'm using ROS kinetic on a Navio2 board, and am trying to use the velocity readi |
2018-08-24 09:01:26 -0500 | commented question | Callback Function Not Running I forgot to paste the while statement-i've edited the code
|
2018-08-24 09:00:55 -0500 | edited question | Callback Function Not Running Callback Function Not Running
Hi guys,
I'm using ROS kinetic on a Navio2 board, and am trying to use the velocity readi |
2018-08-23 15:01:09 -0500 | asked a question | Callback Function Not Running Callback Function Not Running
Hi guys,
I'm using ROS kinetic on a Navio2 board, and am trying to use the velocity readi |
2018-08-22 11:22:22 -0500 | received badge | ● Enthusiast
|
2018-08-22 02:34:10 -0500 | received badge | ● Self-Learner
(source)
|
2018-08-22 02:34:10 -0500 | received badge | ● Teacher
(source)
|
2018-08-22 02:34:02 -0500 | received badge | ● Notable Question
(source)
|
2018-08-21 10:40:45 -0500 | asked a question | Using Approximate Time Sync with headerless messages Using Approximate Time Sync with headerless messages
Hi guys,
I've been trying to use approximate time synchronization |
2018-08-21 10:21:21 -0500 | marked best answer | Boost compilation error Hi guys, I've been having issues with compilation errors where I've been getting this wall of errors: /usr/include/boost/bind/bind.hpp: In instantiation of ‘void boost::_bi::list2<A1, A2>::operator()(boost::_bi::type<void>, F&, A&, int) [with F = void (*)(const boost::shared_ptr<const sensor_msgs::Imu_<st
d::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::NavSatFix_<std::allocator<void> > >&); A = boost::_bi::rrlist9<const boost::shared_ptr<const sensor_msgs::NavSatFix_<std::allocator<void
> > >&, const boost::shared_ptr<const sensor_msgs::Imu_<std::allocator<void> > >&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, con
st boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const
message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&>; A1 = boost::arg<1>; A2 = boost::arg<2>]’:
/usr/include/boost/bind/bind.hpp:1402:50: required from ‘boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, L>::operator()(A1&&, A2&&, A3&&, A4&&, A5&&, A6&&, A7&&, A8&&, A9&&) [with A1 =
const boost::shared_ptr<const sensor_msgs::NavSatFix_<std::allocator<void> > >&; A2 = const boost::shared_ptr<const sensor_msgs::Imu_<std::allocator<void> > >&; A3 = const boost::shared_ptr<const message
_filters::NullType>&; A4 = const boost::shared_ptr<const message_filters::NullType>&; A5 = const boost::shared_ptr<const message_filters::NullType>&; A6 = const boost::shared_ptr<const message_filters::Nu
llType>&; A7 = const boost::shared_ptr<const message_filters::NullType>&; A8 = const boost::shared_ptr<const message_filters::NullType>&; A9 = const boost::shared_ptr<const message_filters::NullType>&; R
= void; F = void (*)(const boost::shared_ptr<const sensor_msgs::Imu_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::NavSatFix_<std::allocator<void> > >&); L = boost::_bi::list2<boos
t::arg<1>, boost::arg<2> >; boost::_bi::bind_t<R, F, L>::result_type = void]’
/usr/include/boost/bind/bind.hpp:833:35: required from ‘void boost::_bi::list9<A1, A2, A3, A4, A5, A6, A7, A8, A9>::operator()(boost::_bi::type<void>, F&, A&, int) [with F = boost::_bi::bind_t<void, voi
d (*)(const boost::shared_ptr<const sensor_msgs::Imu_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::NavSatFix_<std::allocator<void> > >&), boost::_bi::list2<boost::arg<1>, boost::a
rg<2> > >; A = boost::_bi::rrlist9<const boost::shared_ptr<const sensor_msgs::NavSatFix_<std::allocator<void> > >&, const boost::shared_ptr<const sensor_msgs::Imu_<std::allocator<void> > >&, const boost::
shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_fi
lters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&, const boost::shared_ptr<const message_filters::NullType>&>; A1 = bo
ost::arg<1>; A2 = boost::arg<2>; A3 = boost::arg<3>; A4 = boost::arg<4>; A5 = boost::arg<5>; A6 = boost::arg<6>; A7 = boost::arg<7>; A8 = boost::arg<8>; A9 = boost::arg<9>]’
/usr/include/boost/bind/bind.hpp:1402:50: required from ‘boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, L>::operator()(A1&&, A2&&, A3&&, A4&&, A5&&, A6&&, A7&&, A8&&, A9&&) [with A1 =
const boost::shared_ptr<const sensor_msgs::NavSatFix_<std::allocator<void> > >&; A2 = const boost::shared_ptr ... (more) |
2018-08-21 10:21:16 -0500 | answered a question | Boost compilation error Fixed: the actual callback function had the parameters backwards
|
2018-08-21 09:25:39 -0500 | commented question | Boost compilation error No, but the same errors came up after I did.
|
2018-08-21 09:19:13 -0500 | received badge | ● Popular Question
(source)
|
2018-08-20 16:16:02 -0500 | marked best answer | Synchronizer.h Errors Hi guys, I've been trying to do approximate time synchronization, and have been adapting tutorial examples for my own needs. I was facing some errors with sync_policies not having a type, synchronizer not being declared in the scope, and so on. Seeing some other forum posts, I added using namespace message_filters and got a wall of errors: /home/pi/ros_ws/src/link/src/roscomm.cpp: In function ‘int main(int, char**)’:
/home/pi/ros_ws/src/link/src/roscomm.cpp:222:85: error: ‘IMU’ is not a member of ‘sensor_msgs’
typedef sync_policies::ApproximateTime<sensor_msgs::NavSatFix, std_msgs::Float64, sensor_msgs::IMU> NavSyncPolicy;
^~~~~~~~~~~
/home/pi/ros_ws/src/link/src/roscomm.cpp:222:85: error: ‘IMU’ is not a member of ‘sensor_msgs’
/home/pi/ros_ws/src/link/src/roscomm.cpp:222:101: error: template argument 3 is invalid
typedef sync_policies::ApproximateTime<sensor_msgs::NavSatFix, std_msgs::Float64, sensor_msgs::IMU> NavSyncPolicy;
^
In file included from /home/pi/ros_ws/src/link/src/roscomm.cpp:21:0:
/opt/ros/kinetic/include/message_filters/synchronizer.h: In instantiation of ‘class message_filters::Synchronizer<int>’:
/home/pi/ros_ws/src/link/src/roscomm.cpp:223:49: required from here
/opt/ros/kinetic/include/message_filters/synchronizer.h:68:7: error: base type ‘int’ fails to be a struct or class type
class Synchronizer : public boost::noncopyable, public Policy
^~~~~~~~~~~~
/opt/ros/kinetic/include/message_filters/synchronizer.h:71:37: error: ‘int’ is not a class, struct, or union type
typedef typename Policy::Messages Messages;
^~~~~~~~
/opt/ros/kinetic/include/message_filters/synchronizer.h:72:35: error: ‘int’ is not a class, struct, or union type
typedef typename Policy::Events Events;
^~~~~~
/opt/ros/kinetic/include/message_filters/synchronizer.h:73:35: error: ‘int’ is not a class, struct, or union type
typedef typename Policy::Signal Signal;
^~~~~~
/opt/ros/kinetic/include/message_filters/synchronizer.h:74:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 0>::type M0;
^~
/opt/ros/kinetic/include/message_filters/synchronizer.h:75:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 1>::type M1;
^~
/opt/ros/kinetic/include/message_filters/synchronizer.h:76:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 2>::type M2;
^~
/opt/ros/kinetic/include/message_filters/synchronizer.h:77:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 3>::type M3;
^~
/opt/ros/kinetic/include/message_filters/synchronizer.h:78:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 4>::type M4;
^~
/opt/ros/kinetic/include/message_filters/synchronizer.h:79:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 5>::type M5;
^~
/opt/ros/kinetic/include/message_filters/synchronizer.h:80:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 6>::type M6;
^~
/opt/ros/kinetic/include/message_filters/synchronizer.h:81:49: error: ‘int’ is not a class, struct, or union type
typedef typename mpl::at_c<Messages, 7>::type ... (more) |
2018-08-20 13:53:42 -0500 | received badge | ● Popular Question
(source)
|
2018-08-20 13:46:11 -0500 | commented answer | Synchronizer.h Errors If time sync can't be used with message types without headers, is there any way to sync those types of messages then?
|
2018-08-20 13:45:22 -0500 | asked a question | Boost compilation error Boost compilation error
Hi guys,
I've been having issues with compilation errors where I've been getting this wall of e |
2018-08-20 13:35:51 -0500 | received badge | ● Supporter
(source)
|
2018-08-20 13:35:48 -0500 | edited question | Synchronizer.h Errors Synchronizer.h Errors
Hi guys,
I've been trying to do approximate time synchronization, and have been adapting tutorial |
2018-08-20 13:32:25 -0500 | edited question | Synchronizer.h Errors Synchronizer.h Errors
Hi guys,
I've been trying to do approximate time synchronization, and have been adapting tutorial |
2018-08-20 13:32:25 -0500 | received badge | ● Editor
(source)
|
2018-08-20 13:31:11 -0500 | commented answer | Synchronizer.h Errors So the original issue was fixed, but now there's something wrong with my boost statement that I don't know how to fix (s |
2018-08-20 10:13:02 -0500 | asked a question | Synchronizer.h Errors Synchronizer.h Errors
Hi guys,
I've been trying to do approximate time synchronization, and have been adapting tutorial |
2018-08-16 09:14:21 -0500 | marked best answer | Compilation Wall of Errors Seemingly Unrelated to .cpp Hi guys, I've been writing a ROS publisher/subscriber node in C++ on ROS kinetic using a Navio2 board. When I attempt to compile, I don't get any syntax errors, but instead get a wall of errors involving dependencies, serializations, and whatnot: CMakeFiles/roscomm.dir/src/roscomm.cpp.o: In function `imuCallback(boost::shared_ptr<sensor_msgs::Imu_<std::allocator<void> > const> const&)':
roscomm.cpp:(.text+0x868): undefined reference to `ros::NodeHandle::NodeHandle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<$
har, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, st$
::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloca$
or<char> > > > > const&)'
roscomm.cpp:(.text+0x8e4): undefined reference to `ros::Rate::Rate(double)'
roscomm.cpp:(.text+0x978): undefined reference to `ros::console::initialize()'
roscomm.cpp:(.text+0x9c4): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, $
os::console::levels::Level)'
roscomm.cpp:(.text+0xa08): undefined reference to `ros::console::setLogLocationLevel(ros::console::LogLocation*, ros::console::levels::Level)'
roscomm.cpp:(.text+0xa10): undefined reference to `ros::console::checkLogLocationEnabled(ros::console::LogLocation*)'
roscomm.cpp:(.text+0xa78): undefined reference to `ros::console::print(ros::console::FilterBase*, void*, ros::console::levels::Level, char const*, int, char const*, char const*, ...)'
roscomm.cpp:(.text+0xa90): undefined reference to `ros::spinOnce()'
roscomm.cpp:(.text+0xac0): undefined reference to `ros::Publisher::~Publisher()'
roscomm.cpp:(.text+0xacc): undefined reference to `ros::NodeHandle::~NodeHandle()'
roscomm.cpp:(.text+0xc08): undefined reference to `ros::Publisher::~Publisher()'
roscomm.cpp:(.text+0xc14): undefined reference to `ros::NodeHandle::~NodeHandle()'
roscomm.cpp:(.text+0xcf0): undefined reference to `ros::console::g_initialized'
CMakeFiles/roscomm.dir/src/roscomm.cpp.o: In function `main':
roscomm.cpp:(.text+0xd54): undefined reference to `ros::init(int&, char**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
roscomm.cpp:(.text+0xd98): undefined reference to `ros::NodeHandle::NodeHandle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<$
har, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, st$
::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloca$
or<char> > > > > const&)'
roscomm.cpp:(.text+0xe3c): undefined reference to `ros::spin()'
roscomm.cpp:(.text+0xe4c): undefined reference to `ros::Subscriber::~Subscriber()'
roscomm.cpp:(.text+0xe58): undefined reference to `ros::NodeHandle::~NodeHandle()'
roscomm.cpp:(.text+0xed4): undefined reference to `ros::Subscriber::~Subscriber()'
roscomm.cpp:(.text+0xee0): undefined reference to `ros::NodeHandle::~NodeHandle()'
CMakeFiles/roscomm.dir/src/roscomm.cpp.o: In function `__static_initialization_and_destruction_0(int, int)':
roscomm.cpp:(.text+0xf48): undefined reference to `boost::system::generic_category()'
roscomm.cpp:(.text+0xf58): undefined ... (more) |
2018-08-16 08:36:33 -0500 | commented question | Compilation Wall of Errors Seemingly Unrelated to .cpp In my CMakeLists.txt file, I added target_link_libraries(roscomm ${catkin_LIBRARIES}) and everything's working now
|
2018-08-16 08:09:28 -0500 | commented question | Compilation Wall of Errors Seemingly Unrelated to .cpp I can't really tell if I'm accidentally C++11, but I haven't used basic_string anywhere in my code. One thing that I did |
2018-08-16 08:08:21 -0500 | commented question | Compilation Wall of Errors Seemingly Unrelated to .cpp I can't really tell if I'm accidentally C++11, but I haven't used basic_string anywhere in my code.
|
2018-08-15 14:50:24 -0500 | asked a question | Compilation Wall of Errors Seemingly Unrelated to .cpp Compilation Wall of Errors Seemingly Unrelated to .cpp
Hi guys,
I've been writing a ROS publisher/subscriber node in C+ |
2018-08-14 18:11:40 -0500 | received badge | ● Popular Question
(source)
|
2018-08-14 10:45:19 -0500 | commented answer | CMake cannot find source file That seems to have done the trick, thanks!
|
2018-08-14 10:45:02 -0500 | marked best answer | CMake cannot find source file Hi guys, I'm using ROS kinetic on a Navio2 board, and I've been working on a project in a catkin workspace. I edited the CMakeLists.txt file to add an executable, but every time I attempt to run catkin_make, I get the following error: CMake Error at link/CMakeLists.txt:201 (add_executable):
Cannot find sourcefile:
link/src/roscomm.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: CMake can not determine linker language for target: roscomm
CMake Error: Cannot determine link language for target "roscomm".
-- Generating done
-- Build files have been written to: /home/pi/ros_ws/build
Invoking "cmake" failed
I know for sure that this file exists, and I've tried using just roscomm.cpp instead of link/src/roscomm.cpp. Edit: The full path is ~/ros_ws/src/link/src/roscomm.cpp The CMakeLists.txt is as follows: cmake_minimum_required(VERSION )
project(link)
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
sensor_msgs
std_msgs
)
catkin_package()
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(roscomm link/src/roscomm.cpp)
target_link_libraries(roscomm ${catkin_INCLUDE_DIRS})
Any help would be great, thanks |
2018-08-14 10:45:02 -0500 | received badge | ● Scholar
(source)
|
2018-08-14 10:43:29 -0500 | commented question | CMake cannot find source file The full path is ~/ros_ws/src/link/src/roscomm.cpp
I've edited the original text so that it can all fit in one place
|
2018-08-14 10:42:44 -0500 | commented question | CMake cannot find source file The full path is ~/ros_ws/src/link/src/roscomm.cpp
The CMakeLists.txt is as follows:cmake_minimum_required(VERSION )
pr |
2018-08-14 10:42:08 -0500 | edited question | CMake cannot find source file CMake cannot find source file
Hi guys,
I'm using ROS kinetic on a Navio2 board, and I've been working on a project in a |