Motor - Definition

Interested in Robotics? Here's the place to be.
Post Reply
hlreed
Posts: 349
Joined: Wed Jan 09, 2002 1:01 am
Location: Richmond, TX
Contact:

Motor - Definition

Post 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.
Harold L. Reed
Microbes got brains
I_don't_get_it
Posts: 3
Joined: Mon Apr 07, 2003 1:01 am
Contact:

Re: Motor - Definition

Post by I_don't_get_it »

You are going to have to elaborate. I just don't seem to understand what you are saying.
hlreed
Posts: 349
Joined: Wed Jan 09, 2002 1:01 am
Location: Richmond, TX
Contact:

Re: Motor - Definition

Post 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>
Harold L. Reed
Microbes got brains
I_don't_get_it
Posts: 3
Joined: Mon Apr 07, 2003 1:01 am
Contact:

Re: Motor - Definition

Post by I_don't_get_it »

Yes, thank you. I guess was thinking to literal and not trying to think about the grand picture.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests