Comments (5)
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.
from opencm9.04.
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.
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.
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)
- br410 uart over ble profile code HOT 2
- Are they a set? OpenCM9.04 Release 1.5.0 and OpenCM9.04 Firmware ver 23. HOT 2
- OpenCM 9.04 model for circuit design programs HOT 6
- Will Wire.h be implemented in hardware? HOT 3
- How to modifying the PWM frequency on the OpenCM9.04 ? HOT 2
- Cant't make OpenCM communicate with sensors via I2C HOT 2
- stdint.h not found error on compile for OpenCM
- ros2 micro-ros support
- Arduino IDE Board Manager cannot install OpenCM board HOT 2
- Trying to run the I2C in slave mode HOT 7
- Support all of the Arduino installs - Now including ARM64 HOT 1
- Serial Port problems with <ros.h> on arduino IDE HOT 5
- Conflict with wire.h HOT 1
- Issues about sync read and its examples HOT 2
- Problem with example "n_Bulk_read_write" (groupBulkWrite addparam failed) HOT 7
- [OpenCM904 Not Detected UART Flash Loader] HOT 3
- [3.7.21][C++][USB2Dynamixel][XM540-W150-R] Issue: Writing and reading negative value of the current HOT 1
- Bootloader source HOT 1
- openCM904C Serial/UART Not working HOT 8
- Can't connect to MCU with ST-LINK/V2 and ST-LINK Utility HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencm9.04.