00001 //###################################################################### 00002 // 00003 // GraspIt! 00004 // Copyright (C) 2002-2009 Columbia University in the City of New York. 00005 // All rights reserved. 00006 // 00007 // GraspIt! is free software: you can redistribute it and/or modify 00008 // it under the terms of the GNU General Public License as published by 00009 // the Free Software Foundation, either version 3 of the License, or 00010 // (at your option) any later version. 00011 // 00012 // GraspIt! is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with GraspIt!. If not, see <http://www.gnu.org/licenses/>. 00019 // 00020 // Author(s): Aaron Blasdel 00021 // 00022 // 00023 // $Id: robotiq.h,v 1.5 2012/03/21 21:06:53 saint Exp $ 00024 // 00025 //###################################################################### 00026 00031 #ifndef ROBOTIQ_H 00032 00033 #include "robot.h" 00034 00036 00037 class RobotIQ : public Hand { 00038 Q_OBJECT 00039 00040 public: 00041 00043 RobotIQ(World *w,const char *name) : Hand(w,name) {} 00044 00048 virtual int loadFromXml(const TiXmlElement* root,QString rootPath); 00049 00053 virtual void cloneFrom(Hand *original); 00054 00056 // links hit an object. 00057 virtual bool autoGrasp(bool renderIt, double speedFactor = 1.0, bool stopAtContact = false); 00058 00059 }; 00060 00061 #define ROBOTIQ_H 00062 #endif