ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The first errors messages are often the most important. In your errors the important ones seem to be:
/home/javier/catkin_ws/src/beginner_tutorials/src/get_element_server.cpp:7:7: error: ‘beginner_tutorials::GetElement::Response’ has no member named ‘result’
and
/home/javier/catkin_ws/src/beginner_tutorials/src/get_element_server.cpp:8:33: error: ‘beginner_tutorials::GetElement::Request’ has no member named ‘name’
these errors are repeated several more times in various different contexts within your code.
These errors seem odd, because as listed these fields are present in your service definition.
I would start by checking:
GetElement.h
; this should be GetElement.srv
devel/include/
path/to/package/GetElement.h
file in your catkin workspace.