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 communication statistics for Dynamixel bus #19

Open
sonelu opened this issue May 10, 2020 · 1 comment
Open

Add communication statistics for Dynamixel bus #19

sonelu opened this issue May 10, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sonelu
Copy link
Owner

sonelu commented May 10, 2020

  • Create a subclass of (dynamixel_sdk) PortHandler
  • Include statistics for successful / unsuccessful packets
  • Use an attribute initialised by the constructor that defines a rolling window for the calculation of the statistics; once the number of packets (successful + unsuccessful) is reached the statistics is calculated and saved and the counters for packets are reset.
  • Add a property that calculates communication error rate
  • Use the new class in the DynanixelBus and subclasses.
@sonelu sonelu added the enhancement New feature or request label May 10, 2020
@sonelu sonelu self-assigned this May 10, 2020
@sonelu
Copy link
Owner Author

sonelu commented May 10, 2020

Actually the statistics will need to be done on the PacketHandler class as this ones deals with actual communication packets.

@sonelu sonelu added this to the Release 0.1 milestone May 15, 2020
@sonelu sonelu modified the milestones: Release 0.1, Release 0.2 May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant