Skip to content

Commit

Permalink
fix the definition of constants for the autogeneration of communicati…
Browse files Browse the repository at this point in the history
…on objects models
  • Loading branch information
ipa-nhg committed Oct 16, 2019
1 parent 6598880 commit 3d3c891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/generate_messages_model_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ do
cout_msg=$((cout_msg-1))
message=${i/$p\//}
message_show=$(rosmsg show -r $i | sed '/^#/ d' | awk -F'#' '{print $1}')
message_show="$(echo $message_show | sed -e 's/\s=\s/=/g')"
final_desc=$(parserToRosModel "$message_show")
echo -n ' TopicSpec '$message'{ message { '$final_desc' }}'
if (("$cout_msg" >= "1" || "$cout_srv" >= "1" ))
Expand Down

0 comments on commit 3d3c891

Please sign in to comment.