GithubHelp home page GithubHelp logo

Comments (11)

LeonJung avatar LeonJung commented on August 23, 2024

Hi,

Sorry for the inconvenience.

Let me check something:

  1. From which example did you find the problem out
  2. is the slide switch in the left side of the USB2Dynamixel set to the RS485?
  3. Did you edit the source code of the c++ example? : ex) Your Dynamixel ID / ADDR numbers or LENGTH of the Dynamixel Control Table, because protocol1 example runs the MX series, and protocol2 example runs the PRO series as default.
  4. If 2, 3 were already done, I need more details, since the issue you told can be occurred in various circumstances. Taking picture of the developing environment and let me know about 1. will be effective.

from dynamixelsdk.

jugal94 avatar jugal94 commented on August 23, 2024

from dynamixelsdk.

LeonJung avatar LeonJung commented on August 23, 2024

Okay, great.

Please check whether you did sudo chmod a+rw /dev/ttyUSB0 or any other port number to get port access authority.

and see http://support.robotis.com/en/ -> Product Information -> Actuator -> DynamixelX -> Dynamixel model and change the ADDR & LENGTH number by referring the Table.

ex)

// Control table address
#define ADDR_PRO_TORQUE_ENABLE 64 // from 562
#define ADDR_PRO_GOAL_POSITION 116 // from 596
#define ADDR_PRO_PRESENT_POSITION 132 // from 611

from dynamixelsdk.

jugal94 avatar jugal94 commented on August 23, 2024

from dynamixelsdk.

LeonJung avatar LeonJung commented on August 23, 2024

Hi, again

    1. Dynamixel AX-12A does TTL communication 3p, so you must be using two USB2Dynamixel, right? the PRO and XH series use RS485 comm 4p.
  1. Do all the Dynamixels work when you connect just one... each of them without any problem?
  2. 3. Dynamixel PRO L42 moves in the range from 0 to 4095. The other PROs can move to minus value position.
    See the details of the Dynamixels in http://support.robotis.com/en/ -> Product Information -> Actuator
    Maybe I should write this somewhere clearly, sorry for giving an insufficient information.
  3. 4. Sorry, I can 't find any picture here :v

Please check 2), so that we can know what the problem is.
If still your Dynamixels don't work, let me see the part of your source code which would actually affects to the Dynamixel control by sharing google drive personally. My e-mail address is available in my github page.

from dynamixelsdk.

jugal94 avatar jugal94 commented on August 23, 2024

from dynamixelsdk.

LeonJung avatar LeonJung commented on August 23, 2024

Im sorry, i cant find anywhere what you attached
Please send me via email. You can find in at my page.

Okay no problem, I will wait for it :)

from dynamixelsdk.

jugal94 avatar jugal94 commented on August 23, 2024

from dynamixelsdk.

LeonJung avatar LeonJung commented on August 23, 2024

Aha,

great work

I will think on this

from dynamixelsdk.

 avatar commented on August 23, 2024

I changed
DXL_MINIMUM_POSITION_VALUE = -150000;
DXL_MAXIMUM_POSITION_VALUE = 150000;

to less values.

It shows Dynamixel has been successfully connected.

The motors are not moving. The motors work with R + motion when goal motion is changed.

from dynamixelsdk.

kijongGil avatar kijongGil commented on August 23, 2024

Hi @akashgupta12345 :)
Could you tell me what DXL you used?

from dynamixelsdk.

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.