Skip to content

SocketCAN (native) cyclic improvements#323

Merged
christiansandberg merged 3 commits intohardbyte:developfrom
christiansandberg:socketcan-cylic-fix
Jun 12, 2018
Merged

SocketCAN (native) cyclic improvements#323
christiansandberg merged 3 commits intohardbyte:developfrom
christiansandberg:socketcan-cylic-fix

Conversation

@christiansandberg
Copy link
Copy Markdown
Collaborator

Keep periodic transmission timing on data update.
Use BCM for setting duration.

Fixes #298.

:param channel: The name of the CAN channel to connect to.
:param message: The message to be sent periodically.
:param period: The rate in seconds at which to send the message.
"""
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe add the param to the docs here

@@ -262,7 +274,10 @@ def modify_data(self, message):
Note the Message must have the same :attr:`~can.Message.arbitration_id`.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

... "like the one of the message given in the constructor"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants