Launch files and scripts for HERB.
In order to load all ROS nodes for demo, on HERB2
, run
scripts/start_herb_all.sh
This script will start all ROS nodes on herb machines. (tmux sessions on herb2
: roscore
, multisense
, apriltags
, deep_pose_estimators
, schunk_neck
, talker
, and state_publisher
. tmux sessions on herb0
: ros_control
)
If you want to start HERB2
only, run
scripts/start_herb2_tmux.sh
If you successfully run
start_herb_all.sh
script,ros_control
onherb0
should be loaded. Check tmux sessions withtmux ls
before running the start script onherb0
.
On HERB0
, run
scripts/start_herb0_tmux.sh
This script will load ros_control
in tmux sessions.
source $(catkin locate)/devel/setup.bash
roslaunch herb_launch <file_name.launch>
Check this document on pr_docs/Starting Herb.
-
list sessions:
tmux ls
-
open a new session:
tmux new -s <session name>
-
attach to a session:
tmux a -t <session name>
-
start scrolling in a session:
<ctrl + b> + [
and move cursor -
stop scrolling: press
q
oresc
in scrolling mode -
detach from a session:
<ctrl + b> + d
-
kill all sessions:
pkill -f tmux
To sync time on Herb machines, run:
sudo sntp -s 0.us.pool.ntp.org
sudo ntpd -q
on each Herb machine.