back to Index

multitask-thoughts

2014-07-19

thoughts on multitasking

  • cogen
    • has strange api, unpacks arrays for some reason.

multiprocessing/multithreading

scrim

  • just make something that works

the dream

def ticker():
    while True:
        tick()
        sleep(.01)
def controller():
    while True:
        control()
        sleep(.001)

sched.add(ticker)
sched.add(controller)
sched.startAll()
  • todo
    • measure latency/control frequency over lcm multiprocess