mycobot-rs
MyCobot API in Rust.
Getting started
use *;
use io;
use env;
MyCobot API in Rust.
use mycobot::*;
use std::io;
use std::env;
pub fn main() -> Result<(), io::Error> {
let args: Vec<String> = env::args().skip(1).collect();
let mut mycobot = MyCobotSerialOperator::new(&args[0], 115200);
mycobot.send_angles(&vec![0.0, 0.0, 0.0, 0.0, 30.0, 0.0], 50)?;
Ok(())
}