[ros-users] Include convention for ROS messages, etc.

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Joel Cartwright
日付:  
To: ros-users
題目: [ros-users] Include convention for ROS messages, etc.
Hello all,

I have a question about ROS C++ include convention: For header files
from another package, which include method is preferable?

    #include <geometry_msgs/Twist.h>


or
    #include "geometry_msgs/Twist.h"


Both compile correctly, and both are seen in the standard ROS stacks.

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