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

No Status packet error on Python read_write.py AX12a #605

Closed
ARLunan opened this issue Aug 25, 2023 · 2 comments
Closed

No Status packet error on Python read_write.py AX12a #605

ARLunan opened this issue Aug 25, 2023 · 2 comments

Comments

@ARLunan
Copy link

ARLunan commented Aug 25, 2023

ISSUE TEMPLATE ver. 1.2.0

Please fill this template for more accurate and prompt support.

  1. Which DYNAMIXEL SDK version do you use? 3.7.51

  2. Which programming language/tool do you use? Python3

  3. Which operating system do you use?MACOS 13.5.1

  4. Which USB serial converter do you use? USB2Dynamixel

  5. Which DYNAMIXEL do you use? AX12a

6 Have you searched the issue from the closed issue threads? Similar to #532 & #599

  1. Please describe the issue in detail
    Based on Protocol1_0 read_write.py, revised Control Table Addresses to Torque Enable 24, Target Position 30, Present Position 36, Protocol=1.0, Baudrate =100000., device name='/dev/cu.usbserial-A1012MN6'. Configured AX12a for baudrate=1000000.

Followed installation procedure in DynamixelSDK Getting Started Python video with following result in the Terminal.
Ross@Kepler protocol1_0 % python read_write_ax12a_macm1.py
Succeeded to open the port
Succeeded to change the baudrate
[TxRxResult] There is no status packet!
Press any key to continue! (or press ESC to quit!)
[TxRxResult] There is no status packet!
[TxRxResult] There is no status packet!
[ID:002] GoalPos:010 PresPos:000
Press any key to continue! (or press ESC to quit!)
[TxRxResult] There is no status packet!
Ross@Kepler protocol1_0 %

Failed line appears to be the #Enable Dynamixel Torque as there is no "Dynamixel has been successfully connected" message

Tried other Dynamixel with ID=2 with same result.
8. How can we reproduce the issue?

@ARLunan
Copy link
Author

ARLunan commented Aug 27, 2023

3 more datapoints: 1) I confirmed using the Dynamixel Wizard 2.0 on my MAC connected with a DynamixelUSB2 that the Dynamixel AX12a is correctly configured with ID=1 & Baudrate=1000000. 2) I also configured my Ubuntu 22.04 MAC VM and 3) Raspberry Pi 4/Ubuntu 22.04 with the DynamixelSDK/python. Using the edited read_write.py with the AX12a Baudrate & Control Addresses, same error result. Appreciate your troubleshooting advice
read_write_ax12a_ub22.pdf

@ARLunan
Copy link
Author

ARLunan commented Aug 29, 2023

Problem solved due broken cable - Replaced cable connecting Servo to Dynamixel AX12a. py read_write_ax12a_macm1.py actuates the servo as specified. Thank you to the Robotis developer for making this code available to support this excellent Servo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant