Shop OBEX P1 Docs P2 Docs Learn Events
I'm a baaaad boy....... — Parallax Forums

I'm a baaaad boy.......

mindrobotsmindrobots Posts: 6,506
edited 2011-10-02 17:38 in Propeller 1
I was out on Element14's Robot forum and ran across a question and answer I just couldn't resist responding to and doing some Propeller evangelizing.

http://http://www.element14.com/community/message/37688
The question:

I had a issue with generation a sine wave with limited resources. Since robotics has many parallel functions happening at once, now I am wondering how robot builders handle the problem.





How do get past limited clock cycles?
The original answer was long and convoluted and attempted to explain how to set up timed interrupts to implement multiple parallel code threads..........

I basically replied with "propeller: 8 Cores, no waiting"

Comments

  • frank freedmanfrank freedman Posts: 1,983
    edited 2011-10-01 17:16
    Ddddddooooooooohhhhhhhhhh!!!!!

    How heartless.....
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-01 17:49
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-10-01 18:39
    Interesting to see how many take a look :)
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2011-10-01 22:31
    It's analogous to checkout lines at a grocery store... think about it.

    Have you ever observed what happens when they DO (rare occasion) open another line? ... It's like an interrupt request just happened right before my eyes. :-)

    If they would just open all 8 lanes to begin with, well you know... :-)
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2011-10-02 03:15
    Because have a number of AVRs kicking about I have a perverse desire to put together a small computer using them, hopefully learning a bit about C along the way. I have a board that will talk to a FAT32 SD card, I have a board that can talk to a KBD, .....

    The whole thing will probably end up with about 6 cores, I could just use a single Prop (I already have a couple of "DracBlades"), but where is the punishment in that ?
  • mindrobotsmindrobots Posts: 6,506
    edited 2011-10-02 05:11
    I hope you use one of the AVRs as a "hub" to tie all the peripheral AVRs together and provide common memory so the punishment is complete!! :lol:
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2011-10-02 05:57
    Actually that was going to happen ! And it will a m644 with the mem set out as a flat field.

    (The plank of wood, that I am using to hit my forehead with, has just been upgraded to two rusty nails)
  • Mark_TMark_T Posts: 1,981
    edited 2011-10-02 17:38
    mindrobots wrote: »
    The question:

    I had a issue with generation a sine wave with limited resources. Since robotics has many parallel functions happening at once, now I am wondering how robot builders handle the problem.

    How do get past limited clock cycles?
    The original answer was long and convoluted and attempted to explain how to set up timed interrupts to implement multiple parallel code threads..........

    I basically replied with "propeller: 8 Cores, no waiting"

    You did mention the sine table in ROM I hope...
Sign In or Register to comment.