Go to Post Yeah, that's a hardware problem. Definitely something to blame the electricals for. Programmers just work there. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 20-01-2016, 18:45
E, Palmer E, Palmer is offline
Registered User
FRC #6239 (The Irrational Engineers)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2009
Location: Maryland
Posts: 15
E, Palmer will become famous soon enoughE, Palmer will become famous soon enough
Re: Example Robot Java Project

I wouldn't suggest using an example. If you want something really simple and fast just make a new Robot Project. Then go to The Robot Class. create a joystick object "Joystick joy1 =new Joystick (0);" then create a motor object for each motor controller/Cim (My team personally uses talon motor controllers)"Talon Motor1 = new Talon(PWM PORT);" then go to your teleopperiodic and pull the X and Y value of the joystick, set it to a double . Then use double to set the speed of the motors.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi