Skip to content

Conversation

@henrikbrixandersen
Copy link
Contributor

Add 'relative' property for COB-ID vars relative to the node-ID.

I have used the term "relative" only since I could not come up with something better (and CiA306-1 doesn't really help here). Other suggestions are most welcome.

@henrikbrixandersen
Copy link
Contributor Author

@christiansandberg Any objections to adding this? I would like to use Python canopen to auto-generate C-code from EDS files for use in a native CANopen stack for the Zephyr RTOS, but I need to be able to determine if a given object entry contains a COB-ID relative to the node-ID.

We are already using Python canopen in Zephyr for performing program download (CiA302-3) and all the Zephyr CANopen examples contain Python canopen snippets for testing device functionality.

@christiansandberg
Copy link
Member

Sorry for the late feedback. I guess it wouldn't hurt to add another property if it will helpful.

@christiansandberg christiansandberg merged commit a142fb5 into canopen-python:master Jan 6, 2022
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

Successfully merging this pull request may close these issues.

2 participants