I had placed my solution then rotate_robot_srv_client2.py ( your version of the solution)
under catkin_ws/src/robot_control/src/
And i had the following error :
raceback (most recent call last):
File “/home/user/catkin_ws/src/robot_control/src/rotate_robot_srv_client2.py”, line 4, in
from robot_control.srv import RotateRobot, RotateRobotRequest
ImportError: No module named srv
I recomplied and sourced and the problem was remaining
It worked ok when i moved it to under
robot_control/src/robot_control
or robot_control/test
can you explain ?