4 releases (breaking)

0.4.0 Jan 24, 2022
0.3.0 Aug 26, 2021
0.2.0 Aug 23, 2021
0.1.0 Aug 21, 2021

#134 in Robotics

MIT license

3MB
618 lines

mycobot-rs

crates.io

MyCobot API in Rust.

Getting started

use mycobot::*;

pub fn main() -> Result<()> {
    let mut mycobot = MyCobotSerialOperator::new("/dev/ttyUSB0", 115200);
    mycobot.send_angles(&[0.0, 0.0, 0.0, 0.0, 30.0, 0.0], 50)?;
    Ok(())
}

Demo

Run example.

sudo chmod 666 /dev/ttyUSB0
cargo run --release --example send_coords /dev/ttyUSB0

send_coords

Dependencies