From 150a40b284369ce207f1d8838a3ad6198b604459 Mon Sep 17 00:00:00 2001 From: askuric Date: Sun, 21 Jul 2024 13:14:35 +0200 Subject: [PATCH] error in exampels --- .../open_loop_velocity_example.ino | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/motion_control/open_loop_motor_control/open_loop_velocity_example/open_loop_velocity_example.ino b/examples/motion_control/open_loop_motor_control/open_loop_velocity_example/open_loop_velocity_example.ino index 546ac3ea..c439bf70 100644 --- a/examples/motion_control/open_loop_motor_control/open_loop_velocity_example/open_loop_velocity_example.ino +++ b/examples/motion_control/open_loop_motor_control/open_loop_velocity_example/open_loop_velocity_example.ino @@ -53,11 +53,7 @@ void setup() { motor.controller = MotionControlType::velocity_openloop; // init motor hardware - if(!motor.init()){ - Serial.println("Motor init failed!"); - return; - } - + motor.init(); // add target command T command.add('T', doTarget, "target velocity");