-
Notifications
You must be signed in to change notification settings - Fork 406
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 #106
Comments
I tried many baudrate (like 1000000 or 9600) and i tried to add some delays (in case if the the communication can't manage the speed of the loop ...) But no changes, still the same message ... |
Hi, I need more details for the solve. What you attached here shows that the port are succeeded to be opened, but the Dynamixel couldn't respond to what you sent for some reason. Can I guess that you have plugged the device into the GPIO port? or some external device? such as embedded platform or something? |
Hi, I am using a raspberry pi 3 with the latest version of raspbian, and dynamixel XL320. For the hardware I am using a USB2AX connected on usb port of the raspberry (/dev/ttyACM0) The version of the dynamixel sdk is the latest on github, 3.4.7 When I am using the roboplus software, my dynamixel is ok and ready to receive some actions with the same connection between us. Thanks for your help and have a good day ! |
Hi, unfortunately, we can't help you now with the device you have, as mentioned in the It should work, however, because there were many peoples who said about USB2AX and it worked. but I know that many users are using USB2AX, so I'm thinking about testing with USB2AX here. See other forks that tried with USB2AX or please wait until the test is done, but it will take much time. |
And directly with the GPIO do you think it can work ? |
Nope, you need a board that changes uart signal into ttl or rs485 signal, and rpi basically transmits signal via gpio at 115200 baudrate, and no more. |
Ok, I have a PIXL module from Roboticia i will try using this and I give you my feedback soon ! |
I found on the Xevelabs website, a little tutoriel to use the Dynamixel SDK with USB2AX (the file dxl_hal.c has modified) But on the Dynamixel SDK source, I'm not able to find the dxl_hal.c file in the latest version (but in version 1.01 the file is present) The link to the tutorial is the following: http://www.xevelabs.com/doku.php?id=product:usb2ax:faq#qdynamixel_sdkhow_do_i_use_it_with_the_usb2ax |
Dynamixel SDK which includes btw, I've noticed that where you linked shows some minor change in
So, I guess it may work if you change Lets try like 30 or somethiing and give me feedback. |
The problem is very ladle ... I change the LATENCY_TIMER like you said, the error message is the same, but i tried to use the dxl_monitor to scan all the dynamixel status, my motor is found. But when i want to read present position, the error message is the same but different using each protocol (1.0 and 2.0). What I do not understand is that it happens to find it (so by receiving a ping) but it can do nothing else ... See the folowing screenshot: https://img4.hostingpics.net/pics/825616xxx.png PS: I can reboot the motor with protocol 2.0, I have the hardware error message but after the message "Success to reboot" and the red led of my motor blinked |
Update 2: After an update of my USB2AX firmware, the commands run on the real motor (the motor move, the led color change) and I can read some data from it (like present position, current led color ...) Last problem to solve: I have always the error message: "[RxPacketError] Hardware error occured. Check the error at Control Table ..." Thanks for your help |
You did great, Thanks for a good reference while running with roboplus manager, didnt you find any hardware alarm that will be shown in address 50? |
No error with RoboPlus after doing the same actions. |
If you think it is weird, |
I will give you an answer tonight, but I think that the value in ADDR 50 = 0 at this time |
Hi, Sorry for the answer time, but I was very busy the last days. I corrected the "Hardware error" problem, I think it's due to a bad contact in my USB2AX (or something like this) Now, the script is correctly working with the USB2AX on Raspberry PI 3. Thanks a lot ! |
Great work, I should be ready for whom uses USB2AX someday keep in touch |
Hi! |
Hi everyone,
I'm using the dynamixel SDK on a raspberry pi 3 with Raspbian (latest available version), I follow all the instruction on the wiki (for the C library on linux)
To run on raspberry pi, I changed the port name from /dev/tty/USB0 to /dev/tty/ACM0, i changed my motor ID from 1 to 12.
But when I run the ./read_write, there is a error message like this screenshoot
https://img15.hostingpics.net/pics/48732469xx.png
I can't find the problem, the baudrate is OK, the motor ID is OK and the port is OK. Have an idea ?
Thanks a lot and have a good day
Best regards, Florian.
The text was updated successfully, but these errors were encountered: