@hehemrin I'm not an engineer but brushless DC motors are widely used in industry with controllers whose software can be tweaked to suit the application. Not sure if they are open enough to release the source though, or to make it easy to flash new software into them.