#include <DriveParam.h>
Public Member Functions | |
DriveParam () | |
double | getBeltRatio () |
double | getCurrMax () |
double | getCurrToTorque () |
int | getDriveIdent () |
int | getEncIncrPerRevMot () |
int | getEncOffset () |
double | getGearRatio () |
int | getHomingDigIn () |
bool | getIsSteer () |
double | getMaxAcc () |
double | getMaxDec () |
double | getMaxVel () |
int | getSign () |
double | getVelMax () |
int | PosGearRadToPosMotIncr (double dPosGearRad) |
double | PosMotIncrToPosGearRad (int iPosIncr) |
Conversions of encoder increments to gear position in radians. More... | |
void | PosVelRadToIncr (double dPosRad, double dVelRadS, int *piPosIncr, int *piVelIncrPeriod) |
void | setHomingDigIn (int HomingDigIn) |
void | setMaxAcc (double dMaxAcc) |
void | setMaxDec (double dMaxDec) |
void | setMaxVel (double dMaxVel) |
void | setParam (int iDriveIdent, int iEncIncrPerRevMot, double dVelMeasFrqHz, double dBeltRatio, double dGearRatio, int iSign, double dVelMaxEncIncrS, double dAccIncrS2, double dDecIncrS2) |
void | setParam (int iDriveIdent, int iEncIncrPerRevMot, double dVelMeasFrqHz, double dBeltRatio, double dGearRatio, int iSign, double dVelMaxEncIncrS, double dAccIncrS2, double dDecIncrS2, int iEncOffsetIncr, bool bIsSteer, double dCurrToTorque, double dCurrMax) |
void | setParam (int iDriveIdent, int iEncIncrPerRevMot, double dVelMeasFrqHz, double dBeltRatio, double dGearRatio, int iSign, double dVelMaxEncIncrS, double dAccIncrS2, double dDecIncrS2, int iEncOffsetIncr, bool bIsSteer, double dCurrToTorque, double dCurrMax, int iHomingDigIn) |
int | TempMeasIncrToGradCel (int iTempIncr) |
int | VelGearRadSToVelMotIncrPeriod (double dVelGearRadS) |
Conversions of gear velocity in rad/s to encoder increments per measurment period. More... | |
double | VelMotIncrPeriodToVelGearRadS (int iVelMotIncrPeriod) |
Conversions of encoder increments per measurment period to gear velocity in rad/s. More... | |
Private Attributes | |
bool | m_bIsSteer |
double | m_dAccIncrS2 |
double | m_dBeltRatio |
double | m_dCurrMax |
double | m_dCurrToTorque |
double | m_dDecIncrS2 |
double | m_dGearRatio |
double | m_dPosGearRadToPosMotIncr |
double | m_dVelMaxEncIncrS |
double | m_dVelMeasFrqHz |
int | m_iDriveIdent |
int | m_iEncIncrPerRevMot |
int | m_iEncOffsetIncr |
int | m_iHomingDigIn |
int | m_iSign |
Parameters and conversion functionality of a motor drive.
Definition at line 28 of file DriveParam.h.
|
inline |
Default constructor.
Definition at line 55 of file DriveParam.h.
|
inline |
|
inline |
Get maximum current allowed
Definition at line 368 of file DriveParam.h.
|
inline |
Get factor to convert motor active current [A] into torque [Nm]
Definition at line 361 of file DriveParam.h.
|
inline |
Returns the identifier of the drive.
Definition at line 187 of file DriveParam.h.
|
inline |
Get the DriveType - If it's a Steering or Driving Motor
Definition at line 354 of file DriveParam.h.
|
inline |
|
inline |
|
inline |
Get digital Input for Homing signal
Definition at line 375 of file DriveParam.h.
|
inline |
Get the DriveType - If it's a Steering or Driving Motor
Definition at line 346 of file DriveParam.h.
|
inline |
Get the maximum acceleration.
Definition at line 275 of file DriveParam.h.
|
inline |
Get the maximum deceleration.
Definition at line 293 of file DriveParam.h.
|
inline |
Get the maximum velocity in increments per second.
Definition at line 311 of file DriveParam.h.
|
inline |
Returns the sign for the motion direction.
Definition at line 195 of file DriveParam.h.
|
inline |
Gets the maximum velocity of the drive in increments per second.
Definition at line 203 of file DriveParam.h.
|
inline |
Converts revolution angle form radian to encoder increments.
dPosGearRad | angle in radian |
Definition at line 239 of file DriveParam.h.
|
inline |
Conversions of encoder increments to gear position in radians.
Definition at line 245 of file DriveParam.h.
|
inline |
Converts position and velocity.
dPosRad | position in radiant |
dVelRadS | velocity in radiant per seconds |
piPosIncr | converted position in increments |
piVelIncrPeriod | converted velocity in increments of period |
Definition at line 215 of file DriveParam.h.
|
inline |
Set digital Input for Homing signal
Definition at line 382 of file DriveParam.h.
|
inline |
Set the maximum acceleration.
dMaxAcc | Maximum acceleration |
Definition at line 266 of file DriveParam.h.
|
inline |
Set the maximum deceleration.
dMaxAcc | Maximum deceleration |
Definition at line 284 of file DriveParam.h.
|
inline |
Set the maximum velocity.
dMaxVel | Maximum velocity |
Definition at line 302 of file DriveParam.h.
|
inline |
Sets the drive parameters.
iDriveIdent | identifier for the drive |
iEncIncrPerRevMot | encoder increments per revolution of the motor shaft |
dVelMeasFrqHz | set this value to 1 |
dGearRatio | ratio of the gear |
iSign | change -1 for changing the motion direction |
dVelMaxEncIncrS | maximum velocity given in encoder increments per second |
dAccIncrS2 | acceleration in encoder increments per s^2 |
dDecIncrS2 | deceleration in encoder increments per s^2 |
Definition at line 74 of file DriveParam.h.
|
inline |
Definition at line 105 of file DriveParam.h.
|
inline |
Definition at line 145 of file DriveParam.h.
|
inline |
Converts the temperature in degree Celsius. The temperature measure is only supported for the drive neo.
iTempIncr | temperature in a special internal unit |
Definition at line 226 of file DriveParam.h.
|
inline |
Conversions of gear velocity in rad/s to encoder increments per measurment period.
Definition at line 251 of file DriveParam.h.
|
inline |
Conversions of encoder increments per measurment period to gear velocity in rad/s.
Definition at line 257 of file DriveParam.h.
|
private |
Definition at line 46 of file DriveParam.h.
|
private |
Definition at line 40 of file DriveParam.h.
|
private |
Definition at line 37 of file DriveParam.h.
|
private |
Definition at line 48 of file DriveParam.h.
|
private |
Definition at line 47 of file DriveParam.h.
|
private |
Definition at line 41 of file DriveParam.h.
|
private |
Definition at line 36 of file DriveParam.h.
|
private |
Definition at line 42 of file DriveParam.h.
|
private |
Definition at line 39 of file DriveParam.h.
|
private |
Definition at line 35 of file DriveParam.h.
|
private |
Definition at line 33 of file DriveParam.h.
|
private |
Definition at line 34 of file DriveParam.h.
|
private |
Definition at line 43 of file DriveParam.h.
|
private |
Definition at line 45 of file DriveParam.h.
|
private |
Definition at line 38 of file DriveParam.h.