Code Monkey home page Code Monkey logo

go-servoc's Introduction

servoc

Command line tool to interact with JMC IHSV57 servos.

Uploading you config is as easy as:

servo -c config.yaml -p /dev/cu.serial

The full configuration looks like this:

motor_encoder:
  line: 0
eletronic_gear:
  molecular: 0
  denominator: 0

input_offset: 0
weight_coefficient: 0

control_mode: pos_pulse_ccw_dir
# control_mode: pos_pulse_cw_dir
# control_mode: pos_dipulse_ccw_dir
# control_mode: pos_dipulse_cw_dir
# control_mode: pos_digital
# control_mode: pos_ramp_enable
# control_mode: vel_analog_cw
# control_mode: vel_analog_ccw
# control_mode: vel_digital_pwm_half
# control_mode: vel_digital_pwm_inversion
# control_mode: vel_ramp_enable
# control_mode: torque_analog_cw
# control_mode: torque_analog_ccw
# control_mode: torque_digital_pwm_half
# control_mode: torque_digital_pwm_inversion

mode2:
  control: external
  # control: internal
  pos_filter: false
  vel_filter: false

pos_loop:
  pp: 0
  pd: 0
  pf: 0
  pos_filter: 0
  pos_error: 0

vel_loop:
  vp: 0
  continous_vp: 0
  vi: 0
  vel_limit: 0
  vd: 0
  acc: 0
  aff: 0
  dec: 0
  vel_filter: 0

current_loop:
  cp: 0
  continous_current: 0
  ci: 0
  limit_current: 0

threshold_setting:
  temp_limit: 0
  over_voltage_limit: 0
  under_voltage_limit: 0
  i2t_limit: 0

For a more realistic configuration check out the config from Sebastian End.

Where to ask questions

via gitter

via git issue

via twitter

License

All code and data is released under the Apache License 2.0.

go-servoc's People

Contributors

tcurdt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hendrikroth

go-servoc's Issues

IHSV57 servos

Hi, this is great that you've managed to talk to these servos. Got couple of them on my desk and i'd like to talk to them. Do you know what voltage should be on RS232 connector? Is it TTL (5V) or 3.3V? Where did you get tuning software for them?
And regarding to your code: would you write some know-how for begginers and non experts in linux to guide them (and me:):)) how to use your solution? Do you use these servos with EMC2(linuxcnc)?
Thanks!

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.