Skip to content

Commit

Permalink
Scripts: Add monitor to sim_control mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxq authored and ycool committed Dec 30, 2017
1 parent 1215e44 commit 05820ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/dreamview_sim_control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ function start() {
supervisord -c /apollo/modules/tools/supervisord/dev.conf >& /tmp/supervisord.start.log
echo "Started supervisord with dev conf"
fi
supervisorctl start monitor > /dev/null
supervisorctl start sim_control > /dev/null
echo "Dreamview is running at http://localhost:8888"
}

function stop() {
supervisorctl stop sim_control > /dev/null 2>&1 &
supervisorctl stop monitor > /dev/null 2>&1 &
pkill -f roscore
}

Expand Down

0 comments on commit 05820ad

Please sign in to comment.