cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prmActuatorParameters.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3 
4 /*
5 
6 Author(s): Marcin Balicki
7 Created on: 2008-08-07
8 
9 (C) Copyright 2008 Johns Hopkins University (JHU), All Rights
10 Reserved.
11 
12 --- begin cisst license - do not edit ---
13 
14 This software is provided "as is" under an open source license, with
15 no warranty. The complete license can be found in license.txt and
16 http://www.cisst.org/cisst/license.txt.
17 
18 --- end cisst license ---
19 */
20 
21 #ifndef _prmActuatorParameters_h
22 #define _prmActuatorParameters_h
23 
34 
35 // Always include last
37 
38 
53 
54 {
56 
57 private:
58 
59 
60 public:
63  typedef unsigned int size_type;
64 
65 
68  //initial size
69  inline prmActuatorParameters(size_type size) { SetSize(size);};
70 
71  void SetSize(size_type size);
72 
76 
77 
79  void SerializeRaw(std::ostream & outputStream) const;
80 
82  void DeSerializeRaw(std::istream & inputStream);
83 
84 
94 
99 
106 
111 
116 
119  CMN_DECLARE_MEMBER_AND_ACCESSORS(mtsLongVec, LimitSwitchDeccelaration);
121 
126 
128  CMN_DECLARE_MEMBER_AND_ACCESSORS(int, AxisSign);
130 
131  //PID Servo Loop Controll Parameters
132  //these are only changed in special cases, so right now there is no accessors for them.
133 
134 
138 
142 
146 
148  //if IL is positive, Ki works all the time, otherwise IL works only after move is finished
149  CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, IL); //Integrator limit
151 
152 
154  CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, FV); //FeedForward Velocity Parameters
156 
158  CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, FA); //FeedForward Acceleration Parameters
160 
164 
168 
170  CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, TorqueOffset); //Torque offset parameter, used for break.
172 
173 }; // _prmActuatorParameters_h
174 
176 
177 #endif
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Typedef for dynamic vectors.
virtual void SerializeRaw(std::ostream &outputStream) const
virtual void DeSerializeRaw(std::istream &inputStream)
size_t size_type
Definition: vctContainerTraits.h:35
Base class for data object in cisstMultiTask.
Definition: mtsGenericObject.h:56
prmActuatorParameters(size_type size)
Definition: prmActuatorParameters.h:69
virtual ~prmActuatorParameters()
Definition: prmActuatorParameters.h:75
prmActuatorParameters()
Definition: prmActuatorParameters.h:67
unsigned int size_type
Definition: prmActuatorParameters.h:63
Definition: mtsVector.h:33
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
mtsGenericObject BaseType
Definition: prmActuatorParameters.h:62
Defines an index used for mtsStateTable.
#define CMN_DECLARE_MEMBER_AND_ACCESSORS(memberType, memberName)
Definition: cmnAccessorMacros.h:70
Definition: prmActuatorParameters.h:52
const int CMN_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:331
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition: cmnClassRegisterMacros.h:202
prmActuatorParameters ThisType
Definition: prmActuatorParameters.h:61
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76