Coder Social home page Coder Social logo

Comments (6)

Seferovic8 avatar Seferovic8 commented on June 14, 2024

I have the same problem, Did you find a solution?

from xarmservocontroller.

Mcneelsh avatar Mcneelsh commented on June 14, 2024

@Seferovic8 @abkeble Did either of you ever find a solution?

from xarmservocontroller.

abkeble avatar abkeble commented on June 14, 2024

@Mcneelsh I never found a solution to this unfortunately.

from xarmservocontroller.

Seferovic8 avatar Seferovic8 commented on June 14, 2024

No, you can't read the position on LeArm; that feature only works on XArm.
But, regarding setPosition command, you need to change the xarm library source code. It's defined to set values between 0-1000, but for LeArm, you need to set values between 500-2500 (for all IDs from 2 to 6) and 1500-2500 for ID:1 (gripper). If you need additional help, you're free to contact me.

from xarmservocontroller.

Mcneelsh avatar Mcneelsh commented on June 14, 2024

Good to know, thank you! I've got it figured out for the most part now. Thanks for such a speedy reply, as this was very frustrating when I started.

from xarmservocontroller.

eric-rosen avatar eric-rosen commented on June 14, 2024

@Seferovic8 Thank you, this was very helpful for me for setting the position of the LeArm!

I was wondering about getting the position, is that fundamentally not possible to access or would just involve extending this codebase? Shouldn't the servos have some encoders that report their position? If not, how did people figure out the full scope of the controller interface, I'm curious if there is any documentation? (All I see are the hard-coded values in

but I'm curious where those came from / are they everything?)

from xarmservocontroller.

Related Issues (11)

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.