Files
kair_algorithms_draft/docker_train.sh

16 lines
423 B
Bash
Executable File

#!/bin/bash
ROS_DISTRO=kinetic
CATKIN_WS=/root/catkin_ws
KAIR=$CATKIN_WS/src/kair_algorithms_draft
if [ "$1" == "lunarlander" ]; then
cd $KAIR/scripts; \
python run_lunarlander_continuous.py --algo $2 --off-render
elif [ "$1" == "openmanipulator" ]; then
cd $KAIR/scripts; \
/opt/ros/$ROS_DISTRO/bin/rosrun kair_algorithms run_open_manipulator_reacher_v0.py --algo $2 --off-render
else
echo "Unknown parameter"
fi