Skip to content
Snippets Groups Projects
Commit 3c1cf41e authored by Nikhil Ambardar's avatar Nikhil Ambardar
Browse files

Update robot.h

parent fb4a0be4
Branches
Tags
No related merge requests found
#include "worldobject.h" #include "worldobject.h"
#include <vector> #include <vector>
#ifndef ROBOT_MODELS_R_H #ifndef ROBOT_MODELS_R_H
#define ROBOT_MODELS_R_H #define ROBOT_MODELS_R_H
...@@ -8,13 +7,18 @@ class robot : public worldobject ...@@ -8,13 +7,18 @@ class robot : public worldobject
{ {
public: public:
std::string robname; 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 *jo2= new joint;
joint *jo3= new joint; joint *jo3= new joint;
joint *jo4= new joint; joint *jo4= new joint;
joint *jo5= new joint; joint *jo5= new joint;
joint *jo6= new joint; joint *jo6= new joint;
joint *jo7= new joint; joint *jo7= new joint;*/
bool of,moving,grasppos; bool of,moving,grasppos;
std::string planninggrp; std::string planninggrp;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment