Giter VIP home page Giter VIP logo

Comments (7)

BrettHolton avatar BrettHolton commented on May 17, 2024

OK using the bg2 object from bg.py gives much better results and points me in the correct direction. It might be worth adding a troubleshooting section. I assumed that since I bought the exact servos and made my arms 8cm each that it would be close.

from brachiograph.

evildmp avatar evildmp commented on May 17, 2024

I think that your issue is that one or both of your motors are going in the wrong direction.

In d945017 I fixed an issue where I had forgotten to account for the need to handle this.

You could try initialising the BrachioGraph with servo_1_degree_ms and servo_2_degree_ms, as described in https://brachiograph.readthedocs.io/en/latest/reference.html#the-brachiograph-class.

from brachiograph.

evildmp avatar evildmp commented on May 17, 2024

Also, unless your clothes-peg and the other objects in your photo are exceptionally tiny, I don't think the arms you made really are 8cm long - they look more like 8 inches!

from brachiograph.

BrettHolton avatar BrettHolton commented on May 17, 2024

from brachiograph.

evildmp avatar evildmp commented on May 17, 2024

Try initialising with:

bg = BrachioGraph(inner_arm=8, outer_arm=8, bounds=(-6, 4, 6, 12), servo_1_degree_ms = -10, servo_2_degree_ms = 10)

from brachiograph.

evildmp avatar evildmp commented on May 17, 2024

I have:

I hope this fixes it for you.

from brachiograph.

BrettHolton avatar BrettHolton commented on May 17, 2024

Thank you for addressing this so fast.

from brachiograph.

Related Issues (20)

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.