This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Sunday, July 22, 2007

[oopic] Re: oDcmotor, oJoystick, and speed ramping

The 45 degree rotation should do what you are looking for even with
pushbutton type joysticks.

Moving the stick to 12 o'clock gives FF (both channels forward), 6
o'clock gives RR (both channels reverse).

9 o'clock gives RF (left reverse with right forward - spin left), 3
o'clock gives FR (left forward with right reverse - spin right).

1:30 gives FS (left forward with right stop - locked right wheel turn
right), etc...

With the button joystick you can get 9 combinations...

(F)orward, (R)everse, (S)top
-- -- FF -- --
-- SF -- FS --
RF -- SS -- FR
-- RS -- SR --
-- -- RR -- --

--- In oopic@yahoogroups.com, "Travis Swaim" <cheeto4493@...> wrote:
>
> I thought of rotating the stick, but it is a cheap remote, and the
> joystick just pushes buttons on the circuit board, so no-go.
>
> --- In oopic@yahoogroups.com, <dennis.clark@> wrote:
> >
> > You can use oMath to scale between oNavcon and your joystick
values.
> >
> > Another fun fact. If you have a transmitter with 2 sticks you can
> open it up and rotate the joystick insert to get back to tank
steering.
> >
> > DLC
> >
> > ooPIC Tech Support
> >


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: