GCOP
1.0
|
00001 #ifndef GCOP_POINT3DCONTROLLER_H 00002 #define GCOP_POINT3DCONTROLLER_H 00003 00004 #include "controller.h" 00005 #include "point3d.h" 00006 00007 namespace gcop { 00008 00009 using namespace std; 00010 using namespace Eigen; 00011 00017 class Point3dController : public Controller< Point3dState, Vector3d> { 00018 public: 00019 00027 Point3dController(const Point3d &sys, 00028 Point3dState *xd = 0, 00029 Vector3d *ad = 0); 00030 00031 virtual bool Set(Vector3d &u, double t, const Point3dState &x); 00032 00033 virtual ~Point3dController(); 00034 00035 const Point3d &sys; 00036 00037 Point3dState *xd; 00038 Vector3d *ad; 00039 00040 Vector3d Kp; 00041 Vector3d Kd; 00042 }; 00043 }; 00044 00045 #endif