Quantitative control of a rotary carbon nanotube motor under temperature stimulus