#!/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