herkulex_communicator

Crates.ioherkulex_communicator
lib.rsherkulex_communicator
version0.2.7
sourcesrc
created_at2018-10-02 07:47:24.914662
updated_at2021-01-26 14:22:55.493613
descriptionCommunicate with drs0101 and drs0201 servomotors from command line.
homepage
repositoryhttps://git.florencepaul.com/gbip/herkulex_manager
max_upload_size
id87549
size58,745
Paul FLORENCE (gbip)

documentation

README

Installation instruction

Currently supported plateforms : linux, macos and redox. Windows is not supported.

Needed dependencides for Linux : libudev-dev

You can install it through (ubuntu, debian and other distributions using the apt package manager) :

sudo apt-get install libudev-dev

Install from crates.io

If you have a rust toolchain installed you simply have to run :

cargo install herkulex_communicator

Otherwise you can follow an other installation method or install a rust toolchain.

Download the latest binary from the release page

Build from source

You have clone the repository and build the application using:

cargo build

Install completion

Once you have installed herkulex_communicator you can generate completion files for your favorite sheel. Currently only bash, zsh and fish are supported.

Note: you may need to restart your shell in order for the changes to take effect.

Bash

herkulex_communicator completions bash > /etc/bash_completion.d/herkulex_communicator.bash-completion

Bash (macOS/Homebrew)

herkulex_communicator completions bash > $(brew --prefix)/etc/bash_completion.d/herkulex_communicator.bash-completion

Fish

herkulex_communicator completions fish > ~/.config/fish/completions/herkulex_communicator.fish

Zsh

herkulex_communicator completions zsh > ~/.zfunc/_herkulex_communicator

Then, you must then add the following line in your ~/.zshrc before compinit:

fpath+=~/.zfunc
Commit count: 0

cargo fmt