Questions tagged [multithreading]
The multithreading tag has no summary.
41 questions
0
votes
0
answers
7
views
Action server with mutually exclusive group does not work as expected [ROS2 - Python]
Context
Hello, I recently wanted to implement a ros2 node (in rclpy) that manages multiple action servers. I wanted to make sure that only one action goal can be ...
0
votes
1
answer
54
views
Interaction between Python threads and ROS2
I'm trying to speed up a post-processing pipeline based on ROS and since the data is in a bag file I tried the following architecture:
A node opens the bag with ...
0
votes
0
answers
72
views
ROS 2 Action Server doesn't accept new goals after completing one mission
I'm working with a custom ROS 2 Action Server that coordinates a hybrid automaton. When a goal is received, the server triggers a set of services and continuously publishes feedback until a mission-...
0
votes
0
answers
47
views
CPU Multithreading in Gazebo Harmonic
I'm simulating a crawling robot in Gazebo Harmonic that consists of a main body with six same robotic arms attached. Each arm is implemented as a separate model with the same control plugins. While ...
0
votes
1
answer
57
views
Race Conditions in ROS 2 Parameter Service: Security vs Performance Trade-offs
We've been investigating potential race conditions in ROS 2's parameter service on an NVIDIA Jetson Orin NX platform running ROS 2 Humble. Our findings reveal an interesting trade-off between thread ...
0
votes
1
answer
142
views
Parallelization across multiple processors with ROS2 Python
Are there any recommended ways for doing full multithreaded processing (multiple cores) with ROS2 python/rclpy? The multithreaded executor is often recommended, but it seems that executor is subject ...
2
votes
0
answers
64
views
Why using tf2 message filters callbacks leads to unexpected concurrency?
everybody. Our team using ROS Humble with Ubuntu 22.04. We have node that is using tf2 message filters to invoke message callbacks after needed transform has been published. The node has three ...
1
vote
0
answers
61
views
ROS: Further understanding the diffrence of MultiThreadedSpinner and AsyncSpinner
I have several years of experience with robot software development using ROS, especially ROS Noetic. I want to clarify my understanding about ...
1
vote
0
answers
42
views
rclcpp::AsyncParametersClient inside a timer callback
I am trying to have a parameter client set the parameters of a node in a timer callback.But unfortunately the parameters are not set during the callback the code is as follows. i also tested with a ...
0
votes
0
answers
40
views
How do I determine the order of ROS messages in Python
I am using ros-noetic. I am receiving ROS messages and putting them into a python Queue which is FIFO. I suspect but I am not sure that what is happening is the subscriber callbacks are called in a ...
2
votes
1
answer
205
views
ROS2 data consumer/aggregator pattern
I'm fairly new to ROS2 after having worked with ROS for a number of years.
A typical pattern we would often use was to have a ROS node subscribe to a number of inputs, and then combine and process ...
0
votes
1
answer
49
views
Multiple subscriber cbs to service handler
I need to covert single incoming messages from a GUI (following the logic publish once) and in the callback invoke a service request to a device. The service request should wait for a response, which ...
1
vote
1
answer
155
views
Blocking call on MoveIts CurrentStateMonitor?
I've created my own move_group_interface due to some complications with the original and the need to expose more functionality of ...
0
votes
1
answer
288
views
MicroROS and Multithreading - freeRTOS vs Zephyr
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 ...
0
votes
1
answer
1k
views
ROS2 multi-threaded executor timers block subscriber callbacks
Using RCLCPP, ROS2-Iron, Ubuntu 22.04.
Using rclcpp::executors::MultiThreadedExecutor executor
When defining callback groups, if I leave both timers and subscribers ...