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

Support server pdo and added api #547

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

khauersp
Copy link

@khauersp khauersp commented Nov 7, 2024

I was trying to utilize this repo to support canopen server functionality and ran into a few items that would've been helpful to aid in the usability and expanded functionality. Some key changes were the addition of being able to start pdo services from the local_node layer this made it easier to use in other repos. I expanded the functionality of the pdo classes mainly to be used by the tpdo but can be expanded to do more in the future if needed. By calling the start_pdo_services the tpdo can read and load in the desired mapping needed and start transmitting data. When the data is updated in the node the tpdo data can be updated as well. I added a packing data method to pack the new data into the existing tpdo data and then update the message.

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.

1 participant