Git Product home page Git Product logo

simplexmotion-driver's Introduction

SimplexMotion driver

Status: Tested with one and two motors, with threaded computer-side PD torque controllers

This package implements control interfaces for SimplexMotion servo motors. It was developed on a standard Linux (Ubuntu) and tested for SH100B, but some interface implementations should be crossplattform (in particular via the hdiapi library). For Linux, there are 4 alternative communication options:

The SimplexMotion class provides high-level methods (e.g. setPID or runSpeed or running a torque-control loop with your own torque-computation callback). The SimplexMotion_Communication class provides direct write/read access to all SimplexMotion registers, but still agnostic to the choice of communication/implementation.

Related

Installation

  • standard cmake build:
git clone https://github.com/MarcToussaint/SimplexMotion-driver.git

cd SimplexMotion-driver
mkdir build
cd build
# by default, the hdiapi is compiled call `ccmake ..` to switch to another implementation

cmake ..
make
  • Plug in the motor via USB, check dmesg, device paths need general write permission
sudo chmod a+rw /dev/hidraw*

Testing & Calibration

The test/test.cpp implements basic testing of the motors, including simple methods to calibrate cogging, rund constant speed, run direct torque controllers, run the threaded computer-side torque controller. Please look into the source code.

A basic test (running small constant speed) is

./simplexMotionTest /dev/hidraw0

Cogging calibration is

./simplexMotionTest /dev/hidraw0 cogging

To test threads and multi-motors, change the source directly.

simplexmotion-driver's People

Contributors

marctoussaint avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

simplexmotion-driver's Issues

modbus

Do you have a time plan for modbus support ?

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.