JMotor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
JMotorCompStandardConfig Struct Reference

struct for containing settings for JMotorCompStandard More...

#include <JMotorCompStandard.h>

Public Member Functions

 JMotorCompStandardConfig (float _motor_stop_voltage, float _motor_stop_speed, float _motor_start_voltage, float _motor_start_speed, float _motor_high_voltage, float _motor_high_speed, unsigned int _start_boost_time)
 

Public Attributes

float motor_stop_voltage
 voltage at which the motor stops turning
 
float motor_stop_speed
 speed the motor turns at motor_stop_voltage
 
float motor_start_voltage
 voltage at which the motor can start turning
 
float motor_start_speed
 speed the motor turns at motor_start_voltage
 
float motor_high_voltage
 voltage used for calibration point towards fastest speed of motor
 
float motor_high_speed
 speed the motor turns at motor_high_voltage
 
unsigned int start_boost_time
 how long (in milliseconds) to pulse motor_start_voltage to get the motor started
 

Detailed Description

struct for containing settings for JMotorCompStandard

Constructor & Destructor Documentation

◆ JMotorCompStandardConfig()

JMotorCompStandardConfig::JMotorCompStandardConfig ( float  _motor_stop_voltage,
float  _motor_stop_speed,
float  _motor_start_voltage,
float  _motor_start_speed,
float  _motor_high_voltage,
float  _motor_high_speed,
unsigned int  _start_boost_time 
)
inline

Member Data Documentation

◆ motor_high_speed

float JMotorCompStandardConfig::motor_high_speed

speed the motor turns at motor_high_voltage

◆ motor_high_voltage

float JMotorCompStandardConfig::motor_high_voltage

voltage used for calibration point towards fastest speed of motor

◆ motor_start_speed

float JMotorCompStandardConfig::motor_start_speed

speed the motor turns at motor_start_voltage

◆ motor_start_voltage

float JMotorCompStandardConfig::motor_start_voltage

voltage at which the motor can start turning

◆ motor_stop_speed

float JMotorCompStandardConfig::motor_stop_speed

speed the motor turns at motor_stop_voltage

◆ motor_stop_voltage

float JMotorCompStandardConfig::motor_stop_voltage

voltage at which the motor stops turning

◆ start_boost_time

unsigned int JMotorCompStandardConfig::start_boost_time

how long (in milliseconds) to pulse motor_start_voltage to get the motor started


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