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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Joel Cartwright
Dato:  
Til: ros-users
Emne: [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