-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jrivero/remove_indexes_noble_prs
- Loading branch information
Showing
2 changed files
with
7 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
Oops, something went wrong.