Questions tagged [boost]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

Why cmake is looking for default Boost version?

I have installed latest Boost library 1.80.0 from source on Ubuntu 20.04, then I tried to install the abb_robot_driver, but I ...
user avatar
0 votes
1 answer
8 views

ROS C++ Dynamic Reconfigure bind error

Hello, I've got problem with Dynamic reconfigure. I want to create bind function for DynamicGUI Class due to tutorial, but something is wrong. All Dynamic reconfigure functionality is in DynamicGUI ...
user avatar
0 votes
1 answer
11 views

Issues calling registerCallback()

Hello, I want to synchronise two topics by using Time_synchronizer. The first one is Is a sensor_msgs and the second one is a ...
user avatar
0 votes
1 answer
12 views

catkin_make error while building hector_slam

hi, i was working on mavros in jetson nano(melodic, aarch64) i have cloned this to my catkin_ws: ...
user avatar
0 votes
1 answer
25 views

compiler warning: parameter passing for argument X changed in GCC 7.1 (ARM)

Hi, I'm getting a few of the following warning when compiling a node using geometry_msgs::Twist. Any idea what I'm doing wrong and how to get rid of it? EDIT: ...
user avatar
0 votes
1 answer
3 views

message_filter synchronize boolean msg

Hello I want to add a boolean msg in my synchronizer but it seems that BoolConstPtr definition in the callback function is not working. Here is my class and callback dsefiniton. ...
user avatar
0 votes
1 answer
4 views

Why do we need to bind this pointer to a member function in boost::bind?

Hi, I noticed in many boost::bind applications, for example here, we need to bind this pointer to a member function. What does ...
user avatar
0 votes
1 answer
7 views

Buildfarm - Failing to find dependencies

I'm having trouble building a ros2 package on the buildfarm. It seems to be having issues finding the packages listed in CMakeLitst.txt. Error messages are as follows: ...
user avatar
0 votes
1 answer
3 views

Boost thread blocking ros::spin

I have a class that has a member variable which is an object of another class ...
user avatar
0 votes
1 answer
4 views

pthread_recursive_mutex - assertion failed error

I'm getting the following error. I have all the latest ros codebase and I don't have any activity servers. I only have publishers, subscribers and services. I'm attaching the backtrace as well. ...
user avatar
0 votes
1 answer
12 views

Problems with boost::bind in a class with message_filter

Hello, I am attempting to use a class to synchronize subscription to a detection message [vision_msgs/Detection2DArray] and a camera_info message. I am getting compile errors when binding the ...
user avatar
0 votes
1 answer
79 views

"cv_bridge" throws boost import error in Python 3 and ROS Melodic

I'm running a script that uses cv_bridge with OpenCV 4, on Python 3, on ROS Melodic, on Raspbian, on a Raspberry Pi 4, and I'm running into errors trying to dynamically import ...
user avatar
0 votes
1 answer
17 views

ROS cannot find Boost header files

I am running Ubunti 18.04 with ROS Melodic. I was installing ROSPlan and while doing that I get errors related to Boost Headers. The output of catkin build is as ...
user avatar
0 votes
1 answer
8 views

Dynamic reconfigure C++ boost::bind error

Hello everyone, I am working on ROS kinetic on Ubuntu 16.04. Today I have decided to implement the dynamic reconfigure in my node ROS in order to tune some parameters by dynamically change them ...
user avatar
0 votes
1 answer
5 views

Boost error: ‘f’ cannot be used as a function

I encountered a really strange error. I am writing a really simple code. Mostly still empty and just learning how to write node in C++. My code consist of 3 files. RoverMove.cpp ...
user avatar
0 votes
1 answer
11 views

Is it possible to use Boost 1.71 on Ros Melodic?

Platform: ROS Melodic on Debian Stretch. Hello, I am trying to create a package which uses a library that requires Boost 1.71 is it possible for me to install newer version of Boost and use it in a ...
user avatar
1 vote
2 answers
172 views

ament_export_dependencies(Boost) not working?

I'm trying to use a library that depends on boost, and it doesn't seem like boost is properly being pulled in as a recursive dependency. How do I properly export the dependency on boost for downstream ...
user avatar
0 votes
1 answer
23 views

Understanding registerCallback() from TF MessageFilter tutorial

I'm going through the TF MessageFilter tutorial and I understand the code except for line 13: ...
user avatar
0 votes
1 answer
2 views

ROS 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++ ...
user avatar
0 votes
1 answer
4 views

Is 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 ...
user avatar
0 votes
1 answer
25 views

arv_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 - https://github.com/linknum23/...
user avatar
0 votes
1 answer
65 views

Why can't CMake find the installed Boost libraries? (Boost-catkin error)

I'm trying to get the Boost library working with catkin and CMake on Linux (Ubuntu 14.04). CMake can successfully find Boost, but can't find the libraries, instead failing to when running ...
user avatar
0 votes
1 answer
12 views

boost::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 ...
user avatar
0 votes
1 answer
1 view

The 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. ...
user avatar
0 votes
1 answer
1 view

libboost_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: ...
Clyde McQueen's user avatar
0 votes
1 answer
8 views

ROS dependency Boost 1.58, additional dependency Boost 1.64?

Hey everyone, I've got a problem here that I seem unable to solve... or even fully get my head around. ROS itself installs libboost 1.58 as one of its dependencies. ...
user avatar
0 votes
1 answer
1 view

Ros Jade Osx - compiler error robot_state_publisher

Hi @all i would like to install ros jade on osx. i know that is in experimental state but there's no other way. in package robot_state_publisher an error is generated. ...
user avatar
0 votes
1 answer
2 views

Link rospack to newer version of boost

I was follwing the ROS tutorials where I had to create the beginner tutorial package. I used the following command ...
user avatar
0 votes
1 answer
32 views

How to add parameters to a subscriber callback function given that it is also an action_client

Hello, I'm new to ROS and my situation is the following: I have a node which subscribes to a Topic, so of course I have my callback function (which by the way uses a custom message so the problem may ...
user avatar
0 votes
1 answer
4 views

Ros barebones compiled from source for QNX crashes with memory fault

I have successfully cross compiled ROS barebones for QNX to be run on ArmV7. When I attempt to run ros master or rosout the program crashes with a memory fault. Debugging it further reveals that it ...
user avatar
0 votes
1 answer
6 views

Baxter Installation error (boost vs. QT conflict)?

Hello there, I get an error while trying to build the baxter simulator by following their installation instructions on ros kinetic and Ubuntu 16.04 LTS. The error is specifically when I try to make ...
user avatar
0 votes
1 answer
1 view

linking 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 ...
user avatar
0 votes
1 answer
5 views

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: ...
user avatar
0 votes
1 answer
8 views

cv_bridge installation error: wrong number of template arguments

I am getting an error when trying to install cv_bridge on Ubilinux (based on Debian 7 Wheezy), with ROS Indigo. The error is quoted below. I already discovered this answer: http://answers.ros.org/...
user avatar
0 votes
1 answer
1 view

Add external data to callback function of subscriber

Hi there. I'm trying to add external data in the callback function of subscriber. I have read somethings about that and the option is to use "boost::bind". I have developed this code but I ...
user avatar
0 votes
1 answer
4 views

Dreaded linker error. Boost and catkin_make

Hey there, I am creating my own package with Boost, and I have a .cpp file that is able to compile using g++ with: ...
user avatar
0 votes
1 answer
5 views

Providing arguments to subscriber callback function

Hello, I am trying to register same callback for different topics.What I am trying to do is distinguishing the message origin. I am trying to provide argument to callback function to achieve this.I am ...
user avatar
0 votes
1 answer
2 views

catkin_make error related to boost_roscpp

Hi all, My first try of ROS ends up with this error that I could not fix: I used catkin_create_pkg to create a ros_test package, and I also appropriately modified both CMakeLists.txt and package.xml ...
user avatar
0 votes
1 answer
1 view

writing a subscriber with 2 arguments

Hi, im new to ROS and PCL and i want to process the data provided by a xtion pro live using openni. my goal is to estimate a groundplane using a function void groundplane (CloudT::ConstPtr cloud_in, ...
user avatar
0 votes
1 answer
7 views

TimeSynchronizer compilation error

Hi, I am trying to implement a simple approximate time synchronizer that synchronizes two topics, Imu data and a twist message from an xbox controller I have not even departed from the structure of ...
user avatar
0 votes
1 answer
1 view

Redeclare loop_rate depending on boolean

Given this example, in which I want to decide via if which loop_rate to use when spinning ...
user avatar
0 votes
1 answer
9 views

Thread safe spinning with Mutex and boost::threads

I have several threads accessing the same function. To guarantee safe spinning, which means none of the threads calls ros::spinOnce() at the same time I used ...
user avatar
0 votes
1 answer
3 views

Building error: Indigo on Debian Jessie: pluginlib "undefined reference to..."

Hi there, I am currently trying to build ROS indigo from source on my Debian Jessie machine. I keep on getting the following error when the process is trying to build the package "pluginlib"....
user avatar
0 votes
1 answer
1 view

boost 1.60 with ROS Jade

I'd like to use boost 1.55 or later with ROS Jade. How can I do it correctly ? If possible, I'd like to use boost installed locally. As I show later, roscpp depends on boost 1.54.0 and it seems to ...
user avatar
0 votes
2 answers
16 views

subscriber msg: shared_ptr vs. reference

Hi! I have a topic which is subscribed to by two different nodes. The subscribers used to have a const boost::shared_ptr< nav_msgs::Odometry> as variable. For several weeks, this worked well, ...
user avatar
0 votes
1 answer
14 views

boost::bind with Ros Service

I have a ROS Service GripperState --- int32 gripperState int32 paddleState And In my main.cpp file I have this line since I need gripper data from robot needs to ...
user avatar
0 votes
1 answer
7 views

How to run ros::spin in the background

Hi, I have a qt application and which has many Callbacks. As I dont have and infinite loop, I can't write ros::spin(). I would like to have ros::spin() or spinonce() in the background. How can i ...
user avatar
0 votes
1 answer
12 views

Using Boost with roscpp (Catkin errors)

I'm trying to use some boost functions in my C++ ROS code, but running into some frustrating issues with catkin. In my CMakeLists.txt file, I have the following: ...
user avatar
0 votes
1 answer
2 views

Boost not found?

I recently upgraded from Ubuntu 12 to 14.04. I also upgraded ROS Groovy to Indigo. However, when I migrated one of my packages, it could not find boost anymore during compilation : ...
user avatar
0 votes
1 answer
2 views

Boost::Thread and ROS Fuerte CMake help

Ok, so I am trying to utilize boost threads in a ROS application and I have been trying to figure out how to link boost to the the final exe. I keep finding conflicting ways on how to do this and not ...
user avatar