Skip to content

Duckiematrix perf improvement#6

Closed
Tuxliri wants to merge 2 commits intomainfrom
duckiematrix-perf-improvement
Closed

Duckiematrix perf improvement#6
Tuxliri wants to merge 2 commits intomainfrom
duckiematrix-perf-improvement

Conversation

@Tuxliri
Copy link
Copy Markdown

@Tuxliri Tuxliri commented Apr 7, 2026

Add lockstep_timeout parameter (default 0.002s) to PX4Multirotor.init and use a retry loop in _fetch_latest_px4_control instead of a single blocking recv. This allows DTPS bridge mode (with higher round-trip latency) to use a longer timeout (100ms) while keeping the default behavior unchanged for direct TCP connections.

Also enable fixed-step RK4 integrator by default for faster physics.

Tuxliri and others added 2 commits April 2, 2026 00:08
Add lockstep_timeout parameter (default 0.002s) to PX4Multirotor.__init__
and use a retry loop in _fetch_latest_px4_control instead of a single
blocking recv. This allows DTPS bridge mode (with higher round-trip
latency) to use a longer timeout (100ms) while keeping the default
behavior unchanged for direct TCP connections.

Also enable fixed-step RK4 integrator by default for faster physics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Tuxliri Tuxliri closed this Apr 7, 2026
@Tuxliri Tuxliri deleted the duckiematrix-perf-improvement branch April 7, 2026 07: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