Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   What Would You Say From Past Robotics Experiences... (Procedural or Object-Oriented?) (http://www.chiefdelphi.com/forums/showthread.php?t=85943)

davidthefat 27-05-2010 23:55

What Would You Say From Past Robotics Experiences... (Procedural or Object-Oriented?)
 
That programming on a robot is more procedural than object oriented. I realize that I first had difficulty with programming a robot because I was so focused on OO. Sure I may not be 100% sure about the actual definitions of OO and Procedural, but I think I can say robot programming is highly procedural. Anyone disagree?

After reading Wiki, its definitely even driven

Jared Russell 28-05-2010 07:36

Re: What Would You Say From Past Robotics Experiences...
 
How procedural or OO the programming is on your robot is entirely up to the programmer. I have seen effective robot code done both ways.

demosthenes2k8 28-05-2010 07:41

Re: What Would You Say From Past Robotics Experiences...
 
Our own system, which runs on a framework we're releasing sometime in the future, is extremely OO. I think that if we had tried to do a lot of the things we did in a procedural manner, it wouldn't have gone as well.

gblake 28-05-2010 07:41

Re: What Would You Say From Past Robotics Experiences...
 
What would I say?

I would say that this is what is known as an ill-formed question. It both presents a false dichotomy, and focuses attention on the tail that wags the dog.

I'm going to shoot from the hip, and suggest that you should ask this "Are robot programmers (and the software tools available to them) more procedural than object oriented?"

While my suggested question might seem as interesting than the one you used. I think it is more on-target.

Blake

JesseK 28-05-2010 08:25

Re: What Would You Say From Past Robotics Experiences...
 
The basis of OO programming is organizing the code before the coding begins. Robots are no different: if you start with an architecture that separates constants, utility functions and critical functions, it's easy to create an object-oriented robot codeset that is efficient. Additionally, tools like threads and timers may be folded into the architecture so that simultaneous tasks can run. Each function may be procedural, yet the management of the functions does not have to be.

Alan Anderson 28-05-2010 10:07

Re: What Would You Say From Past Robotics Experiences...
 
That's like asking "Do you walk to school, or bring your lunch?" Object Oriented and Procedural Programming are not on the same scale. You can have OO with or without PP, and you can have PP with or without OO.

There's not much support for Object Oriented Programming at the user level in LabVIEW, so a large number of teams this past year had neither OO nor PP.

davidthefat 28-05-2010 10:19

Re: What Would You Say From Past Robotics Experiences...
 
Now I think I do both at the same time....

Madison 28-05-2010 17:06

Re: What Would You Say From Past Robotics Experiences... (Procedural or Object-Orient
 
Please make the title of the threads you start more clear.

Thanks.


All times are GMT -5. The time now is 03:24.

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