Skip to content

Callback on a periodic RPDO transmit? #584

@BCMicBem

Description

@BCMicBem

Hello,
I have an entry in the OD that needs to be incremented with each RPDO1 transmission ("Lifetime"). The entry is mapped into the said RPDO1.
How can I get notified that the RPDO1 was transmitted by the task started with
node.rpdo[1].start(0.200)
for instance?
The callback
node.rpdo[1].add_callback(OnRPDO1)
does not work as neither
node.network.subscribe(node.rpdo[1].cob_id, OnRPDO1)
does.
Any hints?

Thank you very much for your excellent work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions