-
Notifications
You must be signed in to change notification settings - Fork 160
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
Multimachine communication #432
Conversation
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.
Unless I'm missing the point, I assume we would want two different verbs for testing multi-machine communication: one for sending data (publish ROS messages, send multicast data, etc) and other for receiving. The implementation as it stands is sending/receiving data to/from the same process, which may bypass the network interface (e.g. intra-process pub/sub). (I missed the point)
Beside this, I've left some other minor comments and nitpicks.
@jacobperron The |
Thanks for updating the description, it's helpful to have the context! I think I missed the point originally; you can disregard my previous comment. There shouldn't be any network bypassing happening if there are different hosts on the same ROS network. Double check that they are using the same ROS_DOMAIN_ID. I think we can make some improvements to the executor/send-receive loop too. |
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.
In addition to my minor comments below, it would also be nice to have a unit test that exercises the new verb.
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
ee9c417
to
e7ca7c9
Compare
…t lock. prefix variables, add infinite loop Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
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.
LGTM!
Just a couple minor comments.
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Signed-off-by: claireyywang <clairewang@openrobotics.org>
ros2doctor/test/test_hello.py
Outdated
cmd=['ros2', 'daemon', 'start'], | ||
name='daemon-start', | ||
on_exit=[ | ||
OpaqueFunction(function=lambda context: ready_fn()) |
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.
FYI, this is the old (soon-to-be deprecated) way of doing this. Use launch_testing.actions.ReadyToTest()
instead.
Signed-off-by: claireyywang <clairewang@openrobotics.org>
Run
ros2 doctor call
command to test pub/sub, multicast send/receive quality across multiple machines. The command outputs a summary table /1s.Test cases will be submitted in a separate PR.