|
bitsim
Model, simulate, estimate and control robots in C++
|
A rotor with inertia and viscous friction, for a BLDCMotor without a physics engine: \(J \dot\omega = T_{motor} - b \omega - T_{load}\). More...
#include <bldc_motor.h>
Public Member Functions | |
| void | step (const BLDCMotorParameters &m, real_t T_motor, real_t T_load, real_t dt) |
| One explicit Euler step of dt [s]. | |
Public Attributes | |
| real_t | theta {0.0} |
| mechanical angle [rad] | |
| real_t | w {0.0} |
| speed [rad/s] | |
A rotor with inertia and viscous friction, for a BLDCMotor without a physics engine: \(J \dot\omega = T_{motor} - b \omega - T_{load}\).
| void bitsim::actuators::BLDCRotor::step | ( | const BLDCMotorParameters & | m, |
| real_t | T_motor, | ||
| real_t | T_load, | ||
| real_t | dt ) |
One explicit Euler step of dt [s].
| real_t bitsim::actuators::BLDCRotor::theta {0.0} |
mechanical angle [rad]
| real_t bitsim::actuators::BLDCRotor::w {0.0} |
speed [rad/s]