Import GetMap 2.7

Sorry I am new to ROS and I am stuck on how to import response type for static_map.
Also can someone please look at my code to tell me if I am doing it correctly?
Really suck to study on my own lol

Edit: also I have this error when I run: ERROR: cannot launch node of type [get_map_data/call_map_service.py]: can’t locate node [call_map_service.py] in package [get_map_data]

Hello @sol009,

For the 1st question, you should have a look at the Services Units in the ROS Basics in 5 Days Course. You should complete these Units in order to understand how services work and how to create them.

As for the 2nd question, it probably is an issue related to file permissions. Try giving execution permissions to the file with the following command:

chmod +x call_map_service.py

Best,