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

Joel Cartwright J.J.Cartwright at hw.ac.uk
Wed Aug 25 16:50:58 UTC 2010


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



More information about the ros-users mailing list