Skip to main content

Questions tagged [multi-thread]

0 votes
1 answer
288 views

I would like to get to know MicroROS. Therefore I worked with one of the recommended boards (Olimex STM32-E407) for the last weeks. And I have a few questions. I really want to know if MicroROS is ...
Johannes's user avatar
0 votes
0 answers
43 views

Im having problems to execute tasks from 2 nodes using the multithreadExecutors and the call_back groups. I'm running 1 node with 2 classes: ...
Juan Miguel Sequeira Da Silva's user avatar
0 votes
1 answer
56 views

Hi, I want to get a value from a topic and after perform some operations on the value retrieved (can't be in the callback function). I imagine a subscriber and this simple loop (python) ...
SebL's user avatar
  • 51
0 votes
1 answer
31 views

I used ros::ok and ros::isShuttingDown inside a thread to find out if the user closed roscore in the terminal by pressing Cnrl+C. However, when I do that, the values of those to function do not change,...
user avatar
0 votes
1 answer
559 views

I'm wondering if I'm setting up different timers, do they run in different threads using roscpp? The background is that one Timer callback is taking a longer time to be executed and, therefore, I want ...
user avatar
1 vote
1 answer
2k views

Hi, I was wondering if there are any best practices for implementing multiple ROS2 nodes in the same process. So far I see the following options: std::thread / pthread SingleThreadedExecutor ...
user avatar
0 votes
1 answer
42 views

I have a service created in C++ that only handles one request at a time. Normally this would not be a problem, but my service is computing a Descartes trajectory, which takes somewhere between 3-8 ...
user avatar
0 votes
1 answer
22 views

Hey guys, I have a world_node which offers a service to register_new_robot. Once called, the service creates a new C++ object ...
user avatar
0 votes
1 answer
77 views

I would like to know how to write a async thread in ROS. An example would be greatly appreciated. Edwin Originally posted by elthef on ROS Answers with karma: 26 on 2015-09-21 Post score: 1
user avatar
0 votes
1 answer
54 views

I would like to implement a node which listens to a TCP socket which receives asynchronous data, converts it into messages and publishes the latest of these messages at a fix rate in a topic. The best ...
user avatar
0 votes
1 answer
82 views

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
19 views

I developed two separate program and tested them. One program is for socket communication with external network the other one is for internal ros work. But then I add the first program as thread into ...
user avatar
0 votes
1 answer
13 views

Hello All, I have two callbacks within a class that share the same data in python. Is it possible that these callbacks are altering the data at the same time? I am getting an error while trying to ...
user avatar
0 votes
1 answer
52 views

When running Movit on my desktop, RViz cannot show smoothly arm trajectories. Well, it looks cool at the beginning, but after 2 or 3 extra plannings/executions, CPU load reaches 100% and arm ...
user avatar
0 votes
1 answer
148 views

Hello, I'm currently working on a node that provides a service to other nodes but I noticed that being a server blocks the execution of the node until a Request. As my node needs to handle some ...
user avatar

15 30 50 per page