Weirder wave preset: more waypoints, bigger/faster, less pause, live default#4
Merged
Merged
Conversation
…e, live default Tuning the sci-fi relay for a better "weird" thesis video, per operator: - New 18-waypoint curated preset (was 9). The two X axes are near anti-phase (bottom_x approx -top_x, correlation ~-0.84) so the bottom and top segments counter-bend and the spine undulates like a wave/slither; the Y axes wander on incommensurate frequencies for an organic feel. Consecutive separation stays >= 0.7 norm and both segments are non-trivial at every step. - early_switch_fraction 0.72 -> 0.5: more transition overlap, so the spine rounds the corners and barely settles -> removes the remaining little pause at each pose, continuous flow. - amplitude 0.35 -> 0.5 cm (bigger), hard tick ceiling 600 -> 1000 (operator requested) so the bigger weird motions are never blocked. Soft/step caps are still auto-sized to the amplitude at setup() (0.5 cm -> 783; verified max actual delta 454 < 783 < 1000, so a live run clears precheck). - Faster default: video_duration_s 20 -> 14 s; speed slider re-ranged to 11-40 s (fast floor keeps ~0.6 s/waypoint at 18 waypoints). - Telemetry decimation 0.2 -> 0.3 s so the periodic 8-servo read hitches the motion less often. - dry_run default OFF (operator asked): the demo is live on run; the Run button shows "RUN LIVE", and dry-run can be re-checked to preview. Keeps command_rate_hz at the 50 Hz bus ceiling. 149 demo/relay/pattern tests pass; preset quality + live tick budget verified. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tuning the sci-fi relay for a better "weird" thesis video, per operator feedback ("add weirder points… make the 2 x axes alternate to make a wave… add a bunch more… increase amplitude… 1000 tick limit… turn dry run off default… still has a bit of lag, make it faster/smoother").
bottom_x ≈ -top_x, correlation ≈ −0.84) so the bottom and top segments counter-bend and the spine undulates like a wave/slither; the Y axes wander on incommensurate frequencies for an organic, never-quite-repeating feel. Consecutive separation stays ≥ 0.7 norm and both segments are non-trivial at every step.early_switch_fraction0.72 → 0.5: more transition overlap, so the spine rounds the corners and barely settles — removes the remaining little pause at each pose.setup()(0.5 cm → 783; verified max actual delta 454 < 783 < 1000, so a live run clears precheck).video_duration_s20 → 14 s default; the Speed slider is re-ranged to 11–40 s (fast floor keeps ~0.6 s/waypoint at 18 waypoints).command_rate_hzstays at the 50 Hz bus ceiling.dry_rundefault OFF — the demo moves on run; the Run button shows "RUN LIVE", and dry-run can be re-checked to preview.Test plan
tests/test_sci_fi_waypoint_relay.py,tests/test_two_segment_slow_motion_demo.py,tests/test_two_segment_motion_patterns.py— 149 passedcommand_rate_hzReviewer notes
dry_runnow defaults OFF by request — the demo is live on first run (preflight still gates on dual_segment + accepted startup + connected servos).main; scoped to the demo, no concurrent WIP swept in.🤖 Generated with Claude Code