Skip to content

Commit

Permalink
add rosactions convenient function
Browse files Browse the repository at this point in the history
  • Loading branch information
zkytony committed Jan 22, 2022
1 parent 400baef commit e1057a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ function useros() {
fi
}

function rosactions() {
# reference: https://answers.ros.org/question/222748/list-action-servers/?answer=222759#post-id-222759
rostopic list | grep -o -P '^.*(?=/feedback)'
}


function check_exists_and_update_submodule {
if [ -d $1 ]; then
Expand Down

0 comments on commit e1057a9

Please sign in to comment.