00001 00002 // 00003 // Title : FKPositionPuma.h 00004 // Project : OSCAR 00005 // Created : Thu Feb 8 10:44:10 1996 00006 // Author : Object Oriented Robot Libraries (Chetan Kapoor) 00007 // Platforms : All 00008 // Copyright : Copyright© The University of Texas at Austin, 2002. All rights reserved. 00009 // 00010 // This software and documentation constitute an unpublished work 00011 // and contain valuable trade secrets and proprietary information 00012 // belonging to University. None of the foregoing material may be 00013 // copied or duplicated or disclosed without the express, written 00014 // permission of University. UNIVERSITY EXPRESSLY DISCLAIMS ANY 00015 // AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, 00016 // INCLUDING ANY WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 00017 // PARTICULAR PURPOSE, AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY 00018 // THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE. 00019 // NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF 00020 // THE SOFTWARE OR DOCUMENTATION. Under no circumstances shall 00021 // University be liable for incidental, special, indirect, direct or 00022 // consequential damages or loss of profits, interruption of business, 00023 // or related expenses which may arise from use of software or documentation, 00024 // including but not limited to those resulting from defects in software 00025 // and/or documentation, or loss or inaccuracy of data of any kind. 00026 // Purpose : Class to compute the forward position solution for 00027 // the puma robot 00028 // 00029 //---------------------------------------------------------------------------- 00030 // 00031 // Classes: 00032 // <none> 00033 // 00034 // Global Functions: 00035 // <none> 00036 // 00037 // Global Variables: 00038 // <none> 00039 // 00040 //---------------------------------------------------------------------------- 00041 // 00042 // $Revisions$ 00043 // 00044 // $Log: FKPositionPuma.h,v $ 00045 // Revision 1.5 2005/03/14 21:53:03 pmarch 00046 // Added to namespace OSCAR and removed "RR" from front of class names. 00047 // 00048 // Revision 1.4 2004/09/01 19:08:13 chetan 00049 // Fixed documentation of DH parameters 00050 // 00051 // Revision 1.3 2004/07/23 22:19:53 chetan 00052 // Made changes to compile with Warning Level 4 and also under the latest C++ standard 00053 // 00054 // Revision 1.2 2004/05/26 20:10:09 pmarch 00055 // Added /defgroup and /ingroup tags. 00056 // 00057 // Revision 1.1 2003/08/18 20:32:14 pmarch 00058 // Initial commit of ForwardKinematics 00059 // 00060 // 00062 00063 #ifndef FKPositionPuma_hpp 00064 #define FKPositionPuma_hpp 00065 00066 #include "ForwardKinematics/FKPositionBase.h" 00067 #include "ForwardKinematics/Kinematics.h" 00068 00069 00071 namespace OSCAR { 00079 class FKPositionPuma : public Kinematics, public FKPositionBase 00080 { 00081 00082 public: 00083 00120 FKPositionPuma(const String& dhParameterFileName, OSCARError& err = DUMMY_ERROR(noError), const String& name = String(" ")); 00121 00122 00138 FKPositionPuma(const DHData& DHparams, OSCARError& err = DUMMY_ERROR(noError), const String& name = String(" ")); 00139 00140 00145 FKPositionPuma(const FKPositionPuma& fkp); 00146 00147 00153 FKPositionPuma& operator=(const FKPositionPuma& fkp); 00154 00155 00169 const Xform* GetHandPose(const Vector& inputVector); 00170 00171 00172 virtual ~FKPositionPuma() {} 00173 00174 private: 00175 double a2, d4 , d3, a3; 00176 Xform linkToBase; 00177 }; 00178 00179 } 00180 #endif // FKPositionPuma_hpp
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |