Copied key files from sw_motor_control