This PR is the log of changes for the Warehouse project#4
Open
madhephaestus wants to merge 25 commits intoWPIRoboticsEngineering:2001_Fieldfrom
Open
This PR is the log of changes for the Warehouse project#4madhephaestus wants to merge 25 commits intoWPIRoboticsEngineering:2001_Fieldfrom
madhephaestus wants to merge 25 commits intoWPIRoboticsEngineering:2001_Fieldfrom
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
madhephaestus
commented
Oct 21, 2020
|
|
||
| } | ||
| public void verifyFoldersExist(){ | ||
| String localDirectory = System.getProperty("user.home")+ File.separator+"Documents"; |
Author
There was a problem hiding this comment.
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.
madhephaestus
commented
Oct 21, 2020
| 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)); |
Author
There was a problem hiding this comment.
also a system property with the testing files int he source repo with this code
madhephaestus
commented
Oct 21, 2020
| 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)) { |
madhephaestus
commented
Oct 21, 2020
| Parent root = FXMLLoader.load(getClass().getResource("/fxml/MainScreen.fxml")); | ||
| primaryStage.setTitle("RBE 2001 Controller"); | ||
| public void start(Stage stage) throws Exception { | ||
| theStage = stage; |
Author
There was a problem hiding this comment.
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
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.