ros2 / examples

Example packages for ROS 2
Apache License 2.0
691 stars 311 forks source link

Final batch of examples #327

Closed adityapande-1995 closed 2 years ago

adityapande-1995 commented 2 years ago

Moved from https://github.com/ros2/launch_ros/pull/269 Signed-off-by: Aditya Pande aditya050995@gmail.com

adityapande-1995 commented 2 years ago

@ivanpauno if I make number_of_nodes as a launch argument, I won't be able to use it in generate_launch_description() to launch nodes based on that number

adityapande-1995 commented 2 years ago

TODO :

ivanpauno commented 2 years ago

@ivanpauno if I make number_of_nodes as a launch argument, I won't be able to use it in generate_launch_description() to launch nodes based on that number

You can, it's just a bit tricky. We should have something in launch to make it easier, let me see if I can provide an snippet showing how to do it.

adityapande-1995 commented 2 years ago

CI :

build : --packages-above-and-dependencies launch_testing_examples test : --packages-above launch_testing_examples

adityapande-1995 commented 2 years ago

CI round 2 : build : --packages-above-and-dependencies launch_testing_examples test: --packages-above launch_testing_examples

adityapande-1995 commented 2 years ago

CI round 3 :

adityapande-1995 commented 2 years ago

Not sure why but Windows CI can't find the metadata.yaml file generated by the rosbag.

ivanpauno commented 2 years ago

Not sure why but Windows CI can't find the metadata.yaml file generated by the rosbag.

I have no idea, I would recommend testing on a windows VM.

adityapande-1995 commented 2 years ago

CI : Disabled the test record_rosabag_launch_test.py on windows

Macos rerun : Build Status

adityapande-1995 commented 2 years ago

rosbag_record_launch_test.py has been disabled on windows for now due to CI. Relevant issue : https://github.com/ros2/rosbag2/issues/926