Kabuki robot coordination system

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
dastultz
Posts: 20
Joined: Mon Jan 11, 2016 2:56 am

Kabuki robot coordination system

Post by dastultz » Mon Oct 03, 2016 12:15 am

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

Post Reply