cisst-saw
Loading...
Searching...
No Matches
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 Author(s): Marcin Balicki
6 Created on: 2008-08-07
7
8 (C) Copyright 2008-2023 Johns Hopkins University (JHU), All Rights Reserved.
9
10--- begin cisst license - do not edit ---
11
12This software is provided "as is" under an open source license, with
13no warranty. The complete license can be found in license.txt and
14http://www.cisst.org/cisst/license.txt.
15
16--- end cisst license ---
17*/
18
19#ifndef _prmActuatorParameters_h
20#define _prmActuatorParameters_h
21
27
32
33// Always include last
35
36
51
52{
53 CMN_DECLARE_SERVICES(CMN_DYNAMIC_CREATION, CMN_LOG_ALLOW_DEFAULT);
54
55private:
56
57
58public:
61 typedef unsigned int size_type;
62
63
66 //initial size
68
70
74
75
77 void SerializeRaw(std::ostream & outputStream) const override;
78
80 void DeSerializeRaw(std::istream & inputStream) override;
81
82
87
92
97
104
109
114
119
124
128
129 //PID Servo Loop Controll Parameters
130 //these are only changed in special cases, so right now there is no accessors for them.
131
132
136
140
144
146 //if IL is positive, Ki works all the time, otherwise IL works only after move is finished
149
150
152 CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, FV); //FeedForward Velocity Parameters
154
156 CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, FA); //FeedForward Acceleration Parameters
158
162
166
168 CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, TorqueOffset); //Torque offset parameter, used for break.
170
171}; // _prmActuatorParameters_h
172
174
175#endif
mtsGenericObject(void)
Definition mtsGenericObject.h:77
Definition prmActuatorParameters.h:52
unsigned int size_type
Definition prmActuatorParameters.h:61
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, TorqueLimitPeak)
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, Ki)
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, Kd)
CMN_DECLARE_MEMBER_AND_ACCESSORS(mtsLongVec, ReverseLimit)
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, TorqueOffset)
void SetSize(size_type size)
virtual ~prmActuatorParameters()
Definition prmActuatorParameters.h:73
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, Counts_per_mm)
CMN_DECLARE_MEMBER_AND_ACCESSORS(mtsLongVec, LimitSwitchDeccelaration)
prmActuatorParameters ThisType
Definition prmActuatorParameters.h:59
CMN_DECLARE_MEMBER_AND_ACCESSORS(mtsLongVec, MaxDeceleration)
void SerializeRaw(std::ostream &outputStream) const override
void DeSerializeRaw(std::istream &inputStream) override
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, FA)
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, TorqueLimit)
CMN_DECLARE_MEMBER_AND_ACCESSORS(mtsLongVec, MaxAcceleration)
CMN_DECLARE_MEMBER_AND_ACCESSORS(mtsLongVec, ForwardLimit)
prmActuatorParameters()
Definition prmActuatorParameters.h:65
CMN_DECLARE_MEMBER_AND_ACCESSORS(mtsLongVec, MaxVelocity)
mtsGenericObject BaseType
Definition prmActuatorParameters.h:60
CMN_DECLARE_MEMBER_AND_ACCESSORS(int, AxisSign)
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, IL)
prmActuatorParameters(size_type size)
Definition prmActuatorParameters.h:67
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, Kp)
CMN_DECLARE_MEMBER_AND_ACCESSORS(vctDoubleVec, FV)
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition cmnClassRegisterMacros.h:199
const int CMN_DYNAMIC_CREATION
Definition cmnClassRegisterMacros.h:328
#define CISST_EXPORT
Definition cmnExportMacros.h:50
#define CMN_LOG_ALLOW_DEFAULT
Definition cmnLogLoD.h:76
Defines an index used for mtsStateTable.
mtsVector< long > mtsLongVec
Definition mtsVector.h:137
size_type size(void) const
Definition vctDynamicConstMatrixBase.h:228
Typedef for dynamic vectors.
vctDynamicVector< double > vctDoubleVec
Definition vctDynamicVectorTypes.h:37