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

Duplicate PDO_MappingEntry definitions #222

Open
seclorum opened this issue Aug 12, 2020 · 1 comment
Open

Duplicate PDO_MappingEntry definitions #222

seclorum opened this issue Aug 12, 2020 · 1 comment

Comments

@seclorum
Copy link

Hi,

Attempting to auto-generate CO_OD.? for my project, I fire up EDSEditor v0.8 (built from the latest sources as of issue date), and export the CO_OD.? files .. but when I attempt to use the files un-edited, I get this:

./CO_OD.h:120:31: error: duplicate member 'PDO_MappingEntry' UNSIGNED32 PDO_MappingEntry;
.. which spews on for a while, since there are many duplicate definitions ..

Is this something I'm doing wrong with the EDSEditor itself? FWIW, I take EDS files created directly from Lenze Engineer HighLevel V2.28.0.0 without any modifications, open them in EDSEditor, and do a simple export (CANOPEN_V2) .. obviously I can fix up the files by hand myself, but it would be better (I think) to know what is happening here and whether I can fix this in the pipeline somehow ..

@robincornelius
Copy link
Owner

I think this is related to #223 and is caused by the last release of 0.8 being out of date with latest development of canopennode.

Please try https://github.com/robincornelius/libedssharp/raw/gh-pages/build/OpenEDSEditor-latest.zip and remember in tools->preferences there is a option to choose the legacy exporter (0,8 version) or the new exporter which is attempting to follow the canopennode tip and will eventually be stabilised at a particular version and a new option added

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