You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/hardware_specific_examples/Bluepill_examples/encoder/bluepill_position_control/bluepill_position_control.ino
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,13 @@ void setup() {
42
42
// default parameters in defaults.h
43
43
44
44
// velocity PI controller parameters
45
-
motor.PI_velocity.P = 0.2;
46
-
motor.PI_velocity.I = 20;
45
+
motor.PID_velocity.P = 0.2;
46
+
motor.PID_velocity.I = 20;
47
47
// default voltage_power_supply
48
48
motor.voltage_limit = 6;
49
49
// jerk control using voltage voltage ramp
50
50
// default value is 300 volts per sec ~ 0.3V per millisecond
Copy file name to clipboardExpand all lines: examples/hardware_specific_examples/Bluepill_examples/magnetic_sensor/bluepill_position_control/bluepill_position_control.ino
Copy file name to clipboardExpand all lines: examples/hardware_specific_examples/DRV8305_driver/motor_full_control_serial_examples/encoder/full_control_serial/full_control_serial.ino
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,8 @@ void setup() {
64
64
motor.controller = ControlType::voltage;
65
65
66
66
// contoller configuration based on the controll type
Copy file name to clipboardExpand all lines: examples/hardware_specific_examples/ESP32/magnetic_sensor/esp32_position_control/esp32_position_control.ino
0 commit comments