{"version":1,"pages":[{"id":"aXBWj2iG9VwPjZmgTRzy","title":"Welcome to YAGSL","pathname":"/","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Brought to you by Yet Another Generic Swerve Library (YAGSL)"},{"id":"VUjPRU3oP9Kpxefm9ap7","title":"Your first swerve robot","pathname":"/get-started/tutorial","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"QJ0sxeJFHmLiAqa6J1tp","title":"1. Gather your robot information","pathname":"/get-started/01-gather-your-robot-information","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"CchWFExVD5ExDrgsrTXc","title":"2. Generate your configuration","pathname":"/get-started/03-generate-your-configuration","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"ijpTNCXlCKRJowpP2qxh","title":"3. Install YAGSL","pathname":"/get-started/02-install-yagsl","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"6lfibd5KlGd4R9wKxaRC","title":"4. Write the swerve code","pathname":"/get-started/write-the-swerve-code","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"h10J0QpWGeIhrJgfq8BS","title":"5. Practice in simulation","pathname":"/get-started/practice-in-simulation","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"pDTxUT9OXQL72j56Pzml","title":"6. Check and calibrate your hardware","pathname":"/get-started/04-verify-and-calibrate-hardware","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"jyfmT1LqxrXJnHnuUALR","title":"7. Tune and drive","pathname":"/get-started/05-deploy-and-drive","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Get started"}]},{"id":"7q3k8Sp6RxvBE8U6xrM4","title":"Find your problem","pathname":"/fix-a-problem/fix-a-problem","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Match what your robot is doing to the page that fixes it.","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"GAMdeO21ApeYm0gcx3fg","title":"Troubleshooting","pathname":"/fix-a-problem/troubleshooting","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"ZfFEUMaoIxqgC0P7Qqvn","title":"Determine inversion","pathname":"/fix-a-problem/determine-inversion","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Work out which motors, encoders, and the gyro need to be inverted.","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"OWaR0GvBtZHTug9PGPsa","title":"Verify your module locations","pathname":"/fix-a-problem/verify-module-locations","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Your front may not be what you think it is on a robot.","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"VLPyZoQy6yIAwWwW5pmV","title":"The 8 steps","pathname":"/fix-a-problem/the-8-steps","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"JC7cL4ZKTCjRCusUn0HE","title":"Fix swerve drive drift","pathname":"/fix-a-problem/swerve-drift-causes","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Drift can be caused by anything and everything in a swerve drive...","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"xI95mqDI10BGgTCYnwjC","title":"Common build issues","pathname":"/fix-a-problem/common-build-issues","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"A swerve drive can be built wrong in more places than you'd think...","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"rZwtNsb2Ko1vQi5OnVov","title":"Common configuration issues","pathname":"/fix-a-problem/common-configuration-issues","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"One wrong number in a JSON file can make a swerve drive do almost anything...","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"W3wLPY6OlttlkWhnpes3","title":"Fix common SparkMAX/SparkFlex problems","pathname":"/fix-a-problem/fix-sparkmax-common-problems","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"These usually show up on MAXSwerve robots.","breadcrumbs":[{"label":"Fix a problem"}]},{"id":"ZMbTN0RRcP5VbaRkNVir","title":"All guides","pathname":"/tune-and-extend/how-to","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"QcM0FunHvaMONGWx5YYK","title":"Tune PIDF gains","pathname":"/tune-and-extend/tune-pidf-gains","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Starting points and a tuning procedure for your drive and angle motor gains.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"e7AnCtDQnqMF1J0bvJQQ","title":"Drive to a pose","pathname":"/tune-and-extend/drive-to-a-pose","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Command the robot to a field-relative Pose2d without PathPlanner.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"c9CWNdJcGgKl3d0LX03M","title":"Set up PathPlanner","pathname":"/tune-and-extend/setup-pathplanner","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Register a YAGSL-built SwerveDrive with PathPlanner's AutoBuilder.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"ACYsatzO4MuS5bkvxb1b","title":"Use a custom gyro","pathname":"/tune-and-extend/use-a-custom-gyro","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Configure a gyro YAGSL's parser doesn't build for you by handing YAMS a Rotation3d supplier yourself.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"bj4O2PalHGCgCsL3g6mv","title":"Put devices on a different CAN bus","pathname":"/tune-and-extend/choose-a-can-bus","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Tell YAGSL which SystemCore, Motioncore or vendor CAN bus each device is on with the canbus field.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"Dznytoe8bPR9aTz07fA3","title":"Access raw hardware devices","pathname":"/tune-and-extend/access-raw-hardware-devices","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Get the actual vendor motor controller/encoder/gyro objects SwerveParser built, for configuration that isn't exposed through SmartMotorController.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"VMByLqgcUHlxV7Nc7c7v","title":"Set up AdvantageScope","pathname":"/tune-and-extend/set-up-advantagescope","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"AdvantageScope is a data visualization tool, courtesy of team 6328 Mechanical Advantage, which can visualize the swerve drive to give you feedback for debugging.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"NjuAuuTKuWTXVmuHhSTN","title":"View your DataLog in AdvantageScope","pathname":"/tune-and-extend/view-your-datalog-in-advantagescope","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Pull the .wpilog off your robot and look at what actually happened during a match or test run.","breadcrumbs":[{"label":"Tune and extend"}]},{"id":"AGHo4Oewb9pLhdlwjsiC","title":"All reference pages","pathname":"/reference/reference","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"}]},{"id":"3ik63CnDfmVhxNT2J6Ey","title":"JSON Configuration Schema","pathname":"/reference/json-schema","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"}]},{"id":"4fAdFs7innxnJ03Orlqr","title":"swervedrive.json","pathname":"/reference/json-schema/swervedrive-json","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"},{"label":"JSON Configuration Schema"}]},{"id":"s5tAlwQaPhERN5I82pcP","title":"Module JSON","pathname":"/reference/json-schema/module-json","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"},{"label":"JSON Configuration Schema"}]},{"id":"VVuRQPHIPZAPojIfAXAx","title":"physicalproperties.json","pathname":"/reference/json-schema/physicalproperties-json","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"},{"label":"JSON Configuration Schema"}]},{"id":"p5Wp1fg3HpvB02zIEelz","title":"pidfproperties.json","pathname":"/reference/json-schema/pidfproperties-json","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"},{"label":"JSON Configuration Schema"}]},{"id":"QjeFZqDl7i9MmHJPtemk","title":"Device Type Strings","pathname":"/reference/json-schema/device-types","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"},{"label":"JSON Configuration Schema"}]},{"id":"8ERDpskVyAjIBwDJgvdh","title":"Supported Hardware","pathname":"/reference/hardware","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"}]},{"id":"FpaZBWln6dhtz3whF6At","title":"Gyroscopes","pathname":"/reference/hardware/gyroscopes","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Supported gyroscope/IMU types for swervedrive.json's gyro field","breadcrumbs":[{"label":"Reference"},{"label":"Supported Hardware"}]},{"id":"Uxpevbhfh3qJnv5KKSAx","title":"Motor Controllers","pathname":"/reference/hardware/motor-controllers","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Supported motor controller/motor combinations for module drive and angle motors","breadcrumbs":[{"label":"Reference"},{"label":"Supported Hardware"}]},{"id":"cvukjHkcjufr6BOm0AFh","title":"Absolute Encoders","pathname":"/reference/hardware/absolute-encoders","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Supported absolute encoder types for a module's absoluteEncoder field","breadcrumbs":[{"label":"Reference"},{"label":"Supported Hardware"}]},{"id":"1kIahCLnMRIoLGUr41kf","title":"Standard Conversion Factors","pathname":"/reference/standard-conversion-factors","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Known-good gearing values and inversions for common commercial-off-the-shelf swerve modules","breadcrumbs":[{"label":"Reference"}]},{"id":"7vgvqM3dNDgVvVVBemhs","title":"Vendordeps and offline install","pathname":"/reference/vendordep-installation","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"What each YAGSL vendordep contains, pinning a release, offline installs, and the vendor library each device needs","breadcrumbs":[{"label":"Reference"}]},{"id":"jsZ5gxjsmQ8155MH4QcY","title":"API Reference","pathname":"/reference/api-reference","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Reference"}]},{"id":"kLO6AjaFJTb3Q1dvCozW","title":"Upgrade to YAGSL 2027","pathname":"/upgrading/schema-changes","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Upgrading"}]},{"id":"BnMM4kJ17vpfNnBtddb7","title":"Changelog","pathname":"/upgrading/changelog","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Upgrading"}]},{"id":"rLdORhYodxszxiACvwbj","title":"All explanations","pathname":"/how-it-works/explanation","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"How it works"}]},{"id":"heNAQpnKfw6kQhj5WT8d","title":"What is YAGSL?","pathname":"/how-it-works/what-is-yagsl","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"We make your swerve drive run!","breadcrumbs":[{"label":"How it works"}]},{"id":"4YPJ1RtX5mmT95DKFHc0","title":"Swerve Drive Kinematics","pathname":"/how-it-works/swerve-drive-kinematics","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"How does Swerve Drive work?","breadcrumbs":[{"label":"How it works"}]},{"id":"95zjYx8yJSQbEIBMHmsD","title":"Swerve Modules","pathname":"/how-it-works/swerve-modules","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"What is a Swerve Module?","breadcrumbs":[{"label":"How it works"}]},{"id":"jwbjsatP01oenbCin3yj","title":"Module Behaviors","pathname":"/how-it-works/module-behaviors","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Module-level control behaviors and why they exist","breadcrumbs":[{"label":"How it works"}]},{"id":"PW3NjlzbB2B3Fnd5zrJG","title":"Chassis Control","pathname":"/how-it-works/chassis-control","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Chassis-level speed limiting, discretization, and lock pose","breadcrumbs":[{"label":"How it works"}]},{"id":"d28VpGK8rdydhUK9uqdm","title":"Telemetry, Simulation & Vision","pathname":"/how-it-works/telemetry-and-vision","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"Telemetry verbosity, simulation, and fusing vision pose estimates","breadcrumbs":[{"label":"How it works"}]},{"id":"vELMW3rMvGQeid6l5NQM","title":"YASS (Yet Another Software Suite)","pathname":"/links-and-community/yass-yet-another-software-suite","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Links and community"}]},{"id":"gR7789RKPOm3Xvxvpb9u","title":"Resources","pathname":"/links-and-community/resources","siteSpaceId":"sitesp_RbiLG","lang":"en","description":"","breadcrumbs":[{"label":"Links and community"}]}]}