#ifndef CONTROL_MODE_ENUM_H
#define CONTROL_MODE_ENUM_H

namespace ControlModes
{
enum ControlMode
{
  OPEN_LOOP  = 0,
  SIXDOF     = 1,
  RPY_DEPTH  = 2,
  DEPTH_HOLD = 3
};
}
typedef ControlModes::ControlMode ControlMode;

#endif

#ifndef CONTROL_MODE_ENUM_H
#define CONTROL_MODE_ENUM_H

namespace ControlModes
{
enum ControlMode
{
  OPEN_LOOP = 0,
  SIXDOF    = 1,
  RPY_DEPTH = 2
};
}
typedef ControlModes::ControlMode ControlMode;

#endif

--- 
+++ 
@@ -5,9 +5,10 @@
 {
 enum ControlMode
 {
-  OPEN_LOOP = 0,
-  SIXDOF    = 1,
-  RPY_DEPTH = 2
+  OPEN_LOOP  = 0,
+  SIXDOF     = 1,
+  RPY_DEPTH  = 2,
+  DEPTH_HOLD = 3
 };
 }
 typedef ControlModes::ControlMode ControlMode;
Add depth hold mode to enum
