Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error by following tutorial example #57

Closed
jugal94 opened this issue Feb 23, 2017 · 11 comments
Closed

error by following tutorial example #57

jugal94 opened this issue Feb 23, 2017 · 11 comments
Assignees
Labels

Comments

@jugal94
Copy link

jugal94 commented Feb 23, 2017

Please fill out the questionaire to give you the best support service.

  • Which DYNAMIXEL is it?
    Dynamixel X 4p cable connector

  • Which CONTROLLER is it?
    USB2Dynamixel

  • Which VERSION of DynamixelSDK is it?
    3.4.3

I am using the example as shown in the tutorial to operate DynamixelX motor using Ubuntu 14.04, everything is going right until the last command to load the c++ example. it is returning : THERE IS NO STATUS PACKET!

I saw your comments on such pre-existing issue. I have followed all of the points that you suggested there, but still haven't been able to fix this error.

@LeonJung
Copy link
Contributor

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.

@jugal94
Copy link
Author

jugal94 commented Feb 24, 2017 via email

@LeonJung
Copy link
Contributor

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

@jugal94
Copy link
Author

jugal94 commented Mar 2, 2017 via email

@LeonJung
Copy link
Contributor

LeonJung commented Mar 3, 2017

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.

@jugal94
Copy link
Author

jugal94 commented Mar 3, 2017 via email

@LeonJung
Copy link
Contributor

LeonJung commented Mar 6, 2017

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

@jugal94
Copy link
Author

jugal94 commented Mar 9, 2017 via email

@LeonJung
Copy link
Contributor

LeonJung commented Mar 9, 2017

Aha,

great work

I will think on this

@LeonJung LeonJung closed this as completed Mar 9, 2017
@LeonJung LeonJung self-assigned this Aug 28, 2017
@ghost
Copy link

ghost commented Oct 23, 2018

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.

@ghost ghost unassigned LeonJung Oct 23, 2018
@kijongGil
Copy link
Contributor

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

@kijongGil kijongGil self-assigned this Oct 24, 2018
@kijongGil kijongGil added question and removed solved labels Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants