Can anyone share me "roscpp_tutorials/TwoInts.h"
Hi ,I decide to learn ROS but i didn't found "roscpp_tutorials/TwoInts.h" header file. If you have this file, please share me :)
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi ,I decide to learn ROS but i didn't found "roscpp_tutorials/TwoInts.h" header file. If you have this file, please share me :)
The file you are looking for is automatically generated by the message_generation
package, and even if you found the header file (.h), manually adding that to your package would be conceptually wrong.
The fact that you are not aware of that suggests you should follow the ROS Tutorials, particularly tutorial 10, which explains how to create and use ROS message and service files. Then, tutorials 14 and 16 further explain the underlying concepts.
I strongly advise you follow the ROS Tutorials (or one of those recently published books about ROS, if you fancy) if you are starting to learn ROS! :-)
Hi Mr. Murilo, what a nice suprice :) i searched at google and i found "A 5-day ROS crash course" materials. I am at Writing a Service Node in C++. Everything is ok but eclipse shows me error.
Description Resource Path Location Type Type 'day2_service::AddTwoInts::Request' could not be resolved service_node.cpp /build/[Source directory]/ros_day2/day2_service/src line 4 Semantic Error
like that lots of errors
Oh, OK. If you are following that and compiling the package named day2_service
, then the header file will be inside your catkin workspace, in devel/include/day2_service
. The code is essentially the same as the ROS Tutorials.
As for the error in Eclipse, make sure you configured the package according to this documentation.
Asked: 2014-08-26 07:39:19 -0600
Seen: 690 times
Last updated: Aug 26 '14