[ros-users] manifest.xml msg export

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Joel Cartwright
日付:  
To: ros-users
題目: [ros-users] manifest.xml msg export
Hi,

For modules that export messages, I'm a little confused by the use of
this block in manifest.xml as suggested by
http://www.ros.org/wiki/ROS/Tutorials/DefiningCustomMessages:

<export>
<cpp cflags="-I${prefix}/msg/cpp"/>
</export>

That directory doesn't seem to exist after rosmake; the auto-generated
C++ code is placed under msg_gen instead.

When loading projects for dependant modules into eclipse (following the
relevant ROS wiki page), eclipse gives a warning about non-existent
include directories due to this block. An include line to the correct
path is also added to the eclipse .cproject file, so the build works anyway.

What purpose does this export block have? Java, lisp and octave code is
generated uner /msg - is the intention to move the cpp code under /msg
at some point, and this is designed to allow that?

Thanks,

Joel
--
Research Assistant
Ocean Systems Laboratory
Heriot-Watt University, UK