Create motor_spec