Shop OBEX P1 Docs P2 Docs Learn Events
Need Help Arlo code — Parallax Forums

Need Help Arlo code

NicoHEINicoHEI Posts: 15
edited 2016-05-07 21:06 in General Discussion
Hello everybody !

We have to code a Arlo with propeller activity board / HB 25 and 2 alu wheels with encoders

We wish drive the robot on 2 axes (x and y) :
Example :
3 meters on x
90° rotate
1 meter on y

do you know which library we can use for this ?

Thx very much

PS : Excuse me for my englsh writing HAHA (French student :) )

Comments

  • Actually we use simple IDE but we don't know if it's the best solution
  • Interactively with Tachyon assuming we write a few functions we could type:
    3 meters X
    90 rotate
    1 meter Y

    or put that in a new definition interactively (no IDE, just a serial terminal or phone)
    pub DEMO
    3 meters X
    90 rotate
    1 meter Y
    ;

    then type DEMO or simply refer to it in anther higher level function etc.
  • I don't know what is Tachyon...
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2016-05-07 11:59
    Tachyon is a version of Forth that is both the O/S and language that is loaded onto the Propeller EEPROM. From there the language may be extended so that the user software becomes an extension of the language. All the names of the definitions and symbols are stored in a dictionary and can be accessed from the serial terminal both for direct execution and for compilation. The language is both very compact and very fast.

    Click on my Propeller Hardware Explorer link and load that up into a Prop, connect a serial terminal at 115200 and reset then click on my Introduction link to start playing.
  • There are tutorials for using Arlo with an activity board on the propeller learning pages. The link to one that discusses controlling its motion is at:

    learn.parallax.com/tutorials/robot/arlo/arlo-activity-board-brain/try-tune-some-activitybot-code

    There is a menu of other ARLO with Activity Board tutorials on the left side of that page.

    Hope this helps
    Tom
  • There's also Spin code available for controlling the Arlo hardware.
    I'm presently working on a post summarizing my efforts to make Spin code for the Arlo hardware.
  • twm47099 wrote: »
    There are tutorials for using Arlo with an activity board on the propeller learning pages. The link to one that discusses controlling its motion is at:

    learn.parallax.com/tutorials/robot/arlo/arlo-activity-board-brain/try-tune-some-activitybot-code

    There is a menu of other ARLO with Activity Board tutorials on the left side of that page.

    Hope this helps
    Tom

    drive_goto doesn't work ... with arlodrive.h and abdrive.h...
  • Duane Degn wrote: »
    There's also Spin code available for controlling the Arlo hardware.
    I'm presently working on a post summarizing my efforts to make Spin code for the Arlo hardware.

    We don't know spin langage...

  • I think we also have a problem with wiring between HB25/Encoder/Activity board... http://forums.parallax.com/discussion/comment/1234335#Comment_1234335

    We have followed this montage but a lot of function and library like drive_goto, drive_speed, drive... which use encoder information...

    There is no connection between HB25 and encoder... strange no ?
  • NicoHEI wrote: »
    There is no connection between HB25 and encoder... strange no ?

    No, the encoder does not directly communicate with the HB-25.

    The Propeller chip monitors the encoders and controls the HB-25 appropriately.

  • Duane Degn wrote: »
    NicoHEI wrote: »
    There is no connection between HB25 and encoder... strange no ?

    No, the encoder does not directly communicate with the HB-25.

    The Propeller chip monitors the encoders and controls the HB-25 appropriately.

    Ok I understand,

    But the drive function doesn't work also servo_speed and servo_angle work...

    I included all library (Arlo...)
Sign In or Register to comment.