Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Support simulating cargo detector
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Apr 6, 2022
1 parent 77aea1e commit 1bb1c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion simgui-window.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"###DIO": {
"Collapsed": "0",
"Pos": "1677,877",
"Size": "195,86"
"Size": "124,54"
},
"###FMS": {
"Collapsed": "0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ public CargoDetectorIOIR() {
// TODO: Wire this sensor
rightSensor = new DigitalInput(25);
break;
case SIM_BOT:
leftSensor = new DigitalInput(9);
rightSensor = new DigitalInput(8);
break;
default:
throw new UnsupportedSubsystemException(this);
}
Expand Down

0 comments on commit 1bb1c26

Please sign in to comment.