Skip to content

Commit

Permalink
Update gen_proto_code.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunseok-yang authored May 26, 2020
1 parent 3ab7640 commit d7cd529
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sim_bridge/gen_proto_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ PROTOC="protoc"
MSGS_PATH=${SIM_PROXY_PATH}"/msgs"
TARGET=${ROOT_PATH}"/protobuf/"

mkdir -p $TARGET

MSG="any param param_v color "
MSG+="time vector2d vector3d quaternion pose pose_animation "
MSG+="imu image images_stamped image_stamped laserscan laserscan_stamped "
Expand All @@ -20,4 +22,4 @@ for i in $MSG
do
echo "Generate $i.proto"
eval "$PROTOC -I $MSGS_PATH --cpp_out=$TARGET $MSGS_PATH/$i.proto"
done
done

0 comments on commit d7cd529

Please sign in to comment.