Skip to content

Commit 202ba0c

Browse files
authored
Update FluxObserverSensor.h
Make bemf threshold 0 by default
1 parent 2079b91 commit 202ba0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoders/flux_observer/FluxObserverSensor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class FluxObserverSensor : public Sensor
3636
float i_beta_prev = 0; // Previous Beta current
3737
float electrical_angle_prev = 0; // Previous electrical angle
3838
float angle_track = 0; // Total Electrical angle
39-
float bemf_threshold = 0.5; // Bemf voltage amplitude when the flux observer should start tracking
39+
float bemf_threshold = 0; // Bemf voltage amplitude when the flux observer should start tracking
4040
int8_t first = 1; // To skip angle difference calculation the first time
4141

4242
protected:

0 commit comments

Comments
 (0)