Page 1 of 1

Kabuki robot coordination system

Posted: Mon Oct 03, 2016 12:15 am
by dastultz
Hello all,

I'd like to announce the initial release of a framework for coordinating inputs and outputs and animating robots. A bit hard to explain in a one-liner, but have a look at the documentation and examples.

For you Micropython masters, I'm looking to see if there is anything that can be done to improve the performance if this function, one heavily used by a typical Kabuki project:

Code: Select all

def map(value, in_start, in_stop, out_start, out_stop):
    return out_start + (out_stop - out_start) * ((value - in_start) / (in_stop - in_start))
I've tried using native and viper annotations with no obvious improvement. Not sure what the state of these options is. I don't know how to write direct assembly, so not sure if such a simple math calculation can be improved that way.

Thanks.

/Daryl