Subject:
|
Re: Robolab as a tool for teaching programming
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 18 Mar 2005 21:51:13 GMT
|
Viewed:
|
4011 times
|
| |
| |
In lugnet.robotics, Juergen Stuber wrote:
> Is this structure enforced by Robolab?
I do not believe Robolab enforces any structure aside from a sequence of
connected icons. It is up to the programmer to position things nicely in order
to show structure. Robolab does have tools to align icons and wires.
The programs on HaciendaRobotics.com do look better than some of the Robolab
programs I have seen on the internet. However,
http://www.haciendarobotics.com/lessons/programming/wallbumper/index.html
This page shows how to create a subVI that contains a jump and land icon.
According to the unofficial FLL FAQ you cannot reuse that subVI in your program
or bad things will happen.
http://fll-freak.home.comcast.net/faq/faq_robolab.htm
The program referenced above does not reuse the subVI, but creating subVIs is
generally a tool to allow easy reuse of code that is repeated in other places in
a program (as an alternative to subroutines).
John Hansen
|
|
Message has 2 Replies: | | Re: Robolab as a tool for teaching programming
|
| Hi John, (...) I find these extremely misleading, in a flowchart you should rather use the lines to express control flow. (...) It looks like you will have the same label (land icon color) twice in this case, as subVI a is just a macro. However, a (...) (20 years ago, 19-Mar-05, to lugnet.robotics)
| | | Re: Robolab as a tool for teaching programming
|
| Can someone create a lugnet robotics language advocation group or something? I understand some of you want to debate this, but many are bored of hearing it. I am a programmer with a lot of skill and experience, in fact outside of my robotics, it is (...) (20 years ago, 19-Mar-05, to lugnet.robotics)
|
Message is in Reply To:
| | Re: Robolab as a tool for teaching programming
|
| Hi Steve, (...) all the programs you have are well-structured, not spaghetti-code as one would expect for flowcharts at least some of the time. I.e. loops and conditions are properly nested, there are no jumps to some completely different place. Is (...) (20 years ago, 18-Mar-05, to lugnet.robotics)
|
114 Messages in This Thread: (Inline display suppressed due to large size. Click Dots below to view.)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|