Go2Py/dds_messages/make_msgs.sh

18 lines
296 B
Bash
Raw Normal View History

2024-05-05 09:14:41 +08:00
#!/bin/bash
GREEN='\033[0;32m'
NC='\033[0m' # No Color
echo -e "${GREEN} Starting DDS type generation...${NC}"
# Clean
rm -r ../unitree_go
rm -r ../go2py_common
# Make
for file in idls/*.idl
do
echo "Processing $file file..."
idlc -l py $file
done
mv unitree_go ../
mv go2py_common ../