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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Joel Cartwright
Date:  
To: ros-users
Subject: [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