-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This PR is the log of changes for the Warehouse project #4
base: 2001_Field
Are you sure you want to change the base?
This PR is the log of changes for the Warehouse project #4
Conversation
…s the list view between uses. Just needs the robot communication added in
…s the list view between uses. Just needs the robot communication added in
|
||
} | ||
public void verifyFoldersExist(){ | ||
String localDirectory = System.getProperty("user.home")+ File.separator+"Documents"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the location for this file should be a system property passed at runtime with the -D options. For testing this file should be in the version control with the code.
public void loadBorrowedInventory(){ | ||
JSONParser parser = new JSONParser(); | ||
try { | ||
Object obj = parser.parse(new FileReader(System.getProperty("user.home")+ File.separator+"Documents"+File.separator+"WareHouseRobot"+File.separator+BorrowedInventoryLoc)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also a system property with the testing files int he source repo with this code
tempList.add(it); | ||
} | ||
Inventory.put("inventory", tempList); | ||
try (FileWriter file = new FileWriter(System.getProperty("user.home")+ File.separator+"Documents"+File.separator+"WareHouseRobot"+File.separator+InventoryLoc)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also a system property
Parent root = FXMLLoader.load(getClass().getResource("/fxml/MainScreen.fxml")); | ||
primaryStage.setTitle("RBE 2001 Controller"); | ||
public void start(Stage stage) throws Exception { | ||
theStage = stage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The start screen needs to fail with an error if the robots re not online.
…o maintenance screen if no robots connect
…ing sending commands to the robot
# Conflicts: # src/main/java/edu/wpi/rbe/rbe2001/fieldsimulator/robot/IWarehouseRobot.java
No description provided.