From 1a267af6c90797601d548e972ab87d2b9badd966 Mon Sep 17 00:00:00 2001 From: Antun Skuric <36178713+askuric@users.noreply.github.com> Date: Mon, 3 Feb 2025 08:13:27 +0100 Subject: [PATCH 1/3] Update open_loop_velocity_6pwm.ino --- .../Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hardware_specific_examples/Teensy/Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino b/examples/hardware_specific_examples/Teensy/Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino index 9143dde7..64651392 100644 --- a/examples/hardware_specific_examples/Teensy/Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino +++ b/examples/hardware_specific_examples/Teensy/Teensy3/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino @@ -38,7 +38,7 @@ void setup() { // limiting motor movements // limit the voltage to be set to the motor // start very low for high resistance motors - // currnet = resistance*voltage, so try to be well under 1Amp + // currnet = voltage/resistance, so try to be well under 1Amp motor.voltage_limit = 3; // [V] // open loop control config From e11ab31083115d798ef64291fec4e72903147ab9 Mon Sep 17 00:00:00 2001 From: Antun Skuric <36178713+askuric@users.noreply.github.com> Date: Mon, 3 Feb 2025 08:14:02 +0100 Subject: [PATCH 2/3] Update open_loop_position_example.ino --- .../open_loop_position_example/open_loop_position_example.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/motion_control/open_loop_motor_control/open_loop_position_example/open_loop_position_example.ino b/examples/motion_control/open_loop_motor_control/open_loop_position_example/open_loop_position_example.ino index c1ff7bbc..6db1b979 100644 --- a/examples/motion_control/open_loop_motor_control/open_loop_position_example/open_loop_position_example.ino +++ b/examples/motion_control/open_loop_motor_control/open_loop_position_example/open_loop_position_example.ino @@ -46,7 +46,7 @@ void setup() { // limiting motor movements // limit the voltage to be set to the motor // start very low for high resistance motors - // currnet = resistance*voltage, so try to be well under 1Amp + // currnet = voltage/resistance, so try to be well under 1Amp motor.voltage_limit = 3; // [V] // limit/set the velocity of the transition in between // target angles @@ -78,4 +78,4 @@ void loop() { // user communication command.run(); -} \ No newline at end of file +} From 83c341b6321d6498ba94cc3a7dd1e44cd046fd08 Mon Sep 17 00:00:00 2001 From: Antun Skuric <36178713+askuric@users.noreply.github.com> Date: Mon, 3 Feb 2025 08:14:22 +0100 Subject: [PATCH 3/3] Update open_loop_velocity_6pwm.ino --- .../Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hardware_specific_examples/Teensy/Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino b/examples/hardware_specific_examples/Teensy/Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino index 5ff53311..c4627020 100644 --- a/examples/hardware_specific_examples/Teensy/Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino +++ b/examples/hardware_specific_examples/Teensy/Teensy4/open_loop_velocity_6pwm/open_loop_velocity_6pwm.ino @@ -53,7 +53,7 @@ void setup() { // limiting motor movements // limit the voltage to be set to the motor // start very low for high resistance motors - // currnet = resistance*voltage, so try to be well under 1Amp + // currnet = voltage/resistance, so try to be well under 1Amp motor.voltage_limit = 3; // [V] // open loop control config