Exercise 2.7 in the ROS Navigation in 5 days


I have an error in the python file which was given in the solution of exercise 2.7.

The error is shown below.

In the line, from nav_msgs.srv import GetMap, GetMapRequest, it says as follows.

No name ‘GetMapRequest’ in module 'nav_msgs.srv’pylint(no-name-in-module)
View Problem (Alt+F8)
No quick fixes available

How can I fix this?

Thank you.



I apologize for the glitch.
If the error is only in the IDE and not preventing your from running the package, please ignore it.

You also need to ensure that you have compiled and sourced your workspace.

This topic was automatically closed after 2 days. New replies are no longer allowed.