CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
120 stars 60 forks source link

fixed mappable OD entry #39

Closed Barzello closed 1 year ago

Barzello commented 1 year ago

if access attribute of AccessPDO is correct, for example (PDO == "RPDO" && accessPDO == AccessPDO.r) a "not mappable OD entry" error is thrown

trojanobelix commented 1 year ago

Thanks for the PR. Can you provide a XDD file that shows that behavior?

Barzello commented 1 year ago

Sure, if you mean XPD file, here it is(change data type from xpd to odt to upload it via github) DS301_profile.odt , if you mean XDD where i can get it?

trojanobelix commented 1 year ago

.xdd is the device description (in CANopen XML format, see CiA311). .xdc is device configuration, generated from .xdd with a specific configuration for the device .xdp is profile definition file All in XML

Please reproduce the problem in the CanOpenEditor and "Save as" Canopen XDD. Or you can provide an EDS file.

Barzello commented 1 year ago

To reproduce the problem i use the last version of CanopenEditor(commit 634dee9f6c0cd11f68106936843153c896b73711) Open default DS301_profile.xpd and after trying to save project current error appears DS301_profile

Warning

All files attached CAN_EDITOR.ZIP

trojanobelix commented 1 year ago

Thanks for the excellent data. It may take some time to check the context and deliver a bugfix.

trojanobelix commented 1 year ago

Please check the last bugfix branch