Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 84

Using msgs from the same package

$
0
0
Hi, I'm trying to use msgs from the current package. So usually it's like this, when I'm using a different package: #include package_name/msg_name pub_ = nh_.advertise("topic", 1); But I'm trying to use the msg I created in the same project package Let's say my package name is first_package and msg is first_msg, but doing so: #include first_package/first_msg pub_ = nh_.advertise("topic", 1); Doesnt seem to work. Well why should I import something that is already in my package. What is the correct syntax here?

Viewing all articles
Browse latest Browse all 84

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>