克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

睿尔曼机械臂 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)

The MIT License (MIT) Copyright (c) 2024-present, 李扬(Leon) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

realman robot Rust SDK - 睿尔曼机器人Rust SDK 展开 收起
Rust
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化