Code Monkey home page Code Monkey logo

rosbridge_lib's Introduction

RosBridge_Lib 自用基于rosBridge实现android和ros间通信

添加引用

android studio

#Step 1. 将 JitPack 存储库添加到您的构建文件中

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

#Step 2. 添加依赖

dependencies {
    implementation 'com.github.791180116:RosBridge_Lib:0.10'
}

2.使用说明

本库主要是在ROSBridgeClient更改,内部用到了eventbus:3.0.0,fastjson:1.2.78,Java-WebSocket:1.5.2 主要方法封装类RosCUtil.java,熟悉ROSBridgeClient可以自行封装

初始化

RosCUtil.getInstance()
        //.useEventBus()                          //是否启用eventbus,在init()之前调用
        .init(this, "172.16.3.194", 9090);        //ip,端口

Api

  • 基础用法 参考MainActivity

参考项目

rosbridge_lib's People

Contributors

791180116 avatar keyd111 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.