3 ms·
Fair enough, my first idea was actually to use MicroPython. With a megabyte of Flash that would have been possible, but 64K is just not enough.
by timakro 8y ago
Fair enough, my first idea was actually to use MicroPython. With a megabyte of Flash that would have been possible, but 64K is just not enough.
- ChuckMcM 8y agoA micropython based flight control system would be a really cool project.
- TickleSteve 8y agohmm, watching your copter crash during Pythons garbage-collection cycle might be an issue.... Python != realtime, flight-control == hard real-time
- ChuckMcM 8y agoThe interesting difference here is that these things have a bunch of processors on them. So the 'pilot' process can be essentially an interrupt service routine that keeps things sane on an interrupt that cant be masked by the Python code. So during garbage collection your UAV might stop and hover, but it would be unlikely to crash in that scenario. Further, my experience with Micropython so far has shown it to be pretty fluid. But I would be the first to tell you I haven't challenged it all that much.
- dvfjsdhgfv 8y agoI think it's going to happen sooner that we'd expect, with the OpenPilot Revolution board being considered for a port: https://github.com/micropython/micropython/wiki/Boards-Summary https://github.com/micropython/micropython/wiki/Boards-Summa...