From dbedf9964b9c32a531957e75be53d9f7c82bb40f Mon Sep 17 00:00:00 2001 From: RE Date: Sun, 31 Dec 2023 05:30:13 +0900 Subject: [PATCH] /../../ --- test/test.bash | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/test.bash b/test/test.bash index 2a7f2b5..97cf7ba 100755 --- a/test/test.bash +++ b/test/test.bash @@ -10,10 +10,12 @@ colcon build source $dir/.bashrc # cd src/mypkg -while read INPUT -do - (ros2 launch mypkg talk_listen.launch.py < "$INPUT" ) >/../../tmp/mypkg.log -done < ./inputs.txt +#while read INPUT +#do +# (ros2 launch mypkg talk_listen.launch.py < "$INPUT" ) >/../../tmp/mypkg.log +#done < ./inputs.txt + +ros2 launch mypkg talk_listen.launch.py >../../tmp/mypkg.log cat /tmp/mypkg.log | grep 'Listen: 1'