Go to Post A good way to minimize the possibility of breaking things is to minimize the number of things that can break. - s_forbes [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 19-01-2016, 09:45
electronicsdude's Avatar
electronicsdude electronicsdude is offline
Registered User
AKA: Spencer
FRC #4918 (The Roboctopi)
Team Role: Engineer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Port Townsend, WA
Posts: 15
electronicsdude will become famous soon enoughelectronicsdude will become famous soon enough
Re: Unable to invert motor

Quote:
Originally Posted by christheman200 View Post
Hi all!
I have the following code in my main robot class, and it is giving me a number of exceptions which I can't conquer:
Code:
MainDrive.setInvertedMotor(Talon.kRearLeft, true); 
	MainDrive.setInvertedMotor(Talon.kRearRight, true);
Exceptions:
First line:
- Syntax error on tokens, delete these tokens
- Syntax error on token "(", < expected
Second line:
- Syntax error on tokens, TypeArgument1 expected instead
- Syntax error on token "(", , expected

Any and all help is appreciated!
Thanks, Chris
Just flip the polarity on the motor side of your motor controller. its legal as long as you label it and it works like a dream.
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 11:53.

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