playful / chess-sim /code /sim /phase2_baseline.toml
Ali-Uraish's picture
Add files using upload-large-folder tool
fad6045 verified
Raw History Blame Contribute Delete
3.35 kB
# Baseline profile: the simplest scene, to get reliable closed-loop success before
# adding variety back one change at a time. Merged over phase2_config.toml when
# PHASE2_PROFILE=baseline is set (only the keys listed here change).
#
# Fixed: the nominal board (square to the robot, which plays black, flush against the
# deck), reference piece set, tray on the right, table, lighting (the scene's window
# and ceiling lamps), an overhead camera like the owner's (65 cm up,
# straight down, 44 degree lens), no clutter. Black and white pieces, white arm. Outlined markers.
# Ten fixed opening moves from the start position. Sharper video (CRF 18, full
# chroma) so the markers survive encoding.
[dataset]
repo_id = "local/so101_chess_baseline"
root = "data/so101_chess_baseline"
cameras = ["overhead", "wrist"] # the two the policy uses
episodes = 300
episodes_per_piece_set = 1000 # one piece set throughout
video_crf = 18
video_pix_fmt = "yuv444p"
[overlay]
alpha = 0.6
outline_px = 2 # opaque edge around each square
jitter_mm = 0.0
jitter_rot_deg = 0.0
jitter_scale = 0.0
wrist_frame_jitter_mm = 0.0
[piece_sets]
fixed = true # reference set on the nominal board and tray
[board]
robot_plays_white_probability = 0.0
yaw_deg = [0.0, 0.0]
offset_x = [0.0, 0.0]
offset_y = [0.0, 0.0]
[tray]
left_probability = 0.0
azimuth_deg = [47.0, 47.0] # right of the board, 7 mm in from the scene file's tray
radius_m = [0.236, 0.236] # (whose far drop corner is 3 mm past the tray reach)
yaw_deg = [0.0, 0.0]
[table]
fixed_offset = [0.0, 0.0]
[pieces]
offcentre_mm = 0.0
knight_yaw_deg = 0.0
# From the start position: five for the robot's side (black, nearest the robot) and
# five for the far side. Pawns and knights, near and far, left and right.
fixed_moves = ["e7e5", "d7d5", "g8f6", "b8c6", "c7c5", "e2e4", "d2d4", "g1f3", "b1c3", "c2c4"]
[physics]
mass_scale = [1.0, 1.0]
friction = [0.7, 0.7]
board_friction = [0.6, 0.6]
[appearance]
fixed_look = true # nominal board, table, floor, walls, deck and tray colours
piece_colours = "black_white"
arm_colours = ["white"]
two_tone_arm_probability = 0.0
[lighting]
fixed = true
[clutter]
probability = { laptop = 0.0, phone = 0.0, mug = 0.0, notebook = 0.0, pen = 0.0 }
cable_probability = [0.0, 0.0]
[cameras]
# Like the owner's webcam: straight down from 65 cm over the board, 44 degrees top to
# bottom, the arm at the top edge of the image. From there the resting gripper hangs over
# the eighth rank, as it does on the real desk, so that is allowed here.
overhead_height_m = [0.65, 0.65]
overhead_tilt_deg = [0.0, 0.0]
overhead_azimuth_deg = [0.0, 0.0]
overhead_roll_deg = [0.0, 0.0]
overhead_fovy_deg = [44.0, 44.0]
overhead_target_jitter_m = 0.0
overhead_arm_may_hide = true
rover_pos_jitter = 0.0
rover_rot_jitter_deg = 0.0
rover_fovy_jitter_deg = 0.0
wrist_pos_jitter = 0.0
wrist_rot_jitter_deg = 0.0
wrist_fovy_jitter_deg = 0.0
[webcam]
# A clean camera: fixed auto-exposure target, no colour, blur or noise effects, light JPEG.
auto_exposure_target = [0.45, 0.45]
white_balance = 0.0
exposure = [1.0, 1.0]
gamma = [1.0, 1.0]
saturation = [1.0, 1.0]
contrast = [1.0, 1.0]
blur_px = [0.0, 0.0]
noise = [0.0, 0.0]
jpeg_quality = [95, 95]
vignette = [0.0, 0.0]