Go to Post This will be one of the nerdiest weekends in the history of the world. And I'm taking part in it! (yay!) - Dan Petrovic [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-04-2013, 19:30
tinybob20 tinybob20 is offline
Registered User
AKA: Jeremy
FRC #1559 (DevilTech)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Victor
Posts: 18
tinybob20 is an unknown quantity at this point
Code Borrowing

Our team is at our last straw. We've had terrible, terrible lag at both regionals we've gone to, and have spent pretty much the entire time at both regionals trying, unsuccessfully, to fix this. So we've decided to ask if anyone would be kind enough to share their non-laggy drive code with us?
(In Java please! )

Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-04-2013, 19:36
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Code Borrowing


No drive code is an island,
Entire of itself.
Each is a piece of the upload,
A part of the main.


(with apologies to John Donne)


Reply With Quote
  #3   Spotlight this post!  
Unread 16-04-2013, 19:59
tinybob20 tinybob20 is offline
Registered User
AKA: Jeremy
FRC #1559 (DevilTech)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Victor
Posts: 18
tinybob20 is an unknown quantity at this point
Re: Code Borrowing

Our drive code is bad,
It has a whole lot of lag,
Help would make us glad.


-1559
Reply With Quote
  #4   Spotlight this post!  
Unread 16-04-2013, 20:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Code Borrowing

Quote:
Originally Posted by tinybob20 View Post
Our drive code is bad,
It has a whole lot of lag,
Help would make us glad.


-1559
How do you know it's specifically the drive code, and not, say, the shooter code, or target acquisition - or some other portion of the code that is causing the lag?

It could even be your Driver Station (Windoze!), or a hardware issue.

I'll bet if you would post your code, the Java gurus here would review it for you, and maybe find the problem.



Reply With Quote
  #5   Spotlight this post!  
Unread 16-04-2013, 20:08
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,590
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: Code Borrowing

You still haven't posted your driver station logs in your other thread
Reply With Quote
  #6   Spotlight this post!  
Unread 16-04-2013, 20:18
tinybob20 tinybob20 is offline
Registered User
AKA: Jeremy
FRC #1559 (DevilTech)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Victor
Posts: 18
tinybob20 is an unknown quantity at this point
Re: Code Borrowing

Quote:
Originally Posted by Joe Ross View Post
You still haven't posted your driver station logs in your other thread
I really do apologize. I haven't had access to our files, but they should be up in a moment.

In response to Ether, I do not believe I was very clear on what we were asking. I guess we just wanted to look through how other teams structured their code compared to ours.
Reply With Quote
  #7   Spotlight this post!  
Unread 16-04-2013, 21:46
Bryce Paputa's Avatar
Bryce Paputa Bryce Paputa is offline
FF TSL: Frog Farce
FRC #0503 (Frog Force)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Novi Michigan
Posts: 454
Bryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond repute
Re: Code Borrowing

Here's our code, but I doubt you'll gain much from looking at it. I'd be happy to help if you post your code.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-04-2013, 22:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Code Borrowing

Quote:
Originally Posted by Bryce Paputa View Post
I'd be happy to help if you post your code.
It's posted in the other thread he started:

http://www.chiefdelphi.com/forums/sh...d.php?t=116041


Reply With Quote
  #9   Spotlight this post!  
Unread 17-04-2013, 13:05
tuXguy15's Avatar
tuXguy15 tuXguy15 is offline
Team Mentor
AKA: Devin Kolarac
FRC #2559 (Normality Zero)
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Harrisburg, PA
Posts: 127
tuXguy15 is an unknown quantity at this point
Re: Code Borrowing

I looked through your code. It might not have been you. If one robot is using too much bandwidth it will mess with all 6 of the robots trying to communicate. First is having this issue at a lot of competitions. Was it just you guys or multiple people.
Reply With Quote
  #10   Spotlight this post!  
Unread 17-04-2013, 13:50
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,861
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Code Borrowing

That log they posted on the other thread says the field connectivity was great.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
Reply


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 12:48.

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