Public Member Functions | Public Attributes | List of all members
iotbot::MotorParams Struct Reference

#include <IOTBot.h>

Public Member Functions

 MotorParams ()
 
 MotorParams (const MotorParams &p)
 

Public Attributes

int controlFrequency
 
float encoderRatio
 
float gearRatio
 
float kd
 
float ki
 
float kp
 
float lowPassEncoderTicks
 
float lowPassInputFilter
 
float rpmMax
 

Detailed Description

Definition at line 26 of file IOTBot.h.

Constructor & Destructor Documentation

◆ MotorParams() [1/2]

iotbot::MotorParams::MotorParams ( )
inline

Standard constructor assigns default parameters

Definition at line 41 of file IOTBot.h.

◆ MotorParams() [2/2]

iotbot::MotorParams::MotorParams ( const MotorParams p)
inline

Copy constructor

Parameters
[in]pparameter instance to be copied

Definition at line 58 of file IOTBot.h.

Member Data Documentation

◆ controlFrequency

int iotbot::MotorParams::controlFrequency

Definition at line 31 of file IOTBot.h.

◆ encoderRatio

float iotbot::MotorParams::encoderRatio

Definition at line 29 of file IOTBot.h.

◆ gearRatio

float iotbot::MotorParams::gearRatio

Definition at line 28 of file IOTBot.h.

◆ kd

float iotbot::MotorParams::kd

Definition at line 34 of file IOTBot.h.

◆ ki

float iotbot::MotorParams::ki

Definition at line 33 of file IOTBot.h.

◆ kp

float iotbot::MotorParams::kp

Definition at line 32 of file IOTBot.h.

◆ lowPassEncoderTicks

float iotbot::MotorParams::lowPassEncoderTicks

Definition at line 36 of file IOTBot.h.

◆ lowPassInputFilter

float iotbot::MotorParams::lowPassInputFilter

Definition at line 35 of file IOTBot.h.

◆ rpmMax

float iotbot::MotorParams::rpmMax

Definition at line 30 of file IOTBot.h.


The documentation for this struct was generated from the following file:


iotbot
Author(s): Stefan May (EduArt Robotik)
autogenerated on Wed May 24 2023 02:13:39