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

Look into Spark Max status frames #49

Open
CoolSpy3 opened this issue Jun 29, 2023 · 1 comment
Open

Look into Spark Max status frames #49

CoolSpy3 opened this issue Jun 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@CoolSpy3
Copy link
Member

This issue is for continued discussion about the points brought up in this Mattermost post.

Basic summary:

  • [Spark Max Status Frames]
  • Status frame 0 can probably be slower
  • Status frames 3/4 can probably be way slower
  • Status frames 5/6 should be faster in some instances
  • Maybe we should add an argument to MotorControllerFactory.createSparkMax to specify timings
@CoolSpy3 CoolSpy3 added the enhancement New feature or request label Jun 29, 2023
@CoolSpy3
Copy link
Member Author

Sorry, I thought I put a note here about progress, but back in July, we tested this and found that setting the status frame rate to <~150ms caused the Spark Max to drop status frames and the encoder value to occasionally read 0.

We communicated this to REV. Their reply is below:

Thanks for your patience while our software team looks into this issue! From our initial findings, it looks like if you are using the SPARK MAX's onboard PID for Closed Loop Control, then you should not encounter any issues with dropping status frames in your absolute encoder readings.

We understand that this is not ideal for every robot's application and are working to find a way to resolve the issue for using data from your Absolute Encoder over CAN. Unfortunately, I do not have a firm timeline of when we will have a solution for you, but I will keep you updated with any other information we find!

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