thehippoz
Second Officer
United States
Offline
|
RAMJET-1 Posted at 2017-3-25 09:55
CraigA, Those are my thoughts as well. I write PLC programs for automated machinery and I have seen 1st hand some programs written abroad for some tobacco machinery that was not structured well at all. Instead of developing data blocks to be used (bits, Bytes, words, Dwords, Integers, etc...) they used internal memory in the PLC which really slowed down the processors scan rate a lot. It seems with each upgrade of the software from DJI it gets worse. Its all in the structure of the code as to how smooth it will run without glitches and bogging down the process.
Yeah optimizing code is a art in itself. Can do much more faster bit shifting. Working with pic qfn and vqfn that fit on the end of your fingertip, they have like 8k of eprom, you have to know what the registers do at the assembly level. With guys using these bootloaders today (like arduino), but don't know assembly, it's not surprising to see wasted cycles and data space including the loader itself.
Android is linux. But google keeps changing things. Like unix was back in the day, people would write their own commands. Problem was, new guy come along and use that command in his own. It became a cluster because you'd have commands built on commands. Dji should hire better programmers to help the team on android side.
|
|