|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
What base class do you use when programming?
What base class do you use when programming and why?
|
|
#2
|
||||
|
||||
|
Re: What base class do you use when programming?
Simple robot for life
|
|
#3
|
|||||
|
|||||
|
Re: What base class do you use when programming?
Iterative Robot based for life. Actually I'm moving to command based this year.
|
|
#4
|
|||
|
|||
|
Re: What base class do you use when programming?
Last year we used iterative robot, because finite state machines are very easy to write and we didn't want to deal with concurrency.
We may look at multithreading this year. |
|
#5
|
||||
|
||||
|
Re: What base class do you use when programming?
We might try multithreading as well. But we want to shy away from CommandBased and try to write our own.
|
|
#6
|
|||||
|
|||||
|
Re: What base class do you use when programming?
java.lang.Object
|
|
#7
|
||||
|
||||
|
Re: What base class do you use when programming?
Simple Robot, considering moving to Iterative Robot.
|
|
#8
|
||||
|
||||
|
Re: What base class do you use when programming?
|
|
#9
|
|||
|
|||
|
Re: What base class do you use when programming?
We use simple because it's well… simple.
One of our programmers briefly experimented with iterative |
|
#10
|
||||
|
||||
|
Re: What base class do you use when programming?
I'm not going to say that they're wrong, but anyone not using command based should seriously consider it. It does make some simple things more complicated, but greatly helps readability and maintainability, and it makes chaining actions together and responding to inputs very easy.
|
|
#11
|
|||
|
|||
|
Re: What base class do you use when programming?
IterativeRobot. What it lacks in simplicity it makes up for in flexibility.
|
|
#12
|
|||
|
|||
|
Re: What base class do you use when programming?
Quote:
|
|
#13
|
|||||
|
|||||
|
Re: What base class do you use when programming?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|