DeepBlueRobotics / lib199

Code that we reuse in different projects/years.
Other
2 stars 0 forks source link

Look into Spark Max status frames #49

Open CoolSpy3 opened 1 year ago

CoolSpy3 commented 1 year ago

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

Basic summary:

CoolSpy3 commented 9 months ago

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!