Robotics StackExchange | Archived questions

How to make use of real-time patch in ROS

Hi guys,

I'm involved in a robot project with real-time requirements. And I find out that the PR2 is using PREEMPT_RT patch. Now I have installed real-time ubuntu with kernel 3.2.0 by following the instructions from Real-Time Linux Wiki successfully, and have ROS Fuerte installed.

According to the Real-Time Linux Wiki, there is no special APIs for real-time. And I also notice that the pr2controllermanager package provides a good infrastructure to run controllers in a hard real-time loop. I really want to know some hints about the way pr2controllermanager realizes the hard real-time by PREEMPT_RT patch. Is the way using boost thread in code realizes the real-time, or some other tricks?

The second question is, how can I test my real-time node in ROS? What's test strategy of pr2controllermanager?

Thank you very much! Simon

Asked by cnhzcy14 on 2012-06-13 04:32:03 UTC

Comments

Answers