[ros-users] [Discourse.ros.org] Questions about improving th…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Davide Faconti via ros-users
Date:  
To: ros-users
Subject: [ros-users] [Discourse.ros.org] Questions about improving the ROS real-time method


Hi,

from you question it is hard to understand the root of the problem. Is it throughput or latency/jitter?

It is hard to believe that a SLAM algorithm, that usually runs at less than 30 hz, might have any problem of latency when PREEMP_RT is installed.

I agree that ROS 1 is not meant to be used to build real-time system, but usually you notice this limitation with control algorithms that runs at 200+ Hz.
Using Orocos without understanding what the problem is, it is probably the wrong thing to do. Additionally, I suggest you to first understand what makes orcos different from ROS and in which cases it helps

My instinct is telling me that your problem is not real-time but a wrong utilization of your CPU. May be you are running an algorithm that can be parallelized to use all the CPUs of your system at once and meet your time constraints.

I suggest you to carefully profile your application to understand what the bottleneck is.

EDIT: If you do think the problem is latency and NOT throughput, try using ros_control and nodelets.

Davide





---
[Visit Topic](https://discourse.ros.org/t/questions-about-improving-the-ros-real-time-method/2302/4) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>