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/common/base_classes/FOCMotor.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ class FOCMotor
float voltage_bemf; //!< estimated backemf voltage (if provided KV constant)
float Ualpha, Ubeta; //!< Phase voltages U alpha and U beta used for inverse Park and Clarke transform

DQCurrent_s feed_forward_current;//!< current d and q current measured
DQVoltage_s feed_forward_voltage;//!< current d and q voltage set to the motor
DQCurrent_s feed_forward_current = {0.0f, 0.0f};//!< current d and q current measured
DQVoltage_s feed_forward_voltage = {0.0f, 0.0f};//!< current d and q voltage set to the motor

// motor configuration parameters
float voltage_sensor_align;//!< sensor and motor align voltage parameter
Expand Down
Loading