Giter Site home page Giter Site logo

forno / libics3 Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 298 KB

The c++ library of ICS3.x communication for drive servo motors on Linux

License: BSD 2-Clause "Simplified" License

C++ 89.37% CMake 6.90% Shell 3.73%
krs servo motor linux ics-communication driver library

libics3's Introduction

The libics3 Build Status

The c++ library of ICS3.x communication for drive servo motors on Linux.

Description

libics3 is c++ library for drive servo motors that suport ICS3.0 or newer serial communication.

ex)KRS series servo moters produced by KONDO KAGAKU co., ltd.

Caution

  1. This software require c++11 compiler. In ubuntu 14.04 or newer version have compiler support c++11.
  2. This software only support serial mode. You should lock the serial mode for never turn on PWM mode.
  3. Linux need serial device that mounted for use it. script/setup.sh will mount it to /dev/ttyUSB0.

API Reference

Reference the libics3 wiki

Installation

Download libics3 source code

git clone https://github.com/forno/libics3.git

Build

cd libics3
mkdir build && cd build
cmake ..
make
sudo make install

LICENSE

This software is released under the BSD 2-Clause License, see LICENSE.txt.

libics3's People

Contributors

forno avatar yamacir-kit avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

libics3's Issues

Cannot receive data from file descriptor

Core クラスは file descriptor から1文字ずつ文字を受信するように設計しています。
その部分が以下のコードです。該当のファイルはこちら

for (auto& receive: rx) read(fd, &receive, 1); // receive

前身のkrs_servo_driverと同様のtermios設定と受信のアルゴリズムであると思うのですが、受信データは全て0でした。
原因が不明で、解決方法がわかりません。
テストコードより、送信は成功していることが判明しています。

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.