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

Add RPDO deadline monitoring #63

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

nattgris
Copy link

@nattgris nattgris commented Feb 6, 2024

As described in CiA 301, Object 1400h to 15FFh: RPDO communication parameter, Subindex 05h.

The indication to the application is done via the EMCY callback. The EMCY transmission is not described, but since there is an EMCY code defined for RPDO timeout, it's assumed to be meant for this purpose.

Copy link
Collaborator

@hefloryd hefloryd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, need to read up on RPDO monitoring but had a quick question.

src/co_pdo.c Show resolved Hide resolved
As described in CiA 301, Object 1400h to 15FFh: RPDO communication
parameter, Subindex 05h.

The indication to the application is done via the EMCY callback. The
EMCY transmission is not described, but since there is an EMCY code
defined for RPDO timeout, it's assumed to be meant for this purpose.

Change-Id: Ie98f67fb20b615d56fdbdfc207b38bfeef6d4fb6
@nattgris
Copy link
Author

As I understand it, it's basically like the heartbeat service, but instead of monitoring nodes, it's monitoring specific PDOs that could be critical.

@nattgris
Copy link
Author

And as usual, I haven't bothered to add test cases. I think the heartbeat consumer test would be a good starting point.

@hefloryd hefloryd merged commit 465f138 into rtlabs-com:master Mar 6, 2024
1 check passed
@hefloryd
Copy link
Collaborator

hefloryd commented Mar 6, 2024

Merged, thanks

@nattgris nattgris deleted the rpdo-monitoring branch March 11, 2024 12:02
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