Skip to content

Instantly share code, notes, and snippets.

@mallamanis
Created September 28, 2011 11:53
Show Gist options
  • Select an option

  • Save mallamanis/1247758 to your computer and use it in GitHub Desktop.

Select an option

Save mallamanis/1247758 to your computer and use it in GitHub Desktop.
Print all messages in ROS
#!/bin/bash
for line in $(rospack list-names)
do
for msg in $(rosmsg package $line)
do
echo 'Message ' $msg ' in ' $line
rosmsg show $msg
echo '-----------------------------------------------------'
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment