You can open this file in chrome for a better viewing experience.
Point the browser to
file:///home/robotlearning2/infants/notes.md
Linux machine log in info:
username: robotlearning2
password: robotlearning2
- Ensure time-sync is good using Verifying NTP time sync
- Open a terminal on linux machine.
- Check if NAS (synology) is mounted:
run:
mountpoint -q ~/synology-tuli && echo "Mounted" || echo "Not mounted"If output is "Not mounted": Run:sudo mount -t nfs 192.168.253.1:/volume1/tuli ~/synology-tuli(password: robotlearning2 ) - Perform calibration by following the calibration guide
cd ~/infants/- Launch the cameras:
./start_all.sh - Verify that they start with
./check_cams.shYou should see all 6 camera topics (color image raw and aligned depth image raw for cameras L, M, R).
-
Activate the virtualenv,
source ~/envs/infants/bin/activate -
Run the experiment script:
python experiment/experiment_driver.py. -
It will prompt for
subject ID,task name, andcondition ID. Make sure the subject ID 3 digits. Example (1) write 001 for (2) write 002 Subject ID should be an integer. Task should be in[bang, slide, hammer].
TODO change thisCondition numbers:- Soft Board - Headphones (low haptics, low audio )
- Soft Board - No Headphones (low haptics, high audio)
- Hard Board - Headphones (high haptics, low audio )
- Hard Board - No Headphones (high haptics, high audio)
- Wash Board - Headphones (high haptics, low audio )
- Wash Board - No Headphones (high haptics, high audio)
- Soft Board and Button - Headphones (high haptics, low audio )
- Soft Board and Button - No Headphones (high haptics, high audio)
-
Press SPACEBAR to start recording that trial.
-
Start recording on Qualisys side. Choose appropriate name
-
When done, stop Qualisys recording
-
Press SPACEBAR to stop recording on linux
-
Say
[y/n]to keep trial or delete.
TODO: Daniel add exact instructions here
- Annotate the mocap markers (Usually Mark does this)
- Transfer the 3 RGB camera videos and the tsv file to the data folder which has ros bags on synology
- ...
Old
- RViz + rosbag playback:
roslaunch launch/visualize_data.launch bag_file:=/absolute/path/to/trial_ros.bag - Record RViz screen:
./record_rviz_screen.sh /home/robotlearning2/infants/recordings/rviz_$(date +%Y%m%d_%H%M%S).mp4 "$DISPLAY" - Stop recording with
Ctrl+C.
rqt_bag <path to bag> and open a bagfile with the gui. This will show images but audio will not play properly.
rqt_image_view first and then rosbag play
You can replay the audio with
c
roslaunch audio_play play.launch
rosbag play <path to bag>
To rsync data: rsync -r --info=progress2 data /home/robotlearning2/synology-tuli/