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

Some questions about C++ header file references when programming ROS2humble

asked 2023-07-28 23:25:41 -0500

xudadi gravatar image

updated 2023-07-29 16:59:22 -0500

Mike Scheutzow gravatar image

This header file always fails to be referenced:

#include "tutorial_interfaces/msg/num.hpp"

I don’t know why. I am learning humble from Foxy’s tutorial. Is it because of version differences?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2023-07-29 16:22:43 -0500

billy gravatar image

Correct. In my install of Humble there is no 'tutorial_interfaces". In my Humble there is "example_interfaces" but there is no "num.hpp" there.

Assuming you're on linux, the msg files can be found here /opt/ros/humble

I suggest you find the Humble version of what you're trying to do,, if it exists.

edit flag offensive delete link more

Comments

yes, on linux, and I'm a beginner and I didn't find a better humble tutorial

xudadi gravatar image xudadi  ( 2023-07-30 00:30:17 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-07-28 23:22:59 -0500

Seen: 42 times

Last updated: Jul 29 '23