libjaka 0.1.14

Rust bindings for the Jaka robot
Documentation
// use std::{thread::sleep, time::Duration};

use libjaka::JakaMini2;
use robot_behavior::{Pose, RobotResult, behavior::*};

fn main() -> RobotResult<()> {
    let mut robot = JakaMini2::new("10.5.5.100");
    robot.enable()?;
    robot.robot_impl._stop_program()?;
    // robot.move_joint_async(&[0.0; 6], 100.0)?;
    // robot.move_joint_async(&[-90., -30., -90., 0., -30., 0.], 100.0)?;
    robot
        .with_cartesian_velocity(100.0)
        .move_cartesian_async(&Pose::Euler([300.0, 0.0, 30.0], [180.0, 0.0, 180.0]))?;
    // let move_l_data = MoveLData {
    //     cart_position: [400.0, 0.0, 300.0, 0.0, 0.0, 0.0],
    //     accel: 100.0,
    //     speed: 20.0,
    //     relflag: 0,
    // };
    // robot._move_l(move_l_data)?;
    // sleep(Duration::from_secs(5));
    // robot.disable()?;
    Ok(())
}