Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Code Borrowing (http://www.chiefdelphi.com/forums/showthread.php?t=116127)

tinybob20 16-04-2013 19:30

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.

Ether 16-04-2013 19:36

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)



tinybob20 16-04-2013 19:59

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


-1559

Ether 16-04-2013 20:08

Re: Code Borrowing
 
Quote:

Originally Posted by tinybob20 (Post 1262908)
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.




Joe Ross 16-04-2013 20:08

Re: Code Borrowing
 
You still haven't posted your driver station logs in your other thread

tinybob20 16-04-2013 20:18

Re: Code Borrowing
 
Quote:

Originally Posted by Joe Ross (Post 1262912)
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.

Bryce Paputa 16-04-2013 21:46

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.

Ether 16-04-2013 22:19

Re: Code Borrowing
 
Quote:

Originally Posted by Bryce Paputa (Post 1262991)
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



tuXguy15 17-04-2013 13:05

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.

Mark McLeod 17-04-2013 13:50

Re: Code Borrowing
 
That log they posted on the other thread says the field connectivity was great.


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

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