PiCrawler / Engineering Experiments
Engineering Experiments
Measurable questions, controls, protocols and analysis without invented measurements.
Thirteen proposed measurement protocols
Does lift height change slips and successful clearance?
- Vary
- Swing-Z delta from the proven gait
- Measure
- Slip/fall count, clearance, displacement, action time
- Control
- Same stance/stride/speed/surface/load/calibration
- Protocol
- Repeated randomized/alternating height trials; external video and measured obstacle
- Analysis
- Clearance/success versus lift with trial spread; no assumed improvement
Proposed · no measurements collected.
How does speed setting affect useful travel and voltage sag?
- Vary
- Unitless speed, one variable per series
- Measure
- Actual duration/displacement, minimum sampled volts, resets
- Control
- Trajectory, battery/rest protocol, surface and compute load
- Protocol
- Repeat short cycles; log ADC sampling bandwidth and independent reference
- Analysis
- Speed versus cm/s and voltage; ADC minima may miss fast sag
Proposed · no measurements collected.
How repeatable is turning?
- Vary
- Turn direction/repeats and later geometry parameter
- Measure
- Measured yaw/translation distribution
- Control
- Surface, phase entry, battery, calibration, load
- Protocol
- External angular reference/video; test both directions
- Analysis
- Bias/spread by direction; commanded angle not truth
Proposed · no measurements collected.
How do material and angle affect ultrasonic validity?
- Vary
- Known distance, angle, broad/soft/narrow target
- Measure
- Error, invalid rate and read duration
- Control
- Stationary geometry, temperature/context, sample policy
- Protocol
- Known ruler/angle reference; retain raw failure codes
- Analysis
- Error and valid fraction by target; repeated samples not independent if stale
Proposed · no measurements collected.
Does movement change perception freshness?
- Vary
- Idle versus fixed gait, then resolution/model selection
- Measure
- Capture/process FPS, frame age, CPU/RAM/temp, action delay
- Control
- Camera mode, lighting, model/assets and trial duration
- Protocol
- Baseline camera-only; add one workload at a time
- Analysis
- Latency distributions and throughput versus workload
Proposed · no measurements collected.
Which delay dominates teleoperation?
- Vary
- Controlled network delay/load and client lifecycle
- Measure
- RTT, queue wait, active action duration, visible video age
- Control
- Same short trajectory and server/sensor policy
- Protocol
- Inert delay/drop tests, then small supported motions
- Analysis
- Tail percentiles with clock uncertainty; no exact one-way inference from RTT
Proposed · no measurements collected.
How direction-dependent is a toe endpoint?
- Vary
- Approach same target from different qualified directions
- Measure
- Measured endpoint distribution and command angle
- Control
- Load, pose, calibration, support and speed
- Protocol
- External fixture/video scale without forcing powered joint
- Analysis
- Hysteresis/offset versus direction; no API-measured toe claim
Proposed · no measurements collected.
Do removable feet improve repeatability?
- Vary
- Foot material/geometry and surface
- Measure
- Slip, displacement/turn variance, wear/clearance
- Control
- Same gait/load/battery schedule
- Protocol
- Weigh parts; repeated alternating trials; keep original configuration
- Analysis
- Effect with uncertainty and failure observations, not universal traction ranking
Proposed · no measurements collected.
Can body-motion metrics distinguish gaits?
- Vary
- One gait parameter or trajectory version
- Measure
- Raw gyro/accel and estimated roll/pitch summary aligned to phase
- Control
- Mount, bias, filter, sample rate, surface and speed
- Protocol
- Static baseline, repeated gaits, synchronized video
- Analysis
- RMS/peak/rate/phase traces; estimates retain drift/vibration caveats
Proposed · no measurements collected.
Does proportional segment selection improve centering?
- Vary
- Binary versus proportional/deadband/filter policy
- Measure
- Normalized pixel error, settling/loss time, standoff and false target changes
- Control
- Target path/lighting, frame mode, gait and range policy
- Protocol
- Recorded scenes first, then controlled target motion
- Analysis
- Error/time and failure comparison; no continuous yaw-control promise
Proposed · no measurements collected.
How often does voice input falsely trigger?
- Vary
- Quiet, speaker playback and servo-noise conditions
- Measure
- Confusion/false-trigger counts and latency
- Control
- Mic placement/gain, vocabulary/model and utterance protocol
- Protocol
- Recognition text-only before enabling any actuator intent
- Analysis
- Confusion/latency distributions; do not benchmark only successful phrases
Proposed · no measurements collected.
Does small tilt feedback improve a measured disturbance?
- Vary
- Open loop versus bounded P law; gains after baseline
- Measure
- Measured orientation error, overshoot, settling, saturation and delay
- Control
- Supported fixture, load, IMU/filter/actuator envelope
- Protocol
- Inert tests then supported single-axis trials; repeat reference perturbation
- Analysis
- Response comparison including oscillation/failure; no self-balancing certification
Proposed · no measurements collected.
How does command-only drift compare with marker pose?
- Vary
- Dead-reckoning model versus calibrated visual observation
- Measure
- Independent position/yaw error, uncertainty, loss/relocalization
- Control
- Measured course, calibration, surface, light and speed
- Protocol
- Independent reference; deliberately occlude markers in safe stationary trials
- Analysis
- Error and failure versus trajectory; no fabricated odom truth
Proposed · no measurements collected.
Engineering questions with measurable outcomes
An experiment produces evidence about a question; a project produces a reusable behavior/tool. A good experiment need not leave a gadget. These protocols intentionally contain no predicted measurements or fabricated data. Choose a pilot trial count appropriate to variability, repeat conditions, preserve failures and record uncertainty; do not manufacture precision through a fixed arbitrary number of runs.
Does lift height change slips and successful clearance?
lift; project p2-gait-lab. Vary: Swing-Z delta from the proven gait. Measure: Slip/fall count, clearance, displacement, action time. Hold/control: Same stance/stride/speed/surface/load/calibration.
Protocol: Repeated randomized/alternating height trials; external video and measured obstacle. Analyze: Clearance/success versus lift with trial spread; no assumed improvement.
How does speed setting affect useful travel and voltage sag?
speed; project p2-power-study. Vary: Unitless speed, one variable per series. Measure: Actual duration/displacement, minimum sampled volts, resets. Hold/control: Trajectory, battery/rest protocol, surface and compute load.
Protocol: Repeat short cycles; log ADC sampling bandwidth and independent reference. Analyze: Speed versus cm/s and voltage; ADC minima may miss fast sag.
How repeatable is turning?
turn; project p2-turn-study. Vary: Turn direction/repeats and later geometry parameter. Measure: Measured yaw/translation distribution. Hold/control: Surface, phase entry, battery, calibration, load.
Protocol: External angular reference/video; test both directions. Analyze: Bias/spread by direction; commanded angle not truth.
How do material and angle affect ultrasonic validity?
sonar; project p2-range-lab. Vary: Known distance, angle, broad/soft/narrow target. Measure: Error, invalid rate and read duration. Hold/control: Stationary geometry, temperature/context, sample policy.
Protocol: Known ruler/angle reference; retain raw failure codes. Analyze: Error and valid fraction by target; repeated samples not independent if stale.
Does movement change perception freshness?
fps; project p2-vision-performance. Vary: Idle versus fixed gait, then resolution/model selection. Measure: Capture/process FPS, frame age, CPU/RAM/temp, action delay. Hold/control: Camera mode, lighting, model/assets and trial duration.
Protocol: Baseline camera-only; add one workload at a time. Analyze: Latency distributions and throughput versus workload.
Which delay dominates teleoperation?
network; project p2-network-benchmark. Vary: Controlled network delay/load and client lifecycle. Measure: RTT, queue wait, active action duration, visible video age. Hold/control: Same short trajectory and server/sensor policy.
Protocol: Inert delay/drop tests, then small supported motions. Analyze: Tail percentiles with clock uncertainty; no exact one-way inference from RTT.
How direction-dependent is a toe endpoint?
backlash; project p2-leg-workspace. Vary: Approach same target from different qualified directions. Measure: Measured endpoint distribution and command angle. Hold/control: Load, pose, calibration, support and speed.
Protocol: External fixture/video scale without forcing powered joint. Analyze: Hysteresis/offset versus direction; no API-measured toe claim.
Do removable feet improve repeatability?
feet; project p2-feet-study. Vary: Foot material/geometry and surface. Measure: Slip, displacement/turn variance, wear/clearance. Hold/control: Same gait/load/battery schedule.
Protocol: Weigh parts; repeated alternating trials; keep original configuration. Analyze: Effect with uncertainty and failure observations, not universal traction ranking.
Can body-motion metrics distinguish gaits?
imu; project p2-imu-recorder. Vary: One gait parameter or trajectory version. Measure: Raw gyro/accel and estimated roll/pitch summary aligned to phase. Hold/control: Mount, bias, filter, sample rate, surface and speed.
Protocol: Static baseline, repeated gaits, synchronized video. Analyze: RMS/peak/rate/phase traces; estimates retain drift/vibration caveats.
Does proportional segment selection improve centering?
tracking; project p2-color-hunter. Vary: Binary versus proportional/deadband/filter policy. Measure: Normalized pixel error, settling/loss time, standoff and false target changes. Hold/control: Target path/lighting, frame mode, gait and range policy.
Protocol: Recorded scenes first, then controlled target motion. Analyze: Error/time and failure comparison; no continuous yaw-control promise.
How often does voice input falsely trigger?
voice; project p2-voice-control. Vary: Quiet, speaker playback and servo-noise conditions. Measure: Confusion/false-trigger counts and latency. Hold/control: Mic placement/gain, vocabulary/model and utterance protocol.
Protocol: Recognition text-only before enabling any actuator intent. Analyze: Confusion/latency distributions; do not benchmark only successful phrases.
Does small tilt feedback improve a measured disturbance?
feedback; project p2-orientation-feedback. Vary: Open loop versus bounded P law; gains after baseline. Measure: Measured orientation error, overshoot, settling, saturation and delay. Hold/control: Supported fixture, load, IMU/filter/actuator envelope.
Protocol: Inert tests then supported single-axis trials; repeat reference perturbation. Analyze: Response comparison including oscillation/failure; no self-balancing certification.
How does command-only drift compare with marker pose?
localization; project p2-known-course. Vary: Dead-reckoning model versus calibrated visual observation. Measure: Independent position/yaw error, uncertainty, loss/relocalization. Hold/control: Measured course, calibration, surface, light and speed.
Protocol: Independent reference; deliberately occlude markers in safe stationary trials. Analyze: Error and failure versus trajectory; no fabricated odom truth.
Common record and analysis standards
Retain command/frame/phase/speed and actual start/finish, calibration/source/trajectory identity, battery/context, surface/load and external observation references. Use monotonic time for intervals and UTC for session identity. Separate requested coordinates, reconstructed/clamped coordinates, commanded angles, sensor readings and estimates. Do not turn convenient decimal output into a claimed measurement accuracy.
Plot scatter and distributions rather than only a mean. Alternate trial conditions when battery discharge/temperature drifts over the session. Identify calibration bias versus direction-dependent backlash versus load compliance rather than treating every endpoint error as the same effect. Negative results, sensor losses, rejected motions and interrupted sessions belong in the report. A phone video can be a useful external reference but needs scale, perspective/frame-rate assumptions and synchronization evidence.
Telemetry and data: observe the real system
Publish one truthful snapshot schema and an append-only event stream before making several dashboards. A terminal, CSV/JSONL logger, browser, OLED, remote laptop and RGB wall should consume the same semantics. A display renderer does not own motion. A database is optional; SQLite is useful when sessions/querying matter, not a prerequisite for a simple experiment.
| Quantity | Acquisition | Evidence type | Interpretation | Initial sampling design |
|---|---|---|---|---|
| pack_voltage_v | get_battery_voltage / A4 ADC | measured approximately | Volts; not SOC/current/runtime | 2–5Hz trial rate, qualify bus load |
| distance_cm | Ultrasonic.read | measured with validity | cm; raw -1/-2 retained as reasons | 5–10Hz is a proposed goal, benchmark actual read time |
| camera_health / frame_age_ms | camera owner with acquisition/process event | measured/derived | camera_run flag alone is not a fresh frame | Per-frame age; decimate transport |
| action/state | command supervisor | command/lifecycle | received/accepted/started/finished/fault distinct | On change plus bounded heartbeat |
| commanded_feet_mm | owned trajectory frame | commanded | 4x3 RF/LF/LR/RR; not actual toe measurement | Per frame/event |
| commanded_joint_deg | current_step_all_leg_angle snapshot | commanded | 12-array command history; offsets/final pulse may differ | Per accepted frame/event |
| cpu_temperature_c | actual Linux thermal interface | measured OS report | Read chosen thermal zone and label | ~1Hz trial rate |
| cpu_utilization / ram | qualified OS/psutil sampling | derived OS report | Define sampling interval; do not label model-only load | ~1Hz |
| network/session | transport lease/RTT/sequence | measured/derived | Lease age and RTT are not guaranteed stop time | Heartbeat plus events |
| capture_fps / processed_fps | camera owner timed counters | derived measurement | Requested fps differs from achieved; duplicate frame detection | Per-second window plus frame age |
| imu_accel / gyro / tilt | future qualified sensor/filter | measured raw / estimated tilt | Units, sensor frame, bias and filter metadata | 50–100Hz exploratory target, not guaranteed HAT+Linux throughput |
| sensor_extensions | reviewed sensor adapters | measured/estimated explicitly | Units, frame and validity per driver | Rate chosen from task and measured transport |
Rates above are experiment proposals, not achieved or required values. HAT I2C traffic shares a bus with actuation; ultrasonic reads and model inference can block. Measure full-system sample age, missed deadlines and CPU/bus cost before choosing rates. A cached health flag cannot stand in for measurement freshness. Unknown readings use null plus reason/validity rather than fabricated zeros.
Record design
Use schemaVersion, runId, specimenProfile, app/vendor/config/trajectory hashes, UTC wall time, monotonic acquisition/receipt/decision times, sequence, source, units, frame, value, validity/reason and age. Keep commanded quantities distinct from observations and estimates. For example commanded_joint_deg is not joint_angle_measured; orientation_estimate is not absolute ground truth; battery_voltage is not remaining_percent. A receiving laptop must account for clock offset or compute age from declared receipt/RTT assumptions.
CSV suits a fixed-column gait or range experiment and plots easily. JSON Lines suits heterogeneous events, detection records and command lifecycles. SQLite suits indexed multi-run comparisons once schemas are stable. Store media separately and reference it by event/file ID, timestamp and hash. Rotate logs, cap storage, record writer backpressure/drop counters and never let a slow database hold the motion lock. Retain small sanitized example logs in Git, not private recordings, card backups or large model outputs.
Analysis opportunities
Plot range error/invalid rate against distance, target angle and material; action duration/displacement against speed/stride; voltage sag versus action phase and compute load; frame-age distributions while stationary/walking; network RTT versus queue wait and active command time; tracking image error and standoff; IMU tilt/rate traces aligned with gait phase/video. Show repeated-trial spread, sample counts, uncertainty and failures. Do not supply synthetic expected curves as if observed. ENGINEERING_EXPERIMENTS.md defines concrete variables and controls.
Displays crossover: an onboard OLED provides glanceable arm/fault/data-age status; a remote separately powered P5 wall provides mission state; a touchscreen console can reuse the browser protocol; an e-ink mission board suits infrequent checkpoint/fault updates, not live video or high-rate telemetry; an LCD can show a few coarse sensor values. These are relationships to Displays work, not duplicate complete display projects. Interface/controller identity and driver environment remain gates.
Projects: p2-telemetry-station, p2-power-study, p2-vision-performance, p2-mission-replay, p2-fault-injection. Source evidence: hat-device, hat-modules, pc-core, vi-core, club-inventory.
Continue
Meeting checklist · Source library · Modification atlas · All project proposals