-
Notifications
You must be signed in to change notification settings - Fork 95
Unable to install baxter simulator. Ros: Indigo OS: Ubuntu 14:04 #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What I did: I am interested in simulator version 0.9.1
|
I also tried: the instructions from webpage; with no result.
|
@mjm522
|
Thanks for the reply. I get all the same errors are before plus following new errors:
I am able to isntall packages baxter_common, baxter_interface, baxter_pykdl, baxter, baxter_examples. But the baxter_simulator doesn't get installed. The errors seem like some C++ compiler fault, like it is not able to resolve some data types. But I don't know where and how to edit to get past this error. |
@mjm522 my compiler version is below, and I can compile the package.
|
mine is
It is not that issue. I am still trying to figure out. |
@mjm522 http://answers.ros.org/question/243756/ros-indigo-install-on-rpi3-urdf-compile-errors/
|
@mjm522 |
Yes, exactly, that fixes the problem. Thanks a lot. 👍 |
Thanks for your help debugging @knorth55 . Looks like this is a regression in urdfdom-headers |
@mjm522 I'm glad to help you :) |
I tried installing baxter simulator several times, but keep getting this error always. I tried deleting the devel folder and started from the beginning, but with no progress. Can anybody please tell me what I doing wrong?
/usr/local/include/urdf_model/types.h:62:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(JointMimic); ^ /usr/local/include/urdf_model/types.h:62:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(JointMimic); ^ /usr/local/include/urdf_model/types.h:63:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(JointSafety); ^ /usr/local/include/urdf_model/types.h:63:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(JointSafety); ^ /usr/local/include/urdf_model/types.h:63:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(JointSafety); ^ /usr/local/include/urdf_model/types.h:64:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Link); ^ /usr/local/include/urdf_model/types.h:64:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Link); ^ /usr/local/include/urdf_model/types.h:64:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Link); ^ /usr/local/include/urdf_model/types.h:65:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Material); ^ /usr/local/include/urdf_model/types.h:65:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Material); ^ /usr/local/include/urdf_model/types.h:65:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Material); ^ /usr/local/include/urdf_model/types.h:66:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Mesh); ^ /usr/local/include/urdf_model/types.h:66:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Mesh); ^ /usr/local/include/urdf_model/types.h:66:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Mesh); ^ /usr/local/include/urdf_model/types.h:67:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Sphere); ^ /usr/local/include/urdf_model/types.h:67:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Sphere); ^ /usr/local/include/urdf_model/types.h:67:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Sphere); ^ /usr/local/include/urdf_model/types.h:68:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Visual); ^ /usr/local/include/urdf_model/types.h:68:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Visual); ^ /usr/local/include/urdf_model/types.h:68:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type URDF_TYPEDEF_CLASS_POINTER(Visual); ^ /usr/local/include/urdf_model/types.h:72:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type std::shared_ptr<T> const_pointer_cast(std::shared_ptr<U> const & r) ^ /usr/local/include/urdf_model/types.h:78:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type std::shared_ptr<T> dynamic_pointer_cast(std::shared_ptr<U> const & r) ^ /usr/local/include/urdf_model/types.h:84:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type std::shared_ptr<T> static_pointer_cast(std::shared_ptr<U> const & r) ^ In file included from /usr/local/include/urdf_model/link.h:44:0, from /usr/local/include/urdf_model/model.h:42, from /opt/ros/indigo/include/urdf/model.h:42, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/joint.h:141:3: error: ‘DoubleSharedPtr’ does not name a type DoubleSharedPtr rising, falling; ^ /usr/local/include/urdf_model/joint.h:199:3: error: ‘JointDynamicsSharedPtr’ does not name a type JointDynamicsSharedPtr dynamics; ^ /usr/local/include/urdf_model/joint.h:202:3: error: ‘JointLimitsSharedPtr’ does not name a type JointLimitsSharedPtr limits; ^ /usr/local/include/urdf_model/joint.h:205:3: error: ‘JointSafetySharedPtr’ does not name a type JointSafetySharedPtr safety; ^ /usr/local/include/urdf_model/joint.h:208:3: error: ‘JointCalibrationSharedPtr’ does not name a type JointCalibrationSharedPtr calibration; ^ /usr/local/include/urdf_model/joint.h:211:3: error: ‘JointMimicSharedPtr’ does not name a type JointMimicSharedPtr mimic; ^ /usr/local/include/urdf_model/joint.h: In member function ‘void urdf::Joint::clear()’: /usr/local/include/urdf_model/joint.h:219:11: error: ‘class urdf::Joint’ has no member named ‘dynamics’ this->dynamics.reset(); ^ /usr/local/include/urdf_model/joint.h:220:11: error: ‘class urdf::Joint’ has no member named ‘limits’ this->limits.reset(); ^ /usr/local/include/urdf_model/joint.h:221:11: error: ‘class urdf::Joint’ has no member named ‘safety’ this->safety.reset(); ^ /usr/local/include/urdf_model/joint.h:222:11: error: ‘class urdf::Joint’ has no member named ‘calibration’ this->calibration.reset(); ^ /usr/local/include/urdf_model/joint.h:223:11: error: ‘class urdf::Joint’ has no member named ‘mimic’ this->mimic.reset(); ^ In file included from /usr/local/include/urdf_model/link.h:45:0, from /usr/local/include/urdf_model/model.h:42, from /opt/ros/indigo/include/urdf/model.h:42, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/color.h: In member function ‘bool urdf::Color::init(const string&)’: /usr/local/include/urdf_model/color.h:76:26: error: ‘stof’ is not a member of ‘std’ rgba.push_back(std::stof(pieces[i])); ^ In file included from /usr/local/include/urdf_model/model.h:42:0, from /opt/ros/indigo/include/urdf/model.h:42, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/link.h: At global scope: /usr/local/include/urdf_model/link.h:152:3: error: ‘GeometrySharedPtr’ does not name a type GeometrySharedPtr geometry; ^ /usr/local/include/urdf_model/link.h:155:3: error: ‘MaterialSharedPtr’ does not name a type MaterialSharedPtr material; ^ /usr/local/include/urdf_model/link.h: In member function ‘void urdf::Visual::clear()’: /usr/local/include/urdf_model/link.h:161:5: error: ‘material’ was not declared in this scope material.reset(); ^ /usr/local/include/urdf_model/link.h:162:5: error: ‘geometry’ was not declared in this scope geometry.reset(); ^ /usr/local/include/urdf_model/link.h: At global scope: /usr/local/include/urdf_model/link.h:174:3: error: ‘GeometrySharedPtr’ does not name a type GeometrySharedPtr geometry; ^ /usr/local/include/urdf_model/link.h: In member function ‘void urdf::Collision::clear()’: /usr/local/include/urdf_model/link.h:179:5: error: ‘geometry’ was not declared in this scope geometry.reset(); ^ /usr/local/include/urdf_model/link.h: At global scope: /usr/local/include/urdf_model/link.h:196:3: error: ‘InertialSharedPtr’ does not name a type InertialSharedPtr inertial; ^ /usr/local/include/urdf_model/link.h:199:3: error: ‘VisualSharedPtr’ does not name a type VisualSharedPtr visual; ^ /usr/local/include/urdf_model/link.h:202:3: error: ‘CollisionSharedPtr’ does not name a type CollisionSharedPtr collision; ^ In file included from /usr/local/include/urdf_model/model.h:42:0, from /opt/ros/indigo/include/urdf/model.h:42, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/link.h:205:15: error: ‘CollisionSharedPtr’ was not declared in this scope std::vector<CollisionSharedPtr> collision_array; ^ /usr/local/include/urdf_model/link.h:205:33: error: template argument 1 is invalid std::vector<CollisionSharedPtr> collision_array; ^ /usr/local/include/urdf_model/link.h:205:33: error: template argument 2 is invalid /usr/local/include/urdf_model/link.h:208:15: error: ‘VisualSharedPtr’ was not declared in this scope std::vector<VisualSharedPtr> visual_array; ^ /usr/local/include/urdf_model/link.h:208:30: error: template argument 1 is invalid std::vector<VisualSharedPtr> visual_array; ^ /usr/local/include/urdf_model/link.h:208:30: error: template argument 2 is invalid /usr/local/include/urdf_model/link.h:213:3: error: ‘JointSharedPtr’ does not name a type JointSharedPtr parent_joint; ^ /usr/local/include/urdf_model/link.h:215:15: error: ‘JointSharedPtr’ was not declared in this scope std::vector<JointSharedPtr> child_joints; ^ /usr/local/include/urdf_model/link.h:215:29: error: template argument 1 is invalid std::vector<JointSharedPtr> child_joints; ^ /usr/local/include/urdf_model/link.h:215:29: error: template argument 2 is invalid /usr/local/include/urdf_model/link.h:216:15: error: ‘LinkSharedPtr’ was not declared in this scope std::vector<LinkSharedPtr> child_links; ^ /usr/local/include/urdf_model/link.h:216:28: error: template argument 1 is invalid std::vector<LinkSharedPtr> child_links; ^ /usr/local/include/urdf_model/link.h:216:28: error: template argument 2 is invalid /usr/local/include/urdf_model/link.h:218:3: error: ‘LinkSharedPtr’ does not name a type LinkSharedPtr getParent() const ^ /usr/local/include/urdf_model/link.h:221:24: error: ‘LinkSharedPtr’ does not name a type void setParent(const LinkSharedPtr &parent) ^ /usr/local/include/urdf_model/link.h:238:3: error: ‘LinkWeakPtr’ does not name a type LinkWeakPtr parent_link_; ^ /usr/local/include/urdf_model/link.h: In member function ‘void urdf::Link::setParent(const int&)’: /usr/local/include/urdf_model/link.h:222:5: error: ‘parent_link_’ was not declared in this scope { parent_link_ = parent; } ^ /usr/local/include/urdf_model/link.h: In member function ‘void urdf::Link::clear()’: /usr/local/include/urdf_model/link.h:227:11: error: ‘class urdf::Link’ has no member named ‘inertial’ this->inertial.reset(); ^ /usr/local/include/urdf_model/link.h:228:11: error: ‘class urdf::Link’ has no member named ‘visual’ this->visual.reset(); ^ /usr/local/include/urdf_model/link.h:229:11: error: ‘class urdf::Link’ has no member named ‘collision’ this->collision.reset(); ^ /usr/local/include/urdf_model/link.h:230:11: error: ‘class urdf::Link’ has no member named ‘parent_joint’ this->parent_joint.reset(); ^ /usr/local/include/urdf_model/link.h:231:24: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::child_joints’, which is of non-class type ‘int’ this->child_joints.clear(); ^ /usr/local/include/urdf_model/link.h:232:23: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::child_links’, which is of non-class type ‘int’ this->child_links.clear(); ^ /usr/local/include/urdf_model/link.h:233:27: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::collision_array’, which is of non-class type ‘int’ this->collision_array.clear(); ^ /usr/local/include/urdf_model/link.h:234:24: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::visual_array’, which is of non-class type ‘int’ this->visual_array.clear(); ^ In file included from /opt/ros/indigo/include/urdf/model.h:42:0, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/model.h: At global scope: /usr/local/include/urdf_model/model.h:51:3: error: ‘LinkConstSharedPtr’ does not name a type LinkConstSharedPtr getRoot(void) const{return this->root_link_;}; ^ /usr/local/include/urdf_model/model.h:52:3: error: ‘LinkConstSharedPtr’ does not name a type LinkConstSharedPtr getLink(const std::string& name) const ^ /usr/local/include/urdf_model/model.h:62:3: error: ‘JointConstSharedPtr’ does not name a type JointConstSharedPtr getJoint(const std::string& name) const ^ /usr/local/include/urdf_model/model.h:74:29: error: ‘LinkSharedPtr’ was not declared in this scope void getLinks(std::vector<LinkSharedPtr >& links) const ^ /usr/local/include/urdf_model/model.h:74:43: error: template argument 1 is invalid void getLinks(std::vector<LinkSharedPtr >& links) const ^ /usr/local/include/urdf_model/model.h:74:43: error: template argument 2 is invalid /usr/local/include/urdf_model/model.h:92:41: error: ‘LinkSharedPtr’ has not been declared void getLink(const std::string& name, LinkSharedPtr &link) const ^ /usr/local/include/urdf_model/model.h:103:3: error: ‘MaterialSharedPtr’ does not name a type MaterialSharedPtr getMaterial(const std::string& name) const ^ In file included from /opt/ros/indigo/include/urdf/model.h:42:0, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/model.h:188:25: error: ‘LinkSharedPtr’ was not declared in this scope std::map<std::string, LinkSharedPtr> links_; ^ /usr/local/include/urdf_model/model.h:188:38: error: template argument 2 is invalid std::map<std::string, LinkSharedPtr> links_; ^ /usr/local/include/urdf_model/model.h:188:38: error: template argument 4 is invalid /usr/local/include/urdf_model/model.h:190:25: error: ‘JointSharedPtr’ was not declared in this scope std::map<std::string, JointSharedPtr> joints_; ^ /usr/local/include/urdf_model/model.h:190:39: error: template argument 2 is invalid std::map<std::string, JointSharedPtr> joints_; ^ /usr/local/include/urdf_model/model.h:190:39: error: template argument 4 is invalid /usr/local/include/urdf_model/model.h:192:25: error: ‘MaterialSharedPtr’ was not declared in this scope std::map<std::string, MaterialSharedPtr> materials_; ^ /usr/local/include/urdf_model/model.h:192:42: error: template argument 2 is invalid std::map<std::string, MaterialSharedPtr> materials_; ^ /usr/local/include/urdf_model/model.h:192:42: error: template argument 4 is invalid /usr/local/include/urdf_model/model.h:198:3: error: ‘LinkSharedPtr’ does not name a type LinkSharedPtr root_link_; ^ In file included from /opt/ros/indigo/include/urdf/model.h:42:0, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::getLinks(int&) const’: /usr/local/include/urdf_model/model.h:76:31: error: ‘LinkSharedPtr’ was not declared in this scope for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h:76:44: error: template argument 2 is invalid for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h:76:44: error: template argument 4 is invalid /usr/local/include/urdf_model/model.h:76:62: error: invalid type in declaration before ‘link’ for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h:76:62: error: expected ‘;’ before ‘link’ /usr/local/include/urdf_model/model.h:76:82: error: request for member ‘begin’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’ for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h:76:111: error: request for member ‘end’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’ for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h:76:116: error: expected ‘)’ before ‘;’ token for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h:76:122: error: ISO C++ forbids incrementing a pointer of type ‘int (*)(const char*, const char*)throw ()’ [-fpermissive] for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h:76:122: error: lvalue required as increment operand /usr/local/include/urdf_model/model.h:76:124: error: expected ‘;’ before ‘)’ token for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++) ^ /usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::clear()’: /usr/local/include/urdf_model/model.h:85:18: error: request for member ‘clear’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘int’ this->links_.clear(); ^ /usr/local/include/urdf_model/model.h:86:19: error: request for member ‘clear’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::joints_’, which is of non-class type ‘int’ this->joints_.clear(); ^ /usr/local/include/urdf_model/model.h:87:22: error: request for member ‘clear’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::materials_’, which is of non-class type ‘int’ this->materials_.clear(); ^ /usr/local/include/urdf_model/model.h:88:11: error: ‘class urdf::ModelInterface’ has no member named ‘root_link_’ this->root_link_.reset(); ^ /usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::getLink(const string&, int&) const’: /usr/local/include/urdf_model/model.h:94:5: error: ‘LinkSharedPtr’ was not declared in this scope LinkSharedPtr ptr; ^ /usr/local/include/urdf_model/model.h:94:19: error: expected ‘;’ before ‘ptr’ LinkSharedPtr ptr; ^ /usr/local/include/urdf_model/model.h:95:22: error: request for member ‘find’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’ if (this->links_.find(name) == this->links_.end()) ^ /usr/local/include/urdf_model/model.h:95:49: error: request for member ‘end’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’ if (this->links_.find(name) == this->links_.end()) ^ /usr/local/include/urdf_model/model.h:96:7: error: ‘ptr’ was not declared in this scope ptr.reset(); ^ /usr/local/include/urdf_model/model.h:98:7: error: ‘ptr’ was not declared in this scope ptr = this->links_.find(name)->second; ^ /usr/local/include/urdf_model/model.h:98:26: error: request for member ‘find’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’ ptr = this->links_.find(name)->second; ^ /usr/local/include/urdf_model/model.h:99:12: error: ‘ptr’ was not declared in this scope link = ptr; ^ /usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::initTree(std::map<std::basic_string<char>, std::basic_string<char> >&)’: /usr/local/include/urdf_model/model.h:116:32: error: ‘JointSharedPtr’ was not declared in this scope for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ /usr/local/include/urdf_model/model.h:116:46: error: template argument 2 is invalid for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ /usr/local/include/urdf_model/model.h:116:46: error: template argument 4 is invalid /usr/local/include/urdf_model/model.h:116:58: error: invalid type in declaration before ‘joint’ for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ /usr/local/include/urdf_model/model.h:116:58: error: expected ‘;’ before ‘joint’ /usr/local/include/urdf_model/model.h:116:58: error: ‘joint’ was not declared in this scope /usr/local/include/urdf_model/model.h:116:80: error: request for member ‘begin’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::joints_’, which is of non-class type ‘int’ for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ /usr/local/include/urdf_model/model.h:116:111: error: request for member ‘end’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::joints_’, which is of non-class type ‘int’ for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ /usr/local/include/urdf_model/model.h:116:116: error: expected ‘)’ before ‘;’ token for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ /usr/local/include/urdf_model/model.h:116:118: error: ‘joint’ was not declared in this scope for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ /usr/local/include/urdf_model/model.h:116:125: error: expected ‘;’ before ‘)’ token for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++) ^ In file included from /opt/ros/indigo/include/urdf/model.h:42:0, from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49, from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57, from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42: /usr/local/include/urdf_model/model.h:156:3: error: expected ‘}’ at end of input } ^ /usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::initRoot(const std::map<std::basic_string<char>, std::basic_string<char> >&)’: /usr/local/include/urdf_model/model.h:160:11: error: ‘class urdf::ModelInterface’ has no member named ‘root_link_’ this->root_link_.reset(); ^ /usr/local/include/urdf_model/model.h:163:32: error: ‘LinkSharedPtr’ was not declared in this scope for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:163:45: error: template argument 2 is invalid for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:163:45: error: template argument 4 is invalid /usr/local/include/urdf_model/model.h:163:63: error: invalid type in declaration before ‘l’ for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:163:63: error: expected ‘;’ before ‘l’ /usr/local/include/urdf_model/model.h:163:63: error: ‘l’ was not declared in this scope /usr/local/include/urdf_model/model.h:163:78: error: request for member ‘begin’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘int’ for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:163:103: error: request for member ‘end’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘int’ for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:163:108: error: expected ‘)’ before ‘;’ token for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:163:110: error: ‘l’ was not declared in this scope for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:163:113: error: expected ‘;’ before ‘)’ token for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++) ^ /usr/local/include/urdf_model/model.h:184:3: error: expected ‘}’ at end of input } ^ Linking CXX executable /home/mjm/baxter_ws/devel/lib/baxter_sim_io/baxter_sim_io [ 97%] Built target baxter_sim_io make[2]: *** [baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/src/baxter_gazebo_ros_control_plugin.cpp.o] Error 1 make[1]: *** [baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j8 -l8" failed
The text was updated successfully, but these errors were encountered: