Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   How many lines of code do you have total? (http://www.chiefdelphi.com/forums/showthread.php?t=92887)

bdbayes 06-04-2011 14:33

Re: How many lines of code do you have total?
 
Our robot runs on approximately 250 lines of code. That does not include an autonomous program.

PatJameson 20-04-2011 03:39

Re: How many lines of code do you have total?
 
Quote:

Originally Posted by davidthefat (Post 1030966)
I am going to use inline assembly next year to squeeze out more juice and performance from the cRio.

What are you going to try to do to have the need to squeeze out more juice, if I may ask?

Also, our's is 1353 lines long at the moment.

virtuald 21-04-2011 15:53

Re: How many lines of code do you have total?
 
We're using python:

Code:

  584  arm.py
  297  auto.py
  309  robot.py
  40  util.py
-----------
  222  test.py
  253  fake_wpilib.py
-----------
 1705  total

So... around 1/3 of the code is unit test / related code, and at least 10% of the rest is comments.

davidthefat 21-04-2011 19:03

Re: How many lines of code do you have total?
 
Quote:

Originally Posted by PatJameson (Post 1054731)
What are you going to try to do to have the need to squeeze out more juice, if I may ask?

Also, our's is 1353 lines long at the moment.

Image processing. We aren't sending any feed to the classmate. All the image processing will probably be done on an off board processor. That is where I will utilize the assembly, especially with object recognition.

PatJameson 21-04-2011 21:47

Re: How many lines of code do you have total?
 
Quote:

Originally Posted by davidthefat (Post 1055294)
Image processing. We aren't sending any feed to the classmate. All the image processing will probably be done on an off board processor. That is where I will utilize the assembly, especially with object recognition.

Interesting. I created a bit of recognition using only java run on a netbook which could send information to the cRIO. We didn't use it this year as there were much less complex ways to complete autonomous, though. The netbook had plenty of processing power for what I did with it.

davidthefat 22-04-2011 21:04

Re: How many lines of code do you have total?
 
Quote:

Originally Posted by PatJameson (Post 1055377)
Interesting. I created a bit of recognition using only java run on a netbook which could send information to the cRIO. We didn't use it this year as there were much less complex ways to complete autonomous, though. The netbook had plenty of processing power for what I did with it.

Eh, not a fan of Java. But thanks for sharing. I have more ambitious goals I guess.


All times are GMT -5. The time now is 11:18.

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