Skip to content

realman robot Rust SDK - 睿尔曼机械臂 Rust SDK

License

Notifications You must be signed in to change notification settings

EchoRust/realman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

睿尔曼机械臂 Rust SDK

Crates.io Docs.rs MIT licensed

这是睿尔曼机械臂的 Rust SDK ,旨在帮助 Rust 开发者更好的对睿尔曼机械臂进行二次开发。

SDK 是根据官网 json 协议开发。官网链接

使用方法

[dependencies]
realman = "0.2.1"

三次点头示例

use realman::{traits::MotionTrait, ArmType, Realman, TrajectoryConnect};

fn main() {
    // get default client
    let realman = Realman::default();

    // you can set it manually
    // let realman = Realman::new("192.168.1.18", 8080);

    if let Ok(mut socket) = realman.connect() {
        socket.movej(ArmType::Gen72([0; 7]), 50, 0, TrajectoryConnect::Now).ok();

        for _ in 0..3 {
            socket.set_joint_step(&[6, -15000], 50).ok();
            socket.set_joint_step(&[6, 15000], 50).ok();
        }
    }
}

功能列表

已经实现的功能列表查看功能列表

作者介绍

License

The MIT License (MIT)

Copyright (c) 2024-present, 李扬(Leon)

About

realman robot Rust SDK - 睿尔曼机械臂 Rust SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages