From 3dcf23630a8dadccb6dc345101ae17651a3eaf68 Mon Sep 17 00:00:00 2001 From: Yuyang Wang <32860295+yuyangwang-git@users.noreply.github.com> Date: Sun, 19 Jun 2022 09:32:17 +0800 Subject: [PATCH] Correct the commands label to "target velocity" I think there is a wrong commands label in this example, line80. According the doTarget function, line 32, this command change target_velocity, not the voltage. --- .../magnetic_sensor/velocity_control/velocity_control.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/motion_control/velocity_motion_control/magnetic_sensor/velocity_control/velocity_control.ino b/examples/motion_control/velocity_motion_control/magnetic_sensor/velocity_control/velocity_control.ino index a57fe634..98e09425 100644 --- a/examples/motion_control/velocity_motion_control/magnetic_sensor/velocity_control/velocity_control.ino +++ b/examples/motion_control/velocity_motion_control/magnetic_sensor/velocity_control/velocity_control.ino @@ -77,7 +77,7 @@ void setup() { motor.initFOC(); // add target command T - command.add('T', doTarget, "target voltage"); + command.add('T', doTarget, "target velocity"); Serial.println(F("Motor ready.")); Serial.println(F("Set the target velocity using serial terminal:")); @@ -103,4 +103,4 @@ void loop() { // user communication command.run(); -} \ No newline at end of file +}