Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Aug 22, 2025

Estimate angular traversal more consistently

This is supposed to be what the change in angle of velocity would be if there is no upsampling. Previously, this excluded drag, but that wasn't the correct decision. When discretely simulating motion on a sharp corner, the turnaround can happen almost entirely on a single simulation step. Simulated drag can affect which step that happens on, so failing to take that into account can mean this upsampling is skipped.

Discrete simulation of drag can spuriously cause the direction of motion to reverse, which is another reason why upsampling in that situation might be desirable.

Use absl::Status matchers in test.

@copybara-service copybara-service bot force-pushed the test_798224352 branch 12 times, most recently from 19998ad to eff0459 Compare August 27, 2025 19:03
This is supposed to be what the change in angle of velocity would be if there is no upsampling. Previously, this excluded drag, but that wasn't the correct decision. When discretely simulating motion on a sharp corner, the turnaround can happen almost entirely on a single simulation step. Simulated drag can affect _which_ step that happens on, so failing to take that into account can mean this upsampling is skipped.

Discrete simulation of drag can spuriously cause the direction of motion to reverse, which is another reason why upsampling in that situation might be desirable.

Use absl::Status matchers in test.

PiperOrigin-RevId: 800127834
@copybara-service copybara-service bot merged commit 2cd45e8 into main Aug 27, 2025
1 check passed
@copybara-service copybara-service bot deleted the test_798224352 branch August 27, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant