NXT development framework?
Posted: 16 Aug 2011, 14:10
Hi all,
I came upon pbLua the other day, and it sounds like a very good, high-level way of developing for the NXT. I'm not clear on how popular it is, because I'm just starting out, but I see that the language mostly mentioned here is NXC. Can someone explain to me the relative merits of each?
That having been said, I'm thinking of writing a small, open-source framework in Lua along with a small toolchain to easily upload/send scripts to the brick and execute them. Would there be interest in something like this, or does it already exist and I just haven't been able to find it?
The framework I have in mind would basically consist of an event loop, so that, instead of having to poll for buttons or sensors all the time, one could just define an onButtonPressed(button) method and have it get called whenever a button is pressed. The framework would also include some typical control functions such as hysteresis, Kalman filters, etc.
Is there interest for something like this or am I just duplicating someone else's efforts completely?
I came upon pbLua the other day, and it sounds like a very good, high-level way of developing for the NXT. I'm not clear on how popular it is, because I'm just starting out, but I see that the language mostly mentioned here is NXC. Can someone explain to me the relative merits of each?
That having been said, I'm thinking of writing a small, open-source framework in Lua along with a small toolchain to easily upload/send scripts to the brick and execute them. Would there be interest in something like this, or does it already exist and I just haven't been able to find it?
The framework I have in mind would basically consist of an event loop, so that, instead of having to poll for buttons or sensors all the time, one could just define an onButtonPressed(button) method and have it get called whenever a button is pressed. The framework would also include some typical control functions such as hysteresis, Kalman filters, etc.
Is there interest for something like this or am I just duplicating someone else's efforts completely?