Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Need help with message declaration

Hello

I wish to use a message type that i created in one of my packages in my other package, but for some reason it doesn't work :

The package were the message is declared is named dany_controller_pkg and the message type is velocity_derection.

In order to use this message type in my other new package i add to the new package Manifest file the following dependency :

<depend package="dany_controller_pkg"/>

and included in the cpp file of my new package the following declaration :

#include <dany_controller_pkg/velocity_derection.h>

Still for some reason when i compile, the compiler doesn't recognize the imported message type.

What am i missing ? Thanks.

Need help with message declaration

Hello

I wish to use a message type that i created in one of my packages in my other package, but for some reason it doesn't work :

The package were the message is declared is named dany_controller_pkg and the message type is velocity_derection.

In order to use this message type in my other new package i add to the new package Manifest file the following dependency :

<depend package="dany_controller_pkg"/>

and included in the cpp file of my new package the following declaration :

#include <dany_controller_pkg/velocity_derection.h>

Still for some reason when i compile, the compiler doesn't recognize the imported message type.

The exact compiler error is:

Unresolved inclusion: <dany_controller_pkg/velocity_derection.h>

(Also, in the original package the this message type works fine)

What am i missing ? Thanks.

Need help with message declaration

Hello

I wish to use a message type that i created in one of my packages in my other package, but for some reason it doesn't work :

The package were the message is declared is named dany_controller_pkg and the message type is velocity_derection.

In order to use this message type in my other new package package, i add to the new package Manifest file file, the following dependency :

<depend package="dany_controller_pkg"/>

and included in the cpp file of my new package the following declaration :

#include <dany_controller_pkg/velocity_derection.h>

Still for some reason when i compile, the compiler doesn't recognize the imported message type.

The exact compiler error is:

Unresolved inclusion: <dany_controller_pkg/velocity_derection.h>

(Also, in the original package the this message type works fine)

What am i missing ? Thanks.