Create a calculation helper
create_calculationScaffold a stateless helper class to centralize math calculations, removing logic from OpMode and subsystem files.
Instructions
Scaffold a stateless static-only helper class (e.g. live trajectory math) that any OpMode or subsystem can call. Keeps math out of subsystem/OpMode files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Class name, e.g. TrajectorySolver | |
| group | No | Package group (default: util) | |
| dryRun | No | Validate and return the generated Java without writing any files | |
| overwrite | No | ||
| description | No | ||
| projectPath | No | Path to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project. |