Page 1 of 1

Motor - Definition

Posted: Fri Mar 28, 2003 1:24 pm
by hlreed
Motors translate from brain or sensor to the outside world. They have one input. Let that be I.
Then the procedural definition is:
Motor
Read I ; note 1
Convert I to an analog of the action.
Do the action ;note 2
GoTo Motor ; keep reading input.<p>note 1: To have smooth control, I should at least be a base 3 or more in size. I use base 256.
note 2: Mostly rotary velocity or servo position.

Re: Motor - Definition

Posted: Mon Apr 07, 2003 10:55 pm
by I_don't_get_it
You are going to have to elaborate. I just don't seem to understand what you are saying.

Re: Motor - Definition

Posted: Tue Apr 08, 2003 8:50 am
by hlreed
OK.
That was a procedural definition of a motor. It assumes the reader can read a sequential program.
Here is a verbal translation.<p>Motors provide the actions of the robot. No motor, no action. <p>A motor reads an input that tells it what to do.
That means an abstract number is turned into an action with dimensions. <p>Motor actions are rotary velocity or position.<p>A procedural text contains:
1. statements
2. address labels. (Always on a line alone.)
3. comments (delimited with ; )
Statements do what they say. Read is getting data from outside. Write is putting data to outside.
Goto changes the sequence and sends you to an address label.<p>Here is a sample. Statements are numbered here.<p>Function ;this is a label
1.Read I ;gets data from outside and puts it in I
2.Read R ;
3.Do f(I,R) ;
4.Write O ;send answer outside.
5.Goto Function ;go back to Function
end ; of Function<p>Does this help?<p>[ April 08, 2003: Message edited by: Harold ]</p>

Re: Motor - Definition

Posted: Thu Apr 10, 2003 9:39 pm
by I_don't_get_it
Yes, thank you. I guess was thinking to literal and not trying to think about the grand picture.