Go to Post Why did they get rid of the headphone jack though? =p - sportzkrazzy [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-01-2013, 18:27
Team4166's Avatar
Team4166 Team4166 is offline
Registered User
FRC #4166 (Robostang)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Minnesota
Posts: 8
Team4166 is an unknown quantity at this point
Newer Team; Need Help on Java.

Our team is relatively new (this is our second year) and our programming team is even newer (first year, as our last team graduated). This is my first time using Java, and I keep getting an "Import section does not correspond to the specified codestyle used" error every time I attempt to import a Jaguar. I've been using
Code:
import edu.wpi.first.wpilibj.Jaguar;
as that is how I learned to import a Jaguar or other items at a programming workshop. All I'm trying to do is set up a Jaguar to drive and turn the robot, a seemingly simple task. If anyone can send a sample code or simple words of advice, my team and I would be seriously grateful. Thanks.
__________________
"It doesn't have to be perfect to do something amazing." -Unknown

Last edited by Team4166 : 08-01-2013 at 18:37.
  #2   Spotlight this post!  
Unread 08-01-2013, 18:41
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Newer Team; Need Help on Java.

I'll try to get you an answer from our programers tonight, and post it back here. I'm betting the workshop you're talking about was the Splash in December, which our lead programmer was presenting for the Java session

If you or your team needs more help in Java, please feel free to get in touch with us - 2177@therobettes.com will get you straight to the students who can help! You're a little ways from the Cities, but if needed we might be able to set up something more in depth to help you out.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #3   Spotlight this post!  
Unread 08-01-2013, 18:44
Team4166's Avatar
Team4166 Team4166 is offline
Registered User
FRC #4166 (Robostang)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Minnesota
Posts: 8
Team4166 is an unknown quantity at this point
Re: Newer Team; Need Help on Java.

Actually, I was at said workshop on kick-off day. It was nothing intricate, we just learned basics there. Apparently I didn't gain much from it...
__________________
"It doesn't have to be perfect to do something amazing." -Unknown
  #4   Spotlight this post!  
Unread 08-01-2013, 18:44
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Newer Team; Need Help on Java.

That is just a nit-pick warning, your code will function just fine with the warning. Netbeans would like all imports in alphabetical order. If you click on the warning, it will offer to organize the imports for you. You can also use Ctrl-Shift-I to organize the imports.
  #5   Spotlight this post!  
Unread 08-01-2013, 18:45
dheerm's Avatar
dheerm dheerm is offline
Drive Team and Head Programmer
AKA: Dheer Mirchandani
FRC #0224 (The Tribe)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Piscataway
Posts: 37
dheerm will become famous soon enough
Re: Newer Team; Need Help on Java.

Quote:
Originally Posted by Team4166 View Post
Our team is relatively new (this is our second year) and our programming team is even newer (first year, as our last team graduated). This is my first time using Java, and I keep getting an "Import section does not correspond to the specified codestyle used" error every time I attempt to import a Jaguar. I've been using
Code:
import edu.wpi.first.wpilibj.Jaguar;
as that is how I learned to import a Jaguar or other items at a programming workshop. All I'm trying to do is set up a Jaguar to drive and turn the robot, a seemingly simple task. If anyone can send a sample code or simple words of advice, my team and I would be seriously grateful. Thanks.
My first question would be what IDE are you using? I recommend Netbeans with the FRC plugin.

If you need any additional help I'll be happy to help you. I'll private message you my personal email so that you can contact me .
__________________
"All you need is duct tape and a dream"

Team 224:
District Champions @TCNJ w/ Team 56 and Team 293

8th alliance captain at MAR championships w/ (take a guess) , Team 56 and Team 293.

www.team224.com
  #6   Spotlight this post!  
Unread 08-01-2013, 18:48
Team4166's Avatar
Team4166 Team4166 is offline
Registered User
FRC #4166 (Robostang)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Minnesota
Posts: 8
Team4166 is an unknown quantity at this point
Re: Newer Team; Need Help on Java.

Quote:
Originally Posted by Joe Ross View Post
That is just a nit-pick warning, your code will function just fine with the warning. Netbeans would like all imports in alphabetical order. If you click on the warning, it will offer to organize the imports for you. You can also use Ctrl-Shift-I to organize the imports.
Oh wow.. That was an entire programming session wasted trying to figure out what our issue was. But now we know, and thank you oh so very much!
__________________
"It doesn't have to be perfect to do something amazing." -Unknown
  #7   Spotlight this post!  
Unread 08-01-2013, 18:48
dheerm's Avatar
dheerm dheerm is offline
Drive Team and Head Programmer
AKA: Dheer Mirchandani
FRC #0224 (The Tribe)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Piscataway
Posts: 37
dheerm will become famous soon enough
Re: Newer Team; Need Help on Java.

Quote:
Originally Posted by Joe Ross View Post
That is just a nit-pick warning, your code will function just fine with the warning. Netbeans would like all imports in alphabetical order. If you click on the warning, it will offer to organize the imports for you. You can also use Ctrl-Shift-I to organize the imports.
I did not know that, we learn something new everyday don't we
__________________
"All you need is duct tape and a dream"

Team 224:
District Champions @TCNJ w/ Team 56 and Team 293

8th alliance captain at MAR championships w/ (take a guess) , Team 56 and Team 293.

www.team224.com
  #8   Spotlight this post!  
Unread 08-01-2013, 18:50
Team4166's Avatar
Team4166 Team4166 is offline
Registered User
FRC #4166 (Robostang)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Minnesota
Posts: 8
Team4166 is an unknown quantity at this point
Re: Newer Team; Need Help on Java.

Quote:
Originally Posted by dheerm View Post
My first question would be what IDE are you using? I recommend Netbeans with the FRC plugin.

If you need any additional help I'll be happy to help you. I'll private message you my personal email so that you can contact me .
Yes, I'm using Netbeans with the FRC plug-in. I already got help, but thank you anyways.
__________________
"It doesn't have to be perfect to do something amazing." -Unknown
Closed Thread


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 02: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