-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecord.sh
More file actions
executable file
·39 lines (36 loc) · 1.26 KB
/
record.sh
File metadata and controls
executable file
·39 lines (36 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
RUN_ID=$1
NUM_EPISODES=$2
if [ -z "$RUN_ID" ] || [ -z "$NUM_EPISODES" ]; then
echo "Usage: $0 <runid> <num_episodes>"
exit 1
fi
# Screwdriver Robot Recording
python -m assembler0_robot.scripts.record \
--robot_port=/dev/servo_5837053138 \
--robot_id=koch_screwdriver_follower_20250814 \
--leader_port=/dev/servo_585A007782 \
--leader_id=koch_screwdriver_leader_20250814 \
--screwdriver_camera=/dev/video0 \
--side_camera=/dev/video2 \
--top_camera=/dev/video6 \
--camera_width=800 \
--camera_height=600 \
--camera_fps=30 \
--fps=30 \
--screwdriver_current_limit=300 \
--clutch_ratio=0.5 \
--clutch_cooldown_s=1.0 \
--gripper_open_pos=50.0 \
--haptic_range=4.0 \
--dataset_repo_id=jackvial/screwdriver_panel_ls_${RUN_ID}_e${EPISODES} \
--num_episodes=${NUM_EPISODES} \
--episode_time_s=15 \
--reset_time_s=7 \
--encode_videos_after=true \
--push_to_hub=true \
--single_task="Move towards the silver screw in the orange panel. Then place the screwdriver bit on the screw, and turn the screwdriver bit clockwise until the screw is has been fully screwed in." \
--display_data=false \
--play_sounds=false \
--log_level=INFO \
--batch_encoding_size=${NUM_EPISODES}