Conversation
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
|
@ivanpauno if I make |
|
TODO :
|
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
You can, it's just a bit tricky. |
...h_testing/launch_testing_examples/launch_testing_examples/check_multiple_node_launch_test.py
Outdated
Show resolved
Hide resolved
launch_testing/launch_testing_examples/launch_testing_examples/record_rosbag_launch_test.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
jacobperron
left a comment
There was a problem hiding this comment.
Thanks for adding these examples! Most of my comments below are minor nitpicks.
...h_testing/launch_testing_examples/launch_testing_examples/check_multiple_node_launch_test.py
Outdated
Show resolved
Hide resolved
...h_testing/launch_testing_examples/launch_testing_examples/check_multiple_node_launch_test.py
Outdated
Show resolved
Hide resolved
...h_testing/launch_testing_examples/launch_testing_examples/check_multiple_node_launch_test.py
Outdated
Show resolved
Hide resolved
launch_testing/launch_testing_examples/launch_testing_examples/record_rosbag_launch_test.py
Outdated
Show resolved
Hide resolved
|
|
||
| def test_delay(self): | ||
| """Delay the shutdown of processes so that rosbag can record some messages.""" | ||
| time.sleep(3) |
There was a problem hiding this comment.
This seems like a potential gap in launch_testing. It would be nice if there was a launch_testing feature that could delay the shutdown event. I know there is a KeepAlive action, but I don't know if that is exactly what we want here.
There was a problem hiding this comment.
You can just add a Timer action in the launch description with a 3s period that does nothing.
That will keep the launch service alive and delay the shutdown.
It's still kind of a hack though.
launch_testing/launch_testing_examples/launch_testing_examples/record_rosbag_launch_test.py
Outdated
Show resolved
Hide resolved
ivanpauno
left a comment
There was a problem hiding this comment.
LGTM with @jacobperron comments addressed
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
..._testing/launch_testing_examples/launch_testing_examples/check_multiple_nodes_launch_test.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
Signed-off-by: Aditya Pande <aditya050995@gmail.com>
|
Not sure why but Windows CI can't find the |
I have no idea, I would recommend testing on a windows VM. |
Signed-off-by: Aditya <aditya050995@gmail.com>
Signed-off-by: Aditya <aditya050995@gmail.com>
Signed-off-by: Aditya <aditya050995@gmail.com>
launch_testing/launch_testing_examples/launch_testing_examples/record_rosbag_launch_test.py
Show resolved
Hide resolved
|
|
Signed-off-by: Aditya <aditya050995@gmail.com>
Moved from ros2/launch_ros#269
Signed-off-by: Aditya Pande aditya050995@gmail.com