Git Product home page Git Product logo

Comments (5)

pierre-rouanet avatar pierre-rouanet commented on August 9, 2024

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.

Net-Mist avatar Net-Mist commented on August 9, 2024

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.

pierre-rouanet avatar pierre-rouanet commented on August 9, 2024

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.

Net-Mist avatar Net-Mist commented on August 9, 2024

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 : cut_wire )
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.

pierre-rouanet avatar pierre-rouanet commented on August 9, 2024

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 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.