#include <ProcDCMotor.hh>
Inherits DataProcessor.
This class represents a data processor which models a rotational DC motor driven by an APEX motor driver chip operating in voltage mode, with an intermiediate LC filter.
Inputs:
"dutyfactor" : duty factor command of the APEX chip in the range [-1.0, 1.0] "speed" : shaft speed of the motor (rad/s) "vsupply" : The supply voltage for the driver chip (V)"backemf" : the back EMF (V) "voltage" : motor terminal voltage (V) "current" : armature current (A) "torque" : shaft torque (Nm) "temperature" : estimated motor temperature (degC)
Public Member Functions | |
| ProcDCMotorApex (const char *name, int index, dcmotor_param_t *p, apexchip_param_t *a) | |
| void | getParams (dcmotor_param_t *p, apexchip_param_t *a) |
| void | setParams (dcmotor_param_t *p, apexchip_param_t *a) |
| virtual void | update (void) |
|
||||||||||||
|
This method can be used to retrieve configuration parameters used by the processor |
|
||||||||||||
|
This method can be used to set configuration parameters used by the processor |