Skip to content

Commit

Permalink
re INPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
RE committed Dec 30, 2023
1 parent d8f7dde commit 8f8b085
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ colcon build
source $dir/.bashrc

cd src/mypkg
# cat inputs.txt | read inpu
inpu = cat inputs.txt
# cat inputs.txt | read INPUT
INPUT = cat inputs.txt
cd ../..
(ros2 launch mypkg talk_listen.launch.py < $inpu ) > /tmp/mypkg.log
(ros2 launch mypkg talk_listen.launch.py < $INPUT ) > /tmp/mypkg.log

cat /tmp/mypkg.log |
grep 'Listen: 1'

0 comments on commit 8f8b085

Please sign in to comment.