-
Notifications
You must be signed in to change notification settings - Fork 73
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
[FakeSlave] Extend slaves to provide period data for properly testing PDOs #178
[FakeSlave] Extend slaves to provide period data for properly testing PDOs #178
Conversation
The read function take the latest value out of the queue and assign to the system interface. Need tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few small fixes needed. Can you also please update the documentation with the explanation for users what they can expect here.
message_thread = std::thread(std::bind(&SimpleSlave::fake_periodic_messages, this)); | ||
} | ||
|
||
void fake_periodic_messages() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a short docstring for this method.
canopen_fake_slaves/include/canopen_fake_slaves/basic_slave.hpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Dr. Denis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but please fix compilation and formatting.
We have extended FakeSlave to publish one more PDO asynchronously from everything else to extend and test capability of ros2_control components.