I got my Bachelors of science degree in Computers and Systems Engineering from a top university in my country 2 years ago. I am now having a fully funded opportunity (as a research assistant) for a Masters in computing science (Thesis option) at one of the top 50 worldwide computing schools, located in Canada. My work will mainly be in the area of industrial automation as a cloud service. This topic is related to my capabilities and interests. However, I am more passionate with the field of robotics in general and specially the autonomous vehicles field (which still lays in the area of computer science). My main goal is to have a Phd in this field from a university like MIT, Stanford and Carnegie Mellon after having my masters degree.
My main question is; is it O.K. to make such a change in the research topic after having my Masters? Or Should my masters research work be in the same specific area?