Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CartesianControl.h

Go to the documentation of this file.
00001 
00002 //
00003 //       Title           : CartesianControl.h
00004 //       Project         : 
00005 //       Created         : Mon Dec 30 11:09:55 2002
00006 //       Author          : Chalongrath Pholsiri
00007 //       Platforms       : All
00008 //       Copyright       : The University of Texas at Austin
00009 //                         All Rights Reserved.
00010 //       Access          : Company Confidential
00011 //       Purpose         : Abstract class for CartesianControl
00012 //
00013 //----------------------------------------------------------------------------
00014 //
00015 //       Classes:
00016 //               <none>
00017 //
00018 //       Global Functions:
00019 //               <none>
00020 //
00021 //       Global Variables:
00022 //               <none>
00023 //
00024 //----------------------------------------------------------------------------
00025 //
00026 //       $Revisions$
00027 //
00028 //       $Log: CartesianControl.h,v $
00029 //       Revision 1.3  2005/03/14 21:51:01  pmarch
00030 //       Added to namespace OSCAR and removed "RR" from front of class names.
00031 //
00032 //       Revision 1.2  2004/07/26 22:10:20  chetan
00033 //       Made changes to compile with Warning Level 4 and also under the latest C++ standard
00034 //
00035 //       Revision 1.1  2004/06/01 21:59:35  dinesh
00036 //       Workspace for the Control Systems Domain
00037 //
00038 //
00040 
00041 #ifndef CartesianControl_hpp
00042 #define CartesianControl_hpp
00043 
00044 
00045 #include "ControlSystems/Control.h"
00046 #include "ForwardKinematics/FKAcceleration.h"
00047 
00049 namespace OSCAR {
00050 
00051   class CartesianControl : public Control
00052   {
00053   public:
00054           CartesianControl(unsigned int dof, unsigned int noOutputs, 
00055                                              FKAcceleration* fowkin, IDStandAlone* dyn = NULL);
00056           virtual ~CartesianControl();
00057 
00058           virtual bool SetJointStates(Vector *q, Vector *qd);
00059           virtual bool SetCartesianStates(Vector *position, Vector *velocity,
00060                                                                   Vector *des_pos, Vector *des_vel, 
00061                                                                   Vector *des_acc);
00062 
00063           ControlInformation    info;
00064 
00065   protected:
00066           unsigned int noOfOutputs;
00067           FKAcceleration *fowKin;
00068           bool  cartesianStatesSet;
00069           bool  jointStatesSet;
00070           Vector *pos, *vel;
00071           Vector *pos_d, *vel_d, *acc_d;
00072           Vector *q, *qd;
00073   };
00074 
00075 }
00076 #endif //CartesianControl_hpp
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations