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

EDS Parser issue #18

Open
ChrisGermany opened this issue May 17, 2019 · 1 comment
Open

EDS Parser issue #18

ChrisGermany opened this issue May 17, 2019 · 1 comment

Comments

@ChrisGermany
Copy link

I am getting an issue with the parser. I am running the example here https://github.com/xdaco/kacanopen-fork/blob/master/examples/periodic_tpdo_write.cpp. I know it is a fork, but it uses the same parser. I am just trying to send a motor command. I am using roboteq SDC2160, the eds can be downloaded here https://www.roboteq.com/index.php/support/downloads, it has the name "CANOPEN EDS for motor controllers". So when I run the example I get the following on candump

slcan0 201  [4]  64 00 00 00

reading through their documentation I started sending command using cansend, when I send

slcan0 704  [8]  20 00 20 01 64 00 00 00

I get the motor moving. So I guess there is something wrong with the parsing of the eds file. Any pointers or am I not able to use their eds file?

@roboticlemon
Copy link
Collaborator

Are you using the latest roboteq firmware? Please note that the CAN implementation has changed significantly between versions, especially the dictionary entries.

You will notice that cmd_cango/cmd_cango_1 no longer is valid and that the new dictionary entry is Cmd_CANGO Set Motor Command/Channel 1. If you are using the new firmware, ensure you have v80 of the EDS file. The EDS file works fine.

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

2 participants