From 3c1cf41e539d758831e5c20deda89b92d8b2da50 Mon Sep 17 00:00:00 2001
From: Nikhil Ambardar <202-nikaviator@users.noreply.git-st.inf.tu-dresden.de>
Date: Thu, 22 Oct 2020 14:46:21 +0000
Subject: [PATCH] Update robot.h

---
 src/datalink/robot.h | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/datalink/robot.h b/src/datalink/robot.h
index b805f7e..a63af07 100644
--- a/src/datalink/robot.h
+++ b/src/datalink/robot.h
@@ -1,5 +1,4 @@
 #include "worldobject.h"
-
 #include <vector>
 #ifndef ROBOT_MODELS_R_H
 #define ROBOT_MODELS_R_H
@@ -8,13 +7,18 @@ class robot : public worldobject
 {
 public:
     std::string robname;
-    joint *jo1= new joint;
+    joint* jo[10]= {new joint};
+
+    //*jo[10]= nullptr;
+    //= new joint;
+    /* joint *jo1= new joint;
     joint *jo2= new joint;
     joint *jo3= new joint;
     joint *jo4= new joint;
     joint *jo5= new joint;
     joint *jo6= new joint;
-    joint *jo7= new joint;
+    joint *jo7= new joint;*/
+
     bool of,moving,grasppos;
     std::string planninggrp;
 };
-- 
GitLab