-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull simulation and auto from dev
improvements in simulation and auto
- Loading branch information
Showing
24 changed files
with
386 additions
and
132 deletions.
There are no files selected for viewing
212 changes: 212 additions & 0 deletions
212
example/5516-2024-OffSeason/AdvantageScope-Simulation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
{ | ||
"hubs": [ | ||
{ | ||
"x": 302, | ||
"y": 184, | ||
"width": 1106, | ||
"height": 650, | ||
"state": { | ||
"sidebar": { | ||
"width": 300, | ||
"expanded": [ | ||
"/LiveWindow", | ||
"/AdvantageKit", | ||
"/AdvantageKit/RealOutputs", | ||
"/AdvantageKit/RealOutputs/Field", | ||
"/AdvantageKit/RealOutputs/Shooter", | ||
"/AdvantageKit/RealOutputs/SwerveStates", | ||
"/AdvantageKit/RealOutputs/Odometry", | ||
"/AdvantageKit/RealOutputs/FieldSimulation", | ||
"/SmartDashboard", | ||
"/SmartDashboard/MaplePhysicsSimulation", | ||
"/SmartDashboard/MapleArenaSimulation", | ||
"/AdvantageKit/RealOutputs/Odometry/Robot" | ||
] | ||
}, | ||
"tabs": { | ||
"selected": 2, | ||
"tabs": [ | ||
{ | ||
"type": 0, | ||
"title": "", | ||
"controller": null, | ||
"controllerUUID": "t651a9wcsm4uv2nn7i1w8unwiw3a5n84", | ||
"renderer": "#/", | ||
"controlsHeight": 0 | ||
}, | ||
{ | ||
"type": 1, | ||
"title": "Line Graph", | ||
"controller": { | ||
"leftSources": [], | ||
"rightSources": [], | ||
"discreteSources": [], | ||
"leftLockedRange": null, | ||
"rightLockedRange": null, | ||
"leftUnitConversion": { | ||
"type": null, | ||
"factor": 1 | ||
}, | ||
"rightUnitConversion": { | ||
"type": null, | ||
"factor": 1 | ||
}, | ||
"leftFilter": 0, | ||
"rightFilter": 0 | ||
}, | ||
"controllerUUID": "a40mbm1463684stb0lw9q99k08q674jn", | ||
"renderer": null, | ||
"controlsHeight": 200 | ||
}, | ||
{ | ||
"type": 3, | ||
"title": "3D Field", | ||
"controller": { | ||
"sources": [ | ||
{ | ||
"type": "robot", | ||
"logKey": "NT:/AdvantageKit/RealOutputs//Field/Robot", | ||
"logType": "Pose2d", | ||
"visible": true, | ||
"options": { | ||
"model": "11:59" | ||
} | ||
}, | ||
{ | ||
"type": "component", | ||
"logKey": "NT:/AdvantageKit/RealOutputs/Shooter/MechanismPose", | ||
"logType": "Pose3d[]", | ||
"visible": true, | ||
"options": {} | ||
}, | ||
{ | ||
"type": "swerveStates", | ||
"logKey": "NT:/AdvantageKit/RealOutputs/SwerveStates/Measured", | ||
"logType": "SwerveModuleState[]", | ||
"visible": true, | ||
"options": { | ||
"color": "#ff0000", | ||
"arrangement": "0,1,2,3" | ||
} | ||
}, | ||
{ | ||
"type": "robot", | ||
"logKey": "NT:/AdvantageKit/RealOutputs//Field/OpponentRobot", | ||
"logType": "Pose3d[]", | ||
"visible": true, | ||
"options": { | ||
"model": "2024 KitBot" | ||
} | ||
}, | ||
{ | ||
"type": "gamePiece", | ||
"logKey": "NT:/AdvantageKit/RealOutputs/Shooter/NoteInShooter", | ||
"logType": "Pose3d", | ||
"visible": true, | ||
"options": { | ||
"variant": "Note" | ||
} | ||
}, | ||
{ | ||
"type": "gamePiece", | ||
"logKey": "NT:/AdvantageKit/RealOutputs//Field/Note", | ||
"logType": "Pose3d[]", | ||
"visible": true, | ||
"options": { | ||
"variant": "Note" | ||
} | ||
}, | ||
{ | ||
"type": "trajectory", | ||
"logKey": "NT:/AdvantageKit/RealOutputs/Odometry/Trajectory", | ||
"logType": "Pose2d[]", | ||
"visible": true, | ||
"options": { | ||
"color": "#00ffff", | ||
"size": "normal" | ||
} | ||
}, | ||
{ | ||
"type": "robot", | ||
"logKey": "NT:/AdvantageKit/RealOutputs//Field/AlliancePartnerRobot", | ||
"logType": "Pose3d[]", | ||
"visible": true, | ||
"options": { | ||
"model": "2024 KitBot" | ||
} | ||
} | ||
], | ||
"game": "2024 Field", | ||
"origin": "blue" | ||
}, | ||
"controllerUUID": "z31ichy013czxpxjwwhbvvdciqbfun51", | ||
"renderer": { | ||
"cameraIndex": -1, | ||
"orbitFov": 50, | ||
"cameraPosition": [ | ||
-13.099515367064587, | ||
5.622905314106006, | ||
-1.1187082198216616 | ||
], | ||
"cameraTarget": [ | ||
2.1564592708968564, | ||
-3.4497661190395785, | ||
1.6037949750703593 | ||
] | ||
}, | ||
"controlsHeight": 200 | ||
}, | ||
{ | ||
"type": 4, | ||
"title": "Table", | ||
"controller": [ | ||
"NT:/SmartDashboard/MapleArenaSimulation/difference", | ||
"NT:/SmartDashboard/MapleArenaSimulation/chassisFrictionForce" | ||
], | ||
"controllerUUID": "lx7skwjvbdch6kn71vxrmu6561rbc2q3", | ||
"renderer": null, | ||
"controlsHeight": 0 | ||
}, | ||
{ | ||
"type": 9, | ||
"title": "Swerve", | ||
"controller": { | ||
"sources": [ | ||
{ | ||
"type": "states", | ||
"logKey": "NT:/AdvantageKit/RealOutputs/SwerveStates/Measured", | ||
"logType": "SwerveModuleState[]", | ||
"visible": true, | ||
"options": { | ||
"color": "#ff0000", | ||
"arrangement": "0,1,2,3" | ||
} | ||
}, | ||
{ | ||
"type": "states", | ||
"logKey": "NT:/AdvantageKit/RealOutputs/SwerveStates/Setpoints", | ||
"logType": "SwerveModuleState[]", | ||
"visible": true, | ||
"options": { | ||
"color": "#0000ff", | ||
"arrangement": "0,1,2,3" | ||
} | ||
} | ||
], | ||
"maxSpeed": 5, | ||
"sizeX": 0.65, | ||
"sizeY": 0.65, | ||
"orientation": 1 | ||
}, | ||
"controllerUUID": "x7ibv6cg5jcq5xxna17n6t1e1gzc18bu", | ||
"renderer": null, | ||
"controlsHeight": 200 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"satellites": [], | ||
"version": "4.0.0-beta-1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.