Giter VIP home page Giter VIP logo

Comments (5)

KurtE avatar KurtE commented on July 18, 2024

Sorry, I was just browsing issues and wondering about the line

dxl_wb.itemWrite(DXL_ID, "Present_Position", 2000);

Guessing it should be goal position?

from opencm9.04.

GJohns1989 avatar GJohns1989 commented on July 18, 2024

from opencm9.04.

routiful avatar routiful commented on July 18, 2024

You can't write value to Present_Position address. Please refer attached link.
http://emanual.robotis.com/docs/en/dxl/x/xm430-w210/#present-position

If you want to control dynamixels, you have to set Goal_Position address

from opencm9.04.

KurtE avatar KurtE commented on July 18, 2024

Again sorry for me jumping in again... Especially since I don't have any servos that are RS485...

But if it were me, some of the things I would check include:

From the sketch, I am assuming you are running Arduino. Which version and are you up to date on the Board version? If not I would update that.

You have a proper power supply plugged into expansion board and you have the power turned on. Again assume this as you say the servo moves.

Try running some of the other example programs. Example if you run t_find_Dynamixel from the Examples->OpenCM904->DynamixelWorkbench does it find your servo? If so the hardware/software is limping along as the servo had to return a packet that says it was there...

Try running R+Manager Version 2 (as you say you are using Protocol2). First go up and choose Robotis Mini, with the OpenCM board plugged in, go to firmware recovery. Go through the steps to program the OpenCM board with default firmware (Note you will probably need to put the board in firmware recovery, mode, by holding button and pressing reset... Once the OpenCM9.04 firmware is done, Go to update/Test and you should be able to select the OPenCM... and bring up control table. Make sure board is configured for your servos. In particular: 12 Baud rate BUS, is set for your servos (probably 1 for 57600) and make sure 16 Dynamixel Channel is set to 1, for the expansion board.

Then you should be able to hit the Home button on the manager (may have to close sub window first), but then select Dynamixel as the type. and try the Update and test and see if it finds your servo? Hopefully it does... If not, maybe you can try the Firmware Recovery for the servo at this point. I don't have any of these MX servos so have not tried here... I have done some others XL/XM...

If all of the above does not work, I would try to determine where the issue was? Do you have more than one servo? Do they all fail? Or only this one? Do you have a different controller to try the servo on?

And because I can, if it were me, I would hook up Logic Analyzer to the DXL signals and see if the packets are being properly sent and responses coming back... And doing some debugging that way, to again figure out if the issue is at the Servo or at the OpenCM..

Again sorry for jumping in here. Hopefully something will work.

from opencm9.04.

HPaper avatar HPaper commented on July 18, 2024

This issue will be closed since there were no actions for a while.
You can reopen this issue to show this issue to the users whenever. Thanks.

from opencm9.04.

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.