Invntr
Source

All instruments

arm

A serial robot arm on a weighted base (yaw, pitch joints, roll wrist, gripper), sized by statics and rigid-body dynamics. Per joint: the torque needed in the worst pose (arm straight out, level, payload at the fingertips, plus inertia at the given angular acceleration) against what its drive gives (motor x usable fraction x ratio x efficiency, capped at the gearbox rating), and the margin. Per tube link: weight, cantilever sag, root stress. Whole arm: reach, mass, tip sag, tip-over margin, joint speeds, fingertip of the shown pose. Motor, gearbox and material figures are inputs (assumptions until replaced by datasheets). Files: parts.csv, joints.csv, shoulder_torque.csv, scene.glb (the arm in its pose, metres, one mesh per part, metal finishes).

Field
Dynamics and control
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
2 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replayarm 0.1.0 · files 4441a7ed195c…56b1
  1. r0001one level link of 2 kg, 1 m, 1 kg at its end: shoulder torque g(mL/2 + PL) = 19.6133 N m, reach 1 mpassed

    joints.J2.required_Nm{"value": 19.6133, "rel_tol": 1e-12}
    reach_m1 ± 1e-121lockedunder 0.01 % of the tolerance used
  2. r0002two 1 m links, shoulder up 90, elbow -90: fingertip at x = 1, y = 0.5 + 1; shoulder torque level g(1x0.5 + 1x1.5) = 19.6133 N mpassed

    fingertip_m.0{"value": 1.0, "abs_tol": 1e-12}
    fingertip_m.1{"value": 1.5, "abs_tol": 1e-12}
    fingertip_m.2{"value": 0.0, "abs_tol": 1e-12}
    joints.J2.required_Nm{"value": 19.6133, "rel_tol": 1e-12}
    joints.J3.required_Nm{"value": 4.903325, "rel_tol": 1e-12}
  3. r0003a 50 x 5 mm aluminium tube, 1 m, under its own weight: sag wL^4/8EIpassed

    links.tube.tip_deflection_m{"value": 0.00018451536585365854, "rel_tol": 1e-09}
    tip_sag_m0.000184515 ± 1.8e-130.000184515lockedunder 0.01 % of the tolerance used
  4. r0004the default arm builds: at least 15 parts in the scene, reach 1.36 mpassed

    scene.meshes{"min": 15}
    reach_m1.36 ± 1.4e-121.36lockedunder 0.01 % of the tolerance used
4 of 4 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
payload_kgkg1.5Held at the fingertips.
accel_deg_s2deg/s^290Peak angular acceleration of every joint, for the inertia torque.
required_margin12.0Torque and stress margin a joint or link must reach.
pose_degdeg[-35, 55, -80, -40, 0]Shown pose: yaw, then each pitch joint (relative, degrees from level for the first), then roll.
payload_offset_mm0.02How far the payload's centre sits off the roll axis.
payload_size_mm0.06Edge of the payload cube shown in the gripper.
base{"height_m": 0.3, "radius_m": 0.22, "mass_kg": 30}height_m (shoulder axis height), radius_m, mass_kg.
links[{"name": "upper arm", "length_m": 0.6, "od_m": 0.08, "wall_m": 0.004}, {"name": "forearm", "length_m": 0.5, "od_m": 0.06, "wall_m": 0.003}, {"name": "wrist", "length_m": 0.1, "od_m": 0.05, "wall_m": 0.003}]Tubes from the shoulder out: name, length_m, od_m, wall_m (or mass_kg).
tool{"name": "two-finger gripper", "length_m": 0.16, "mass_kg": 0.65, "stroke_m": 0.08, "grip_force_N": 60, "radius_m": 0.04}Gripper: name, length_m, mass_kg, stroke_m, grip_force_N, radius_m.
material{"name": "aluminium 6061-T6", "E_Pa": 68900000000.0, "density_kg_m3": 2700, "yield_Pa": 276000000.0}Tube material: name, E_Pa, density_kg_m3, yield_Pa.
joints[{"key": "J1_base_yaw", "name": "J1 base yaw", "axis": "yaw", "motor": {"kind": "NEMA 23 stepper", "torque_Nm": 1.9, "usable_fraction": 0.6, "speed_rpm": 600, "mass_kg": 1.0, "frame_m": 0.057, "body_length_m": 0.076}, "gearbox": {"kind": "planetary", "ratio": 20, "efficiency": 0.85, "rated_output_Nm": 40, "mass_kg": 0.9, "length_m": 0.06}}, {"key": "J2_shoulder", "name": "J2 shoulder", "axis": "pitch", "motor": {"kind": "NEMA 34 stepper", "torque_Nm": 8.5, "usable_fraction": 0.6, "speed_rpm": 400, "mass_kg": 3.8, "frame_m": 0.086, "body_length_m": 0.118}, "gearbox": {"kind": "cycloidal", "ratio": 50, "efficiency": 0.8, "rated_output_Nm": 200, "mass_kg": 3.2, "length_m": 0.075}}, {"key": "J3_elbow", "name": "J3 elbow", "axis": "pitch", "motor": {"kind": "NEMA 23 stepper", "torque_Nm": 2.4, "usable_fraction": 0.6, "speed_rpm": 500, "mass_kg": 1.15, "frame_m": 0.057, "body_length_m": 0.1}, "gearbox": {"kind": "planetary", "ratio": 30, "efficiency": 0.85, "rated_output_Nm": 60, "mass_kg": 1.0, "length_m": 0.06}}, {"key": "J4_wrist_pitch", "name": "J4 wrist pitch", "axis": "pitch", "motor": {"kind": "NEMA 17 stepper", "torque_Nm": 0.59, "usable_fraction": 0.6, "speed_rpm": 500, "mass_kg": 0.5, "frame_m": 0.042, "body_length_m": 0.06}, "gearbox": {"kind": "planetary", "ratio": 27, "efficiency": 0.85, "rated_output_Nm": 18, "mass_kg": 0.45, "length_m": 0.045}}, {"key": "J5_wrist_roll", "name": "J5 wrist roll", "axis": "roll", "motor": {"kind": "NEMA 17 stepper", "torque_Nm": 0.45, "usable_fraction": 0.6, "speed_rpm": 600, "mass_kg": 0.35, "frame_m": 0.042, "body_length_m": 0.04}, "gearbox": {"kind": "planetary", "ratio": 10, "efficiency": 0.9, "rated_output_Nm": 8, "mass_kg": 0.25, "length_m": 0.035}}]key, name, axis (yaw | pitch | roll; one pitch joint per link, in order), motor {kind, torque_Nm, usable_fraction, speed_rpm, mass_kg, frame_m, body_length_m}, gearbox {kind, ratio, efficiency, rated_output_Nm, mass_kg, length_m}. Assumed figures.
gm/s^29.80665

Readings

NameUnitMeaning
reach_mm
max_height_mm
total_mass_kgkg
moving_mass_kgkg
tip_sag_mm
tipover_margin1
min_torque_margin1
all_ok
jointsper joint: required_Nm, static_Nm, dynamic_Nm, available_Nm, margin, speed_deg_s, limited_by, ok
linksper link: tip_deflection_m, end_slope_rad, root_moment_Nm, root_stress_MPa, stress_margin, end_force_N, I_m4
parts
upper_arm_I_m4m^4
upper_arm_end_force_NN
upper_arm_length_mm
upper_arm_point_deflection_mm
E_PaPa
parts.csv
joints.csv
shoulder_torque.csv
scene.glb

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call