Skip to content

KinematicTool: keep plotting when Ruckig fails - #407

Open
j-w9 wants to merge 1 commit into
ArduPilot:mainfrom
j-w9:kinematic-tool-fixes
Open

j-w9 wants to merge 1 commit into
ArduPilot:mainfrom
j-w9:kinematic-tool-fixes

Conversation

@j-w9

@j-w9 j-w9 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

With ATC_ACC_R_MAX 0 Ruckig returns undefined, so result.value threw and nothing redrew. After any Ruckig error the jerk array was missing and the jerk plot threw too.

Return early on an undefined result and start the Ruckig state with a jerk sample. Defaults give the same trace as before.

With ATC_ACC_R_MAX of 0 the Ruckig result is undefined, so reading result.value threw and no plot updated. After any Ruckig error the jerk array was missing, so the jerk plot threw. Handle the missing result and start the Ruckig state with a jerk sample.
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