|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 Last edited by davidthefat : 28-05-2010 at 00:01. |
|
#2
|
|||||
|
|||||
|
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.
|
|
#3
|
||||
|
||||
|
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.
|
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
|||||
|
|||||
|
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. |
|
#7
|
|||
|
|||
|
Re: What Would You Say From Past Robotics Experiences...
Now I think I do both at the same time....
|
|
#8
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What Would You Say To The Newer Members Of CD - 2nd Edition | JaneYoung | General Forum | 54 | 04-02-2016 19:43 |
| What Do You Wish You Would Have Known Your Rookie Year? | SlaminSwimster | General Forum | 77 | 16-12-2008 12:13 |
| what what would you like to see in a team website? | fimmel | Website Design/Showcase | 24 | 08-11-2006 08:32 |
| What would you say to newer members of the CD community? | Ken Leung | General Forum | 18 | 02-06-2006 12:05 |
| What have you done in past years? | Lora Knepper | Chairman's Award | 3 | 03-06-2001 18:23 |