Code Monkey home page Code Monkey logo

mg400_mock's Introduction

ci lint

MG400_Mock

Dobot MG400 Mock Server Package. MG400_Mock let user to replace actual hardware to docker container system. It can make more easy to develop MG400 control system with embeded IK solver.

Image

Prerequisities

How to use

Launch an instance

cd MG400_Mock
docker compose -f docker/docker-compose.yml up

If you want to launch multiple instances (e.g. 3 instances), then

docker compose -f docker/docker-compose.yml up --scale dobot=3

Identify container IP address

Docker containers will run in docker's bridge network (172.10.0.0/24), and their IP address can be identified by the following command.

docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' docker-dobot-1

If there are more than one docker-dobot container, their name would be docker-dobot-2, docker-dobot-3 etc.

Shutdown

docker compose -f docker/docker-compose.yml down

Test (for debug)

docker compose -f docker/test-docker-compose.yml run test_dobot python3 -m unittest discover -s tests

Setting user defined coordinate systems

  • You can define tool coordinate systems through tool.yml in the assets folder.
  • user coordinate systems have not been implemented yet.

References

mg400_mock's People

Contributors

m13yama avatar m12watanabe1a avatar ss-koishi avatar ynybonfennil avatar kobayashi-na avatar

Stargazers

 avatar  avatar  avatar Théo Faucher avatar Taiga avatar  avatar  avatar Michael avatar Ar-Ray avatar Ryuji Yasukochi avatar  avatar

Watchers

 avatar

Forkers

ospqul

mg400_mock's Issues

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.