Skip to content

Commit 5f81b53

Browse files
committed
Enable max. torque which is save now due to velocity limiting.
1 parent a5820a6 commit 5f81b53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Braccio++.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ bool BraccioClass::begin(voidFuncPtr custom_menu, bool const wait_for_all_motor_
136136
lvgl_defaultMenu();
137137

138138
_servos.begin();
139+
_servos.setMaxTorque(SmartServoClass::TORQUE_MAX);
139140
_servos.setAngularVelocity(SmartServoClass::DEFAULT_ANGULAR_VELOCITY_deg_per_sec);
140141
_servos.setPositionMode(PositionMode::IMMEDIATE);
141142

0 commit comments

Comments
 (0)