-
Notifications
You must be signed in to change notification settings - Fork 331
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
Pendulum fixes #385
Pendulum fixes #385
Conversation
Given that this was failing on aarch64 every night for quite a while with a very similar configuration, I'd say this actually fixes it. Woohoo! I'll update the description. |
a6497ac
to
05e0dc8
Compare
It would be good to keep changes like this in a separate PR. Simply because it makes reviewing each PR easier and each one can iterate and get merged independently. (Doesn't have to be for this change now but please do that in the future.)
How can the values be signed? If they conceptionally can't I would advocate to keep the unsigned in the message and do the necessary conversion (or consider updating
👍 |
I struggled a bit with this. While I agree that latency should be an unsigned number, https://github.com/ros2/realtime_support/blob/master/rttest/src/rttest.cpp#L247 clearly wants to sometimes store it as a signed (which eventually gets assigned to |
As we had previously discussed, I tried putting the |
Nobody was ever calling them. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
It is possible to try to collect statistics from the underlying realtime_tools before they are available. If we detect that is the case, skip publishing the data and wait until the data is available. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
rttest_finish() prints out statistics with an extra newline at the end, so we need to expect that here. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
05e0dc8
to
20ce058
Compare
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
I finally figured this out; it was an overflow. This now requires ros2/realtime_support#82 , and should now fix the pendulum failures for real. Here's some more CI for it: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment below, but LGTM!
This PR, along with ros2/realtime_support#81 , should fix an issue in the
pendulum_control
demo where we publish uninitialized data. There are three fixes in here, corresponding to the 3 commits:rtt_executor.hpp
. This isn't strictly required here, but there is no reason for this code to be here since it is never used.realtime_tools
is signed, so this should be signed as well.With this in place, it looks to me like the uninitialized data problems that we have with pendulum_control tests should be gone. This may solve ros2/build_farmer#133 ; I'll see what happens when CI comes back. @cottsay FYI as current build farmer.
Fixes ros2/build_farmer#133
Fixes #386