Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/BLDCMotor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int trap_150_map[12][3] = {
// BLDCMotor( int pp , float R)
// - pp - pole pair number
// - R - motor phase resistance
// - KV - motor kv rating (rmp/v)
// - KV - motor kv rating (rpm/V)
// - Lq - motor q-axis inductance [H]
// - Ld - motor d-axis inductance [H]
BLDCMotor::BLDCMotor(int pp, float _R, float _KV, float _Lq, float _Ld)
Expand Down Expand Up @@ -267,4 +267,4 @@ void BLDCMotor::setPhaseVoltage(float Uq, float Ud, float angle_el) {

// set the voltages in driver
driver->setPwm(Ua, Ub, Uc);
}
}