mirror of
https://github.com/wassname/kair_algorithms_draft.git
synced 2026-08-25 11:19:30 +08:00
16 lines
423 B
Bash
Executable File
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
|