Navigaion system indoor vs outdoor

how to know if the robot inside or outside the wooden area and how to switch the navigation system from static map to gps

Hello @mohamed.gamea,

Well, honestly I cannot answer your question since I have never done anything like that. The only way I can think of is to detect it and switch it manually. However, I suggest you make this answer in the ROS Answers forum since there’s the possibility that someone has already implemented something similar and can give you some hints.

Best,