Linux machine log in info:
username: robotlearning2
password: robotlearning2
You can open this file in chrome for a better viewing experience.
Point the browser to
file:///home/robotlearning2/infants/notes.md
Make sure Linux laptop connected to lab PC and time is synchronized.
See below --- chronyc tracking
report latency to the desktop (192.168.253.101).
- Open a terminal
cd ~/infants/
- Launch the cameras:
./start_all.sh
Verify that they start with the command:
rostopic hz /cam_R/color/image_raw /cam_L/color/image_raw /cam_R/aligned_depth_to_color/image_raw /cam_L/aligned_depth_to_color/image_raw
-
Run the experiment script:
python experiment/experiment_driver.py
. -
It will prompt for
subject ID
,task name
, andcondition ID
. Subject ID should be an integer. Task should be in[bang, slide, hammer]
.
Condition numbers for banging:- hard-sphere (high haptic, high audio)
- soft-sphere (high haptic, low audio)
- soft-rattle (low haptic, high audio)
- hard-sphere-muffled (high haptic, low audio)
Condition numbers for sliding:
- washboard-sphere (high haptic, high audio)
- soft-sphere (high haptic, low audio)
- soft-rattle (low haptic, high audio)
- washboard-sphere-muffled (high haptic, low audio)
-
Press ENTER to stop recording that trial.
-
Say
[y/n]
to keep trial or delete. -
Press
ctrl+c
to interrupt and kill the program.
Windows IP: ping 192.168.253.101
Linux IP: 192.168.253.201
Once ethernet is plugged in, it should automatically assign the IP.
ip addr
should show 192.168.253.201
.
You can manually set it like so:
sudo ip addr add 192.168.253.201/24 dev enp1s0
set this IP on windows manually.
ping 192.168.253.101
sudo vim /etc/chrony/chrony.conf
chronyc sources
# <-- should report 192.168.253.101 with *
chronyc tracking
# <-- should tell latency to the server