Go Down

Topic: Help me think of good names for this (Read 826 times) previous topic - next topic

Delta_G

Feb 12, 2018, 05:52 am Last Edit: Feb 12, 2018, 05:52 am by Delta_G
I'm working on my arm controller and the same code handles a gimbal.  The servos have two modes with a joystick.  One where the joystick just makes the servo move in the direction it's being pushed and the further you push it the faster it goes in that direction.  When you release the joystick the servo stays where it is. 

The other mode is where I just write the reading from the stick directly to the servo.  In this mode the servo always follows the stick and when you release the stick and it goes back to the middle the servo goes back to the middle too. 

I need some good names for these two modes.  This is stuff that's going to be around for a while in my code.  I'm thinking of followTheStick for the second one, but what about the first. 

Got any good ideas?   I don't want to run afoul of PaulS for having stupid names.
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

Qdeathstar

A creaking creeping shadow
stiff against the freezing fog
glares at a tickless watch.

Time has failed him -- all things shall pass.

Robin2

Two or three hours spent thinking and reading documentation solves most programming problems.

GoForSmoke

#3
Feb 16, 2018, 08:32 am Last Edit: Feb 16, 2018, 08:34 am by GoForSmoke
Rate Mode and Position Mode?

" I don't want to run afoul of PaulS for having stupid names."

probably too late for that!
1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

ChrisTenone

"sticky" and "fluid" ?

...R
No. Not "sticky" and "fluid". This is a family forum.
Atmosphere carries combustion vapors to places where they will do good instead of harm - Mike Faraday's 'History of a Candle': https://www.youtube.com/watch?v=6W0MHZ4jb4A

Whoops ::)

GoForSmoke

1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

Henry_Best

No. Not "sticky" and "fluid". This is a family forum.
Then I suppose that "come" and "go" are out of the question.

wilykat

We have restaurant called In n Out so it must be safe on forum.  Use In and Out for the 2 names.

Qdeathstar

A creaking creeping shadow
stiff against the freezing fog
glares at a tickless watch.

Time has failed him -- all things shall pass.

JMeller

Family friendly...
Shuttle (go. stop. go some more.)
Recoil   (go. draw back.)

TomGeorge

Hi,
Industry calls the first mode "JOG", the second mode "JOYSTICK"

Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

Go Up