![]() |
New To Java
I am new to coding with Java and I would like to know where I can find a basic code to run my bot. it has four jaguar motors and our drve station has dual joystics to operate it. Any help will be greatly appreciated
|
Re: New To Java
Well first off here are some links to get you started.
WPI Robotics Library Users Guide (PDF) This explains the general use of the library and include examples, though some are missing Java examples C++ is very similar to Java. Java Getting Started Guide (PDF) Contains infomation of Netbeans, the templates, and java in general. Also has sample source code. If you have netbeans and the FRC Java updates installed already then you also have examples too. Here is a picture showing how to access the samples. If you just want to see source code, and dont want to download a PDF or make a sample project, here is the exact example out of the Java getting Started Guide. Code:
package edu.wpi.first.wpilibj.templates; |
| All times are GMT -5. The time now is 22:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi