Add include guard in headers files (#8108)

Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com>
This commit is contained in:
Sugnan Prabhu
2017-10-11 19:17:52 +05:30
committed by Daniel Agar
parent 553c8b38d2
commit 81809be7cd
28 changed files with 56 additions and 1 deletions
@@ -36,5 +36,7 @@
*
* A simulated Barometer.
*/
#pragma once
#include "VirtDevObj.hpp"
@@ -36,6 +36,8 @@
* @author Mark Charlebois <charlebm@gmail.com>
*/
#pragma once
__BEGIN_DECLS
// The commands to run are specified in a target file: commands_<target>.c
extern const char *get_commands(void);
@@ -38,6 +38,8 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#pragma once
#include "ros/ros.h"
#include <gazebo_msgs/ModelStates.h>
#include <sensor_msgs/Imu.h>
@@ -38,6 +38,8 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#pragma once
#include "ros/ros.h"
#include <px4/manual_control_setpoint.h>
#include <px4/vehicle_control_mode.h>
@@ -39,6 +39,8 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#pragma once
#include "ros/ros.h"
#include <px4/manual_control_setpoint.h>
@@ -39,6 +39,8 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#pragma once
#include "ros/ros.h"
#include <px4/manual_control_setpoint.h>
@@ -38,6 +38,8 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#pragma once
#include "ros/ros.h"
#include <px4/manual_control_setpoint.h>
#include <sensor_msgs/Joy.h>
@@ -40,6 +40,8 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#pragma once
#include "ros/ros.h"
#include <mavconn/interface.h>
#include <px4/vehicle_attitude.h>
@@ -38,6 +38,8 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#pragma once
#include "ros/ros.h"
#include <gazebo_msgs/ModelStates.h>
#include <sensor_msgs/Imu.h>
+2
View File
@@ -31,6 +31,8 @@
*
****************************************************************************/
#pragma once
#define MAX_SHMEM_PARAMS 2000 //MAP_SIZE - (LOCK_SIZE - sizeof(struct shmem_info))
#define PARAM_BUFFER_SIZE (MAX_SHMEM_PARAMS / 8 + 1)