Skip to content

Commit

Permalink
🐋 docker + runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezenders committed Jan 22, 2024
1 parent 3d2757d commit e21c255
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ RUN sudo apt autoremove -y && sudo rm -rf /var/lib/apt/lists/

COPY --chown=kasm-user:kasm-user ./runner/ $HOME/suave_ws/src/suave/runner/
RUN chmod +x $HOME/suave_ws/src/suave/runner/rosa_runner.sh
RUN chmod +x $HOME/suave_ws/src/suave/runner/rosa_conf_results_run.sh
RUN chmod +x $HOME/suave_ws/src/suave/runner/scripts/launch_mission.sh
WORKDIR $HOME/suave_ws/src/suave/runner
2 changes: 1 addition & 1 deletion runner/scripts/launch_mission.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ then
ros2 launch suave_missions mission.launch.py adaptation_manager:=$MANAGER mission_type:=$MTYPE result_filename:=$3
elif [ "$1" == "rosa" ]
then
typedb server &
xfce4-terminal --execute typedb server &
ros2 launch suave_rosa suave_rosa.launch.py mission_type:=$MTYPE result_filename:=$3
else
echo "adaptation_manager invalid or missing"
Expand Down
16 changes: 16 additions & 0 deletions runner/scripts/rosa_conf_results_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

MTYPE="time"
GUI="false"

MANAGER="rosa"
./rosa_runner.sh $GUI $MANAGER $MTYPE 20

MANAGER="metacontrol"
./rosa_runner.sh $GUI $MANAGER $MTYPE 20

MANAGER="none"
./rosa_runner.sh $GUI $MANAGER $MTYPE 20

MANAGER="random"
./rosa_runner.sh $GUI $MANAGER $MTYPE 20

0 comments on commit e21c255

Please sign in to comment.