|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "bitsim/bitsim_types.h"

Go to the source code of this file.
Classes | |
| struct | bitsim::actuators::BLDCMotorParameters |
| The parameters of a brushless DC motor. R and L are measured between two terminals, which is what a datasheet gives. The defaults are a small motor of the size used in robot joints. More... | |
| struct | bitsim::actuators::DCEquivalentState |
| The state of the DC-equivalent model: current [A] and speed [rad/s]. More... | |
| struct | bitsim::actuators::PhasePair |
| The two phases that carry the current in a sector: it goes in through high and out through low. The third phase is disconnected. Phases a, b, c are 0, 1, 2. More... | |
| class | bitsim::actuators::BLDCMotor |
| The electrical model of a three-phase brushless motor with six-step commutation from three Hall sensors. More... | |
| struct | bitsim::actuators::BLDCRotor |
| A rotor with inertia and viscous friction, for a BLDCMotor without a physics engine: \(J \dot\omega = T_{motor} - b \omega - T_{load}\). More... | |
Namespaces | |
| namespace | bitsim |
| namespace | bitsim::actuators |
Functions | |
| DCEquivalentState | bitsim::actuators::dc_equivalent_step (const BLDCMotorParameters &m, const DCEquivalentState &s, real_t V, real_t T_load, real_t dt) |
| One explicit Euler step of dt [s] of the DC-equivalent model: the motor seen from its supply with the commutation averaged out, which is the model of a brushed DC motor: | |