-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROS publishers in "RT thread" #288
Comments
This is definitely something that is worth a better look, but tbh
and some others. It might make sense to refactor things such that there is a stand-alone |
Some of them could be worked around:
Others, such as TCP cannot.
The standalone And I would say this falls under such category. It's relatively straightforward to "fix" and can potentially improve performance. |
Another issue is that the publishers publishing one message per joint (e.g. the temperatures) don't publish all messages due to a configured queue size of one.
|
ROSController
is run in the same thread asRTPublisher
, i.e. the consumer thread in theRTPacket
pipeline. It is generally considered a bad practice to use regular ROS publishers inros_control
's "RT thread", since publishing may be blocking in certain conditions. This should be more carefully examined.A possible solution is to make
RTPublisher
userealtime_tools::RealTimePublisher
instead of plainROS::Publisher
s.The text was updated successfully, but these errors were encountered: