Use variables in main from callback
I need to use three variables that I subscribe from another topic and use it in the main loop. I know that I can use boost function but I don't understand how to use in my case: double theta1f; double...
View Articlelinking boost components - catkin error
I followed most of the answers on how to link properly a library and still I cant compile my package with catkin_make, due to undefined reference to `boost::log::v2s_mt_posix::trivial::logger::get()'...
View Articlelibboost_system.so.1.55 vs. 1.54 on armhf (rpi3)
Hi, I'm compiling ROS Kinetic from source for the Raspberry Pi 3. Recently I started getting a lot of these warnings: Scanning dependencies of target rosout [ 50%] Building CXX object...
View ArticleThe node with pluginlib can not run in custom boost situation
The thing is like this: I compile the boost of version 1.65 into my computer. And I build a package with pluginlib in it. I compile it over. But when I run the node, it will result in a segment fault....
View Articleboost::bind errors in subscriber callback
Hello. New to ROS, Boost, and if I'm quite honest, C++ in general. Basically, I am trying to pass a few parameters to a callback function using boost::bind, but am unable to compile. I am running into...
View ArticleWhy can't CMake find the installed Boost libraries? (Boost-catkin error)
I'm trying to get the Boost library working with catkin and CMake. CMake can successfully find Boost, but can't find the libraries, instead failing to when running `catkin_make` with this error: CMake...
View ArticleProblem with boost library when building packages
Hi, am following this tutorial (http://wiki.ros.org/navigation/Tutorials/SendingSimpleGoals) from the official documentation. But, when i make the package (with rosbuild, not caskin), its fails with...
View Articlearv_camera_new() doesn't open the camera when called within a nodelet
Platform Details: Ubuntu 14.04 LTS Linux Kernel 4.4.0-112-generic ROS Version: Indigo ROS Package: `camera_aravis` from here -...
View ArticleIs it possible to list which boost libraries are depended
I downloaded and installed the ROS Base from source, and I found that some package depended on `boost`. For example, in the file `package.xml` of `rospack`, I can see the line: `boost`. As my...
View ArticleError linking static library: libboost_thread.so: error adding symbols
Hello I have a problem with a static library I want to use. The library is called libSensor.a and is built by a cmake project using cmake 3.11 and linking to boost 1.67, I can't change these...
View ArticleUndefined Symbol related to moveit core and .....
Hi, I have a project to use MoveIt and planning which its CMakeList is as below: cmake_minimum_required(VERSION 3.0) PROJECT(project_one) set(CMAKE_CXX_STANDARD 11) find_package(Eigen3 REQUIRED)...
View ArticleProblem tracking down an cmake error in a ROS/gazebo project
I am trying to upgrade a number of ROS/gazebo nodes made by some other developers: https://github.com/ethz-asl/rotors_simulator My goal is to get them running with Ubuntu 18.04, ROS melodic and Gazebo...
View ArticlewaitForMessage in thread always time-out
I'm implementing a node that is managing multiple controllers for my robot so I want to have the following behavior: - the controllerManager node publish on a "control/manager/tick" topic. - On...
View ArticleROS executable without Boost dependency
Is it possible to create a ROS executable (where the executable is a target of type `executable` within a CMakeLists.txt which is created with catkin and the c++ files include `ros/ros.h`) that does...
View Articlecv_bridge.boost error
I am trying to create a ROS wrapper for caffe2 (Ros Kinetic, opencv version-3.4.1) and I get the following error: [ERROR] [1532132328.463265]: bad callback: > Traceback (most recent call last): File...
View ArticleUbuntu 14.04 Install ROS Indigo with Boost 1.64/1.67
I am on Ubuntu 14.04 and I would like to install ROS Indigo but with a small difference. On Ubuntu 14.04 the `libboost-dev` and `libboost-all-dev` are linked to `libboost1.54-dev` and...
View ArticlePublisher gives segmentation fault unless message is defined in a "parent scope"
Hi, A peculiar bug occurred while making a simple listener/publisher for a visualization application. I am using boost::function to pass a lambda-function; which might be a bit odd, but I do not see...
View ArticleInternal ROS errors: BOOST, deduction failure
I'm currently building a ROS Behavior Tree controlling unit, using the library ROS-Behavior-Tree. But I'm still very new to C++ and ROS, and I have no clue what this error message tries to tell me: In...
View ArticleCalling a callback function in a class method with multiple arguments
Hi, I have a callback function as a class method in a nodelet. While the callback function had a single argument void nodelet_class::ReceiveA1(const sensor_msgs::ImageConstPtr& image) this is how I...
View ArticleCatkin finding wrong version of Boost
I recently tried switching a workspace to build an install space and it fails due to a Boost configuration issue (threading disabled). On further inspection, I saw that CMake was actually building...
View ArticleROS for windows errors with ROS commands: boost_filesystem not found
Windows ROS command line tools fails with error message: "The code execution cannot proceed because boost_filesystem-vc141-mt-x64-1_66.dll was not found..."
View ArticleChange the C++ compiller in ROS to use with openACC and CUDA
I'm trying to compile a rospackage with the PGI compiler that uses [openACC](https://developer.nvidia.com/openacc). I want to parallelize some code. This works with standard c++ code and uses the pgcc...
View Articleroscpp message_filters Approximate Time - compiling error
Hi I try to synchronize two topics with the Approximate Time class of the message_filters package. I started with the package-example code from the documentation and adapted it to my purpose. Here is...
View Articlerviz crashes with tf2, never happen before
Hi, Suddenly rviz crashes on my laptop today. I ran `gdb` to backtrace the crash and it shows that it has something to do with `tf2` and `boost` libraries. Program received signal SIGSEGV, Segmentation...
View ArticleConverting ros::Time to boost ptime with nanosecond resolution
Hi, I wanted to convert ros::Time to boost ptime and found this answer: https://answers.ros.org/question/251966/conversion-from-ros-timestamp-to-iso-8601-time-format/?answer=251967#post-id-251967 It...
View ArticleUnderstanding registerCallback() from TF MessageFilter tutorial
I'm going through the TF [MessageFilter tutorial](http://wiki.ros.org/tf/Tutorials/Using%20Stamped%20datatypes%20with%20tf%3A%3AMessageFilter) and I understand the code except for line 13:...
View Articlecan't find boost after upgrade from indigo to kinetic
Dear all, I've recently upgraded my machine from 14.04 to 16.04. After a fresh install of ros-kinetic-desktop-full, when I type `roscd` and a few tab I get the following error: rospack: error while...
View Articleerror at catkin_make_installation at installation
ROS Version: Melodic Morenia OS: MAC OS MOJAVE Following the instructions at http://wiki.ros.org/kinetic/Installation/OSX/Homebrew/Source getting the following error: Command Executed:...
View ArticleHow to include "cvd/thread.h" hearder from boost?
Hello, I'm Kim. I'm using ROS1 Kinetic on Ubuntu 16.04. I clone this [project](https://github.com/ros-visualization/visualization_tutorials). And I checked out the `kinetic-devel` branch on it. I got...
View ArticleA myriad of libboost errors caused in tf or ros::param::get due to std::tuple...
Ubuntu 16.04 ROS Kinetic DPKG states libboost1.58 for all libraries, catkin_make states libboost 1.50 Very recently I decided to clear /build and /devel and rebuild my workspace. A large list of boost...
View Article