Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Problem reading RC Controller input — Parallax Forums

Propeller Problem reading RC Controller input

jasonk1229jasonk1229 Posts: 3
edited 2009-05-14 13:15 in Propeller 1
Greetings,
I am attempting to read the input with an RC controller , Futaba FP-R127DF, It is being paired with the Skysport 4 Radio Transmitter. I am using a hexapod crawler, which is able to walk fine on its on using 3 servos. I am trying to use the propeller to interpret commands sent to the RC unit and in turn have the the propeller sned more advanced commands to the hexapod. I am using the prop education kit set up on the the bot. I am currently using the BS2 Object to send commands to the servos. I have attached what I currently have done, I believe there is something wrong with how my prop is reading the servo output. Thanks for any help that anyone can provide.

Comments

  • John AbshierJohn Abshier Posts: 1,116
    edited 2009-05-08 01:26
    In readIn forwardOrBack is passed as an address but not dereferenced.
    forwardOrBack := 1 should be long[noparse][[/noparse]forwardOrBack] := 1

    I haven't used it but an object to read RC input is here
    http://forums.parallax.com/forums/default.aspx?f=25&m=231689&p=1&ord=d

    John Abshier
  • jasonk1229jasonk1229 Posts: 3
    edited 2009-05-14 13:15
    Hey John thanks for the speedy reply we actually had to turn it in a couple days after that post, I eventually got it working with my group, The major issues that we were having was using spin , because most of us were used to java, so just a little differnt but iappreciate your help! ill post some pics when I get some free time

    Jason
Sign In or Register to comment.