Skip to content
Carter Frost edited this page Feb 8, 2021 · 8 revisions

Welcome to the SC2 wiki!

put in .bashrc to make life easier

alias ro='cd /pathToRepo/SC2 && catkin clean -y && source ./srcp2-competitors/ros_workspace/install/setup.bash && catkin build && source ./devel/setup.bash && echo Done'

Reminder

catkin clean -y
source ./srcp2-competitors/ros_workspace/install/setup.bash
catkin build
source ./devel/setup.bash
roslaunch ./launch/scoot.launch "search:=searchRandomWalk" "mode:=manual"
#other term
ROS_NAMESPACE="/scout_1" rosrun scoot repl.py

Here is some stuff that may be useful

Watching Logs

tail -f /tmp/srcp2/simulation/runtime.log ~/.ros/log/latest/*

Teleop

source the stuff

source /opt/ros/noetic/setup.bash  

source ./srcp2-competitors/ros_workspace/install/setup.bash

install

sudo apt-get install ros-noetic-teleop-twist-keyboard

run the simulation when it opens click the play button

./srcp2-competitors/docker/scripts/launch/roslaunch_docker --run-round 1

then run in another terminal and do the same sourcing

rosrun teleop_twist_keyboard teleop_twist_keyboard.py cmd_vel:=/scout_1/skid_cmd_vel

Location of container dump

Also in the container take a look at /ros_workspace/install/lib/srcp2_qual_control/scripts/scripts I uploaded the zip to slack https://bclabunm.slack.com/files/URYCKNNGM/F014KNLBS56/dockerrosworkspaceinstall.zip

Clone this wiki locally