ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Create Data Conversion Package C++! [closed]

asked 2018-01-15 04:26:00 -0500

xtrix gravatar image

updated 2018-01-15 04:26:21 -0500

I have a problem with this tutorial about creating a header file. I do not understand what I should do and how should I do that. Can anyone give a clue? Or some links where I can learn about these header? In this tutorial we need to have some knowledge, but where are the tutorials that have taught us about those header file. Nowhere was the header file mentioned (or I missed it). Thanks for any help.

edit retag flag offensive reopen merge delete

Closed for the following reason too subjective or argumentative by xtrix
close date 2018-01-15 12:48:58.861553


a Header file is a General C++ construct and not (directly) related to ROS. What is your exact question here?

mgruhler gravatar image mgruhler  ( 2018-01-15 04:47:59 -0500 )edit

The question.... I think there is no one question. Is the expression of a misunderstanding the tutorial. I am a newnewbe so I expected to follow some clear instruction (as it was untill that tutorial). But I got lost whit this 'header file'. I don't know where should I put it,...

xtrix gravatar image xtrix  ( 2018-01-15 08:23:58 -0500 )edit

... if it has some standard type, if it belong to 'learning_tf2' package, etc.

xtrix gravatar image xtrix  ( 2018-01-15 08:25:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-15 04:47:20 -0500

The tutorial you're attempting is an intermediate level, I would not advise you to start here if you're not familiar with fairly complex C++ projects already.

There is a good tutorial here that explains why and how c header files are used in projects. If you can have a play around with the examples shown here in a separate (non-ROS) project to get used to working with .c and .h files then this ROS tutorial should make more sense.

edit flag offensive delete link more


Thanks for your reply. As i said above I got lost but your answer seems answer my misunderstanding

xtrix gravatar image xtrix  ( 2018-01-15 08:29:13 -0500 )edit

Question Tools

1 follower


Asked: 2018-01-15 04:26:00 -0500

Seen: 113 times

Last updated: Jan 15 '18