Skip to content

Commit

Permalink
Merge branch 'master' into jrivero/remove_indexes_noble_prs
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rivero authored May 17, 2024
2 parents cfb61cc + c8caafe commit d7862e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 405 deletions.
11 changes: 7 additions & 4 deletions jenkins-scripts/docker/ros_gz-install-test-job.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ export INSTALL_JOB_POSTINSTALL_HOOK="""
echo '# BEGIN SECTION: ros_gz talker/listener'
ros2 run ros_gz_bridge parameter_bridge /chatter@std_msgs/msg/[email protected] 2>/dev/null &
sleep 1
ros2 topic info /chatter
# ros2 listener
ros2 topic echo /chatter > /tmp/echo_chatter &
sleep 1
# print debug info the chatter topic
gz topic -i -t /chatter
# gz transport talker
gz topic -t /chatter -m gz.msgs.StringMsg -p 'data:\"Hello\"' &
sleep 1
if ! grep -v Hello /tmp/echo_chatter; then
sleep 2
if ! grep -q Hello /tmp/echo_chatter; then
echo 'chatter log file does not contain the expected Hello string'
exit 1
fi
Expand Down
Loading

0 comments on commit d7862e8

Please sign in to comment.