From fd9eb58255b600b321e8c7dd2cf725a7e9fcdc5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20Hern=C3=A0ndez=20Juan?= <shernand@iri.upc.edu>
Date: Mon, 13 Apr 2015 12:35:06 +0000
Subject: [PATCH] Moved the dyn_server variable to the protected fields.

---
 src/dynamixel_motor_group.h | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/dynamixel_motor_group.h b/src/dynamixel_motor_group.h
index c7b0ec9..633f620 100644
--- a/src/dynamixel_motor_group.h
+++ b/src/dynamixel_motor_group.h
@@ -27,18 +27,12 @@ typedef struct
 
 class CDynamixelMotorGroup 
 {
-
   private:
     /**
      * \brief 
      *
      */
     std::string group_id;
-    /**
-     * \brief 
-     *
-     */
-    CDynamixelServer *dyn_server;
     /**
      * \brief 
      *
@@ -132,6 +126,11 @@ class CDynamixelMotorGroup
      */
     std::vector<unsigned char> servo_id;
   protected:
+    /**
+     * \brief 
+     *
+     */
+    CDynamixelServer *dyn_server;
     /* Motion sequence attributes */
     /**
      * \brief 
-- 
GitLab