Go to Post I'm pretty sure most teams would be OK with being somewhere between Division by Zero and Cheesy Poofs! ;) - Dennis Jenks [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 06-30-2011, 12:58 PM
Egg 3141592654's Avatar
Egg 3141592654 Egg 3141592654 is offline
Now a mentor, always a student
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Long Island
Posts: 53
Egg 3141592654 is on a distinguished road
Re: VEX motors on a FRC robot

If you are using a speed controller on the motor, it isn't different than coding a regular FIRST motor. Firstly, you need to determine what speed controller it is (Victor or jag). Depending on which it is, the constructor will be something like
Code:
 /*speed controller type*/ motor = new /*speed controller type */(4,/*pwm number on sidecar*/);
/*during teleport period...*/
motor.setSpeed(*/a double less than 1*/);
Hope this helps a tad, ill try to respond, budpt im in germany right now and wifi is sketchy here...
__________________
"The answers to the book of life are not found in the back." Charlie Brown

Software Mentor - Team Apex Robotics 5803

Lead Programmer - Team 810 Mechanical Bulls '09-'11

Last edited by Egg 3141592654 : 06-30-2011 at 01:04 PM. Reason: speed control name replaced with speed control type for clarity
Reply With Quote
 


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 08:17 AM.

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