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.

Friday, November 16, 2007

[oopic] Re: oRamp and DC motors

Just thought if oRamp COULD be used with oNavCon it would be too
cool. Still, it is easy enuf to mimic this, and like I said, the top
speed of my bot isn't that great anyway.
And I can always use it for straight-line motion anyway. I usually
ask for the impossible; a bad habit LOL

--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> I've never tried a single oRamp to run multiple motors. The usual
way
> to use it is for a single motor, it doesn't make much sense to use
one
> to run two motors, I wouldn't think that this would sync up very
well.
> You are basically modifying the response curve of the motor, which
only
> works on a single motor.
>
> DLC
>
> red71956 wrote:
>
> >I've been having a bit of trouble working with oRamp objects.
> >Main question: do I need 2 oRamps to work with oNavCon (one for
each
> >motor)? I don't think so, but I'm not getting the results I expect
when
> >using one oRamp to 'ramp up' the Speed variable that is
transferred to
> >oNavCon. Are these objects conflicting with each other?
> >
> >oNavCon varies R and L motor speeds to control the steering as
> >per 'Turn' variable. (Right?)
> >
> >I thought using oRamp to vary the 'Speed' would enable gradual
turns
> >to be sped up. I can only seem to get 'Speed' to ramp by using it
> >directly on each motor.
> >Is it me?
> >I don't have a crying need for oRamp since the top speed isn't
much
> >anyway, but it is too cool to NOT use.
> >I'm using Oopic Rs, B2.2+, with V6 compiler.
> >
> >Short code demo would be appreciated!
> >
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>



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: