Comments (5)
Hi @Net-Mist!
This issue can come from a few different issues:
- The USB2AX you are using is not mapped to '/dev/ttyACM0' (a simple ls /dev/ttyACM* should answer this)
- one (or more) of the motors does not respond (it could be due to an unplug/dead motor, a broken wire, a wrong motor configuration). To investigate this you will need to use the low level communication (describe here)
from reachy-legacy.
Hi !
The file /dev/ttyACM0 exists. I tried to use the low level communication to ping the motor but it failed.
I'm using python 3.6.8, Ubuntu 18.04, pypot 3.1.3
I run :
import pypot
import pypot.dynamixel.protocol.v1 as protocol
from pypot.dynamixel import DxlIO
io = DxlIO(port='/dev/ttyACM0', baudrate=1000000)
ids = io.scan()
It raises an error : pypot.dynamixel.io.abstract_io.DxlCommunicationError: could not parse received data bytearray(b'\x00') after sending DxlPingPacket(id=0)
After searching on google it seems it means:
- Several motors have the same id
- or it is a power issue
- or there is a driver issue (on Ubuntu ? Is it possible ?)
Do you think of other reasons why this is happening ?
How can I check the power on Reachy ? The led are bright, but is it enough ?
How can I check the motor's id ? What are Reachy default ids ?
Thank you for your help
from reachy-legacy.
Yes it's usually one of:
- Several motors have the same id
- or it is a power issue
If you see the led turn red on the last motor of your chain when the power supply is plugged it should not be the issue. Are you using a 12V power supply?
To check the id you can use pypot with the scan function. The only option to debug the duplicate id is to connect the motor one by one.
On reachy the ids should be [10, 11, 12, 13, 14, 15, 16]. And the default motor id (factory setting) is 1.
from reachy-legacy.
I've tested all the motors and they are all good. I think the issue is in the way they are connected.
One cable has been cut : the one in the middle of the 3-wire connector plugged in the power module on top of motor 10 (see picture : )
The wire seems to be cut on both side of the cable, so I wonder if it is on purpose ?
Do you have a wiring diagram so I can check all the connections ?
from reachy-legacy.
This cut wired is indeed intentional. It lets the communication through and not the power. We used it to have two power supply on the robot: one for the first motor (the one using most torque) and the rest of the robot.
I'll post the wiring diagram soon.
from reachy-legacy.
Related Issues (4)
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 reachy-legacy.