Conversation
|
@Marwan99 please review. Its not quite working yet (one last quirk) & need to add tests, but look over the basics of what's going on |
Marwan99
left a comment
There was a problem hiding this comment.
Looks good in principle.
|
tested:
Needs testing / working
|
Codecov Report
@@ Coverage Diff @@
## master #1869 +/- ##
==========================================
- Coverage 70.14% 70.11% -0.03%
==========================================
Files 218 218
Lines 10586 10649 +63
==========================================
+ Hits 7426 7467 +41
- Misses 3160 3182 +22
Continue to review full report at Codecov.
|
|
Looks good to me! |
|
I'm super irritated - so I have things generally working (if a server dies or breaks the bond, the lifecycle manager hears about it and triggers things down). Now the issue is that I can't keep things up stably. I have printouts saying that both directions are sending regular heartbeats but then after the timeout period, every single time one of the servers triggers a failed heartbeat connection to the lifecycle manager checking if they're broken and the lifecycle manager brings down all the nodes. I think bondcpp is broken or something really weird happening. I see the active regular heartbeats coming in at 4x the rate of the heartbeat timeout so everything should be working fine. I think it has to do with the ROS1 to ROS2 port trying to be fancy and ended up messing alot of things up. @naiveHobo mind taking a look? See the repos file for my fork of bondcpp to enable lifecycle. Take particular attention at the heartbeat things & the ROS1 versions. I see the I think the timeout.cpp from ROS1 is not equivalent to the weird timer reset / cancel functions they added. |
|
Yup sure, on it |
|
Awesome! I also filed a ticket in Bond itself since I got deep enough into it to believe that bond itself is broken. Today I'm going to scour the interwebs for another ROS2 application using it, but I'm not hopeful, to see if I'm just messing something up and its working for anyone else. |
|
new PR to replace later today |
Basic Info
Description of contribution in a few bullet points
Description of documentation updates required from your changes
Future work that may be required in bullet points
Before end of WIP: