Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit c71cf45

Browse files
Fixed conversion factors to new standard.
Signed-off-by: thenetworkgrinch <[email protected]>
1 parent 7382df4 commit c71cf45

File tree

3 files changed

+27
-10
lines changed

3 files changed

+27
-10
lines changed

src/main/deploy/swerve/falcon/modules/physicalproperties.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
{
2-
"conversionFactor": {
3-
"angle": 28.125,
4-
"drive": 0.047286787200699704
2+
"conversionFactors": {
3+
"angle": {
4+
"gearRatio": 21.4285714286,
5+
"factor": 0
6+
},
7+
"drive": {
8+
"gearRatio": 8.14,
9+
"diameter": 4,
10+
"factor": 0
11+
}
512
},
613
"currentLimit": {
714
"drive": 40,

src/main/deploy/swerve/maxSwerve/modules/physicalproperties.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
{
2-
"conversionFactor": {
3-
"drive": 0.047286787200699704,
4-
"angle": 360
2+
"conversionFactors": {
3+
"angle": {
4+
"gearRatio": 46.42,
5+
"factor": 0
6+
},
7+
"drive": {
8+
"gearRatio": 5.50,
9+
"diameter": 3,
10+
"factor": 0
11+
}
512
},
613
"currentLimit": {
714
"drive": 40,

src/main/deploy/swerve/neo/modules/physicalproperties.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"conversionFactors": {
3-
"drive": {
4-
"factor": 0.047286787200699704
5-
},
63
"angle": {
7-
"factor": 28.125
4+
"gearRatio": 12.8,
5+
"factor": 0
6+
},
7+
"drive": {
8+
"gearRatio": 8.14,
9+
"diameter": 4,
10+
"factor": 0
811
}
912
},
1013
"currentLimit": {

0 commit comments

Comments
 (0)