Skip to content

This is a Rust API for myCobot serial communication.

License

Notifications You must be signed in to change notification settings

neka-nat/mycobot-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a Rust API for myCobot serial communication.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages