Driver library for all platform motors using canbus