|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hey Guys!
Okay So I'm here basically to submit a Java File that Helps teams attempting to use a swerve drive. Yeah, it's a basic Java application that'll help teams who need to get going fast at competition time! |
|
#2
|
||||
|
||||
|
Re: Swerve Drive Tester
Quote:
Last edited by Ether : 20-10-2013 at 16:12. Reason: added attachments |
|
#3
|
|||
|
|||
|
Re: Swerve Drive Tester
I see a program that does the trig required for a swerve drive, without showing how it's done. How does this help teams?
|
|
#4
|
||||
|
||||
|
Re: Swerve Drive Tester
How can you tell? The jar file contains only Java bytecode (Main.class and MtrTester.class); no source.
|
|
#5
|
||||
|
||||
|
Re: Swerve Drive Tester
The jar file is a program (double click to run with Java Runtime installed). I don't think the post is about source code but the program itself.
|
|
#6
|
||||
|
||||
|
Re: Swerve Drive Tester
Quote:
If so, what am I doing wrong? (I'm not familiar with Java) |
|
#7
|
|||
|
|||
|
Re: Swerve Drive Tester
Try "java -jar <jarfile>". if the manifest inside the jar file was made correctly it will run the main class.
|
|
#8
|
|||
|
|||
|
Re: Swerve Drive Tester
Quote:
Either point <jarfile> to the absolute path, or the canonical path. Last edited by jlmcmchl : 21-10-2013 at 15:24. Reason: clarification on <jarfile> |
|
#9
|
||||
|
||||
|
Re: Swerve Drive Tester
Quote:
Would the OP please join this dialog? |
|
#10
|
||||
|
||||
|
Re: Swerve Drive Tester
Also, if you are not one to use command line arguments, to open the file, right click on the jar file, select open with, and select choose default program. From there, navigate to Java (either in Program Files or Program Files (x86)). In there, select jre6 or jre7 whichever version you have. Then go to the bin folder and double click on javaw.exe. This will open the program and set .jar files to open by default using the correct method in the future.
|
|
#11
|
||||
|
||||
|
Re: Swerve Drive Tester
OP's Back!
Haha sorry, it's not really supposed to display the algorithm behind if, but if you'd like, I could post a link to the algorithm I used to create it as well as my source code. It's a very simple program with a few bugs that are yet to patch up, I simply realized that there wasn't a program like this out there yet and so I decided, why not post it? (there is an excel file somewhere out there however that works like a program which I was grateful for ) |
|
#12
|
||||
|
||||
|
Re: Swerve Drive Tester
Here is the Java source.
Open it up in Netbeans to view the files ![]() *Edit* Re done Program, still not perfect, gives rounded values. */Edit* Last edited by mkaa00x : 21-10-2013 at 17:36. |
|
#13
|
||||
|
||||
|
Re: Swerve Drive Tester
Quote:
|
|
#14
|
||||
|
||||
|
Re: Swerve Drive Tester
Quote:
![]() http://www.chiefdelphi.com/media/papers/2426 I actually used to look directly onto the PDF and not find who it was made by, but now that I know, credits to you man *I just put it in a program *P.S. and Lol, Hauntingly familiar ![]() P.S. again, also that excel sheet was yours 0.o Creds to you, again! LAST P.S. (I hope) I'm afk a lot, so if I don't realy, it's probably because I'm AFK Last edited by mkaa00x : 21-10-2013 at 18:17. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|