Python/Pyro sends a string to the IBB like "D(0.5,0.5)"; the IBB
grabs/parses the 1st character from the input string. Dependent on that
character the IBB does a specific action. In this case it would be move.
Then the two values inside of the parenthesis are used within the
specified function. In this case they would be (translate,rotate).

Hope this helps you understand.
- James

> Daniel Brian Myers <[EMAIL PROTECTED]> wrote:
> The handshaking was switched off in the software, but I forgot to
> switch off the dip switch on the actual AIRcable adaptor.  After
> switching that off, the robot works. I only have one more question:
> this is the first time I ever messed with Python, so can anyone tell
> me how the Python code is interacting with the Java class on the
> robot?
>
> Thanks,
> -Daniel
> Daniel Brian Myers <[EMAIL PROTECTED]> wrote: James,
>
> I do get a clear screen after starting the program, and I am fairly
> sure that the bluetooth pairing went okay, however I neglected to
> make sure that hardware handshaking is disabled, so that may
> be my problem. Unfortunately, I won't get a chance to look into
> this until Monday, so I'll post back what I find out then.
> Thanks,
>
> - Daniel
>
> James Snow <[EMAIL PROTECTED]>  wrote:Daniel,
> After you load the file onto the IBB what kind of prompt are you
> getting after you push the start button. You should be getting a
> clear screen.  Are you sure that the bluetooth pairing went okay?
> We found that the IBB doesn't support hardware handshaking, if
> you can't disable  it then you need to "spoof" it. The diretions are
> on the wiki. If that doesn't help could you tell us exactly which
> steps you are taking?
> - James
>

_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users

Reply via email to