Comments (6)
I have the same problem, Did you find a solution?
from xarmservocontroller.
@Seferovic8 @abkeble Did either of you ever find a solution?
from xarmservocontroller.
@Mcneelsh I never found a solution to this unfortunately.
from xarmservocontroller.
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.
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.
@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)
- import pywinusb.hid as hid ModuleNotFoundError: No module named 'pywinusb'
- The test code returns; AttributeError: module 'xarm' has no attribute 'Controller' HOT 1
- Can we use the USB port for programming?
- i cant get this to work for python or arduino is this outdated or broken? HOT 1
- script strip char B from the serial number if the serial number contains B at the end HOT 1
- OSError: open failed HOT 1
- module 'hid' has no attribute 'device'.
- Installation error for python
- Can't connect to xarm thorugh USB
- xarm connection problem please help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xarmservocontroller.