Skip to content

Commit 1959f5b

Browse files
author
Steve Nguyen
committed
torque off after ctrl-c in sinus
1 parent 00bb8d5 commit 1959f5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/dxl_sinus.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,7 @@ fn main() -> Result<(), Box<dyn Error>> {
8181
thread::sleep(Duration::from_millis(10));
8282
}
8383
// mx::write_torque_enable(&io, serial_port.as_mut(), id, false)?;
84+
mx::write_torque_enable(&io, serial_port.as_mut(), id, 0)?;
85+
8486
Ok(())
8587
}

0 commit comments

Comments
 (0)