00001 00002 // 00003 // Title : FKPositionSpatial3R.h 00004 // Project : OSCAR 00005 // Created : Thu Feb 8 10:15:06 1996 00006 // Author : 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 : Forward pos solution for 3R spatial robot 00027 // 00028 //---------------------------------------------------------------------------- 00029 // 00030 // Classes: 00031 // <none> 00032 // 00033 // Global Functions: 00034 // <none> 00035 // 00036 // Global Variables: 00037 // <none> 00038 // 00039 //---------------------------------------------------------------------------- 00040 // 00041 // $Revisions$ 00042 // 00043 // $Log: FKPositionSpatial3R.h,v $ 00044 // Revision 1.4 2005/03/14 21:53:03 pmarch 00045 // Added to namespace OSCAR and removed "RR" from front of class names. 00046 // 00047 // Revision 1.3 2004/07/23 22:19:53 chetan 00048 // Made changes to compile with Warning Level 4 and also under the latest C++ standard 00049 // 00050 // Revision 1.2 2004/05/26 20:10:08 pmarch 00051 // Added /defgroup and /ingroup tags. 00052 // 00053 // Revision 1.1 2003/08/18 20:32:13 pmarch 00054 // Initial commit of ForwardKinematics 00055 // 00056 // 00058 #ifndef FKPositionSpatial3R_hpp 00059 #define FKPositionSpatial3R_hpp 00060 00061 #include "ForwardKinematics/Kinematics.h" 00062 #include "ForwardKinematics/FKPositionBase.h" 00063 00064 00066 namespace OSCAR { 00074 class FKPositionSpatial3R : public Kinematics, public FKPositionBase 00075 { 00076 public: 00089 FKPositionSpatial3R(const String& DHfilename, OSCARError& err = DUMMY_ERROR(noError), const String& name = String(" ")); 00090 00091 00092 00105 FKPositionSpatial3R(const DHData& DHparams, OSCARError& err = DUMMY_ERROR(noError), const String& name = String(" ")); 00106 00107 00112 FKPositionSpatial3R(const FKPositionSpatial3R& fkps); 00113 00114 00120 FKPositionSpatial3R& operator=(const FKPositionSpatial3R& fkps); 00121 00122 00136 const Xform* GetHandPose(const Vector& jointVector); 00137 00138 virtual ~FKPositionSpatial3R(){}; 00139 00140 private: 00141 double a2, a3; 00142 Xform linkToBase; 00143 }; 00144 00145 } 00146 #endif // FKPositionSpatial3R_hpp
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |