Closed qsctr closed 5 years ago
I'm having some issues with compiling and installing java code. I'm running the command but I'm getting exceptions.
The command I typed in was ../gradlew installDist -Dorg.gradle.java.home=C:\Users\Public\frc2019\jdk\
I'm getting this: FAILURE: Build failed with an exception.
I'm sure my jdk exists, so did I type the wrong command?
Btw, I still ran npm start
, and I can see the field and drag the points.
Did you run
"../gradlew" installDist -Dorg.gradle.java.home=C:\Users\Public\frc2019\jdk\
exactly?
Actually, try running
"../gradlew" installDist -Dorg.gradle.java.home="C:\Users\Public\frc2019\jdk\"
I just found a problem. The coordinates you have in the program is based on display coordinates, so (0, 0) is on the top left corner. However, what we used before is based on the normal coordinate system, where the (0, 0) is at the bottom left corner. Therefore, the robot turns in the wrong direction.
This might just be a problem with pathgen, so we will merge zeropath into base-pid to see if it fixes it. Can you confirm if it is the issue with pathgen being different?
No, the problem is with zeropath not pathgen. I know what's wrong, I'll fix it when I have time. Thanks
Wait actually @Kof223 on re-reading your comment I realized that I might have misunderstood. What do you mean by it might be a problem with pathgen?
The issue with the coordinate exists and I will fix that. But I'm not sure if you're talking about a separate issue or not.
Note to self
Things to fix:
Okay, it seems to work fine now. However, when I tried uploading the path, it timed out.
This is the error: Timed out while waiting for handshake
Ok, will fix that before merging
never mind i guess
Closes #7.
Current features:
In addition to adding the pathing tool, also refactors the pathgen code by separating it into different functions. Should not have any breaking changes though.
Before merging, please test it out on your computer by following the readme to make sure that I didn't accidentally leave out anything in the instructions.