support multiple hw ids and updater ids per updater#25
support multiple hw ids and updater ids per updater#25bjv-capra merged 4 commits intomicro-ROS:masterfrom
Conversation
|
I didn't want to remove the updater_id from the updater struct. But at the same time, there's nothing setting it up. So I didn't know what to do with it ATM. |
|
@norro friendly ping. Thoughts? |
|
Sorry @bjv-capra, I am pretty swampedright now. I will have a look at it in the afternoon or beginning of next week. |
There was a problem hiding this comment.
It took me a bit, because I wanted to understand that this PR is still allowing to emulate the current setup. For this I created ran the entire pipeline from example updaters to bridge to aggregator to robot monitor (sort of what I suggest to do automatically in #28).
All in all the PR looks good to me. It seems that just the example updaters (MICRO_ROS_DIAGNOSTIC_UPDATER_EXAMPLES=True) and a bit of documentation is necessary.
Thank you for the suggestion and implementation. :)
|
Regarding the examples, why would we enable them by default? I'll see to update the documentation. |
|
Oh, sorry, I didn't mean to make them default, just to update them. Currently, they don't build properly in this PR, if someone would enable them. |
|
Got it, I'll update them and update the PR. |
|
Just FYI, while updating the PR I noticed that the system default QoS drops messages. I couldn't quite find the default values of the struct. I changed it to be reliable and keep_last(10). I also refactored the examples a bit, I still need to update the Readme EDIT: volatile had nothing to do with the issue. |
|
Agreed, the default QoS does not seem to be appropriate. |
|
@norro Any clue why the pipeline fails to build? It says it doesn't know Off-topic, wouldn't be a bad idea, as diagnostics is quite a widely used feature. |
|
I can reproduce this error in my local setup, but don't really understand this either. The symbol |
|
Seems I was running with an old version of galactic. I updated it and I do get the same error now. But I don't quite understand why. Do I need to build rclc from source? |
|
I think I found a possible fix |
Codecov Report
@@ Coverage Diff @@
## master #25 +/- ##
==========================================
- Coverage 39.20% 39.02% -0.18%
==========================================
Files 2 2
Lines 125 123 -2
Branches 19 19
==========================================
- Hits 49 48 -1
+ Misses 62 61 -1
Partials 14 14
Continue to review full report at Codecov.
|
|
@norro this is ready now |
norro
left a comment
There was a problem hiding this comment.
Thank for the PR, @bjv-capra. I think diagnostics get more suitable for micro controllers now with these changes.
|
@bjv-capra Just seconds before your merge, I realized that you forgot to sign your commits, which is part of our contribution guideline (see https://github.com/micro-ROS/micro_ros_diagnostics/blob/master/CONTRIBUTING.md#sign-your-work). I added the DCO check to the PR checks now for the future. |
|
I tried to force-push and got |
This PR resolves #16