generate2ros_groundTruthLabels_variant.sh 602 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/bash

echo "Cleaning target directory..."
rm -rf target/*

echo "Generating code..."
7
java -jar embedded-montiarc-math-middleware-generator-0.0.18-SNAPSHOT-jar-with-dependencies.jar project_groundTruthLabels.json
8 9 10 11 12 13

echo "Copying build and run scripts..."
cp -rf resources/scripts/* target/
chmod u+x target/*.sh

echo "Copying CNN weights..."
14 15
cp -rf resources/TORCSComponent target/TORCSComponent
chmod u+x resources/TORCSComponent/*.sh
16 17 18 19 20 21 22
cp -rf resources/dpnet target/model

echo "Building generated code..."
cd target
./build_all.sh

echo "Please start TORCS, configure race and run ./run_all.sh"