the oRCIn object to do something. I might be a few days though.
--- In oopic@yahoogroups.com, "calpolyjdk" <calpolyjdk@...> wrote:
>
> BTW...below is the basic code that I've been trying to get to work
for
> the past few days:
>
> -------------------------------------------------
> Dim Vex As New oRCIN6
> Dim Ch1_Link As oBus
> Dim Servo1 As New oServo
>
> Sub Main()
> ooPIC.Delay = 5000
>
> Vex.Operate = 1
> Servo1.IOLine = 8
> Servo1.Operate = 1
>
> 'Servo/Channel 1
> Ch1_Link.Input.Link(Vex.Ch1.Value)
> Ch1_Link.Output.Link(Servo1.Position.Value)
> Ch1_Link.Operate = 1
>
> End Sub
> -------------------------------------------------
>
> I've even used the Object Watcher found in the Files section (great
> and useful tool!) to look at the values of Vex.Ch1.Value, and it
> always is 0. Because it is, the Servo will move to an extremity
> because it is expecting 0 to 63. Moving the stick for Ch. 1 on the
> transmitter, though, does nothing to change that value, leading me
to
> believe that the incoming multiplexed servo line from the Vex is
not
> being properly parsed.
>
> FYI...
>
> Jonathan
>
> --- In oopic@yahoogroups.com, "calpolyjdk" <calpolyjdk@> wrote:
> >
> > Well, in a way that's a relief to hear that someone else has
given a
> > shot at it and had troubles as well. That's exactly why I was
hoping
> > to get it to work: virtual circuits to pass through servo
commands
> > until I wanted to do something different with them. Are you
using a
> > Vex transmitter/receiver? If so, might oRCIN not be perfectly
mated
> > signal-wise with the Vex as previously mentioned in this forum?
I'm
> > shooting from the hip here in hopes that these discussions will
lead
> > to the solutions with oRCIN...
> >
> > Jonathan
> >
> > --- In oopic@yahoogroups.com, "tinslwc" <tinslwc@> wrote:
> > >
> > > I tried to use this object a few weeks ago and could not make
it
> > > work. I ended up using a multiplexer, having the OOPic select
the
> > > channel with a select line and read the pulse width. After it
> > > receives it, it selects the next channel and uses the pulse
timer
> > > object. I could not get it to work with only one channel
(using the
> > > servo output from the receiver) or multiple channels. The
> > > multiplexer circuit / program reads the channels about 20
times per
> > > second. I would love the RCIn object to work so I could do
> > > everything with virtual circuits...Oh well.
> > >
> > > --- In oopic@yahoogroups.com, "rtstofer" <rstofer@> wrote:
> > > >
> > > > --- In oopic@yahoogroups.com, "calpolyjdk" <calpolyjdk@>
wrote:
> > > > >
> > > > > Counting the lines, isnt'e RC1 Line 17? In any event, I
also
> > > tried
> > > > > placing the signal onto Line 16 and it still doesn't seem
to be
> > > > > working. I'm trying to follow as best as I can the Object
> > > description
> > > > > of oRCIN(1-6), but again, no dice...
> > > > >
> > > > > Jonathan
> > > >
> > > > I must have gotten cross-eyed. RC1 is correct. Still a
capture
> > > input.
> > > >
> > > > Try it with a single channel pulse. In fact, loop an oServo
output
> > > > back to the oRCIN1 input and see what happens.
> > > >
> > > > Post your code. It should be pretty short.
> > > >
> > > > And describe how you have the system grounds tied together...
> > > >
> > > > Richard
> > > >
> > >
> >
>
------------------------------------
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:
Post a Comment