This repository was archived by the owner on Dec 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
JSON
T Grinch edited this page Feb 14, 2023
·
16 revisions
JSON stands for "JavaScript Object Notation" it is a popular format for configuration, and string data representation. Learn more here
The swerve directory for generating a swerve drive must look like this. Assuming you have defined
your swerve modules
as "modules": [ "frontleft.json", "frontright.json", "backleft.json", "backright.json"]
in swervedrive.json.
└── swerve
├── controllerproperties.json
├── modules
│ ├── backleft.json
│ ├── backright.json
│ ├── frontleft.json
│ ├── frontright.json
│ ├── physicalproperties.json
│ └── pidfproperties.json
└── swervedrive.json
The modules folder, controllerproperties.json, physicalproperties.json, pidfproperties.json,
and swervedrive.json files are necessary to build the swerve drive. Each one has specific fields
which correspond to an attribute of the swerve drive, some physical and some abstract.