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

Several motor status flags not implemented #46

Open
AdmDeckerGH opened this issue May 23, 2020 · 2 comments
Open

Several motor status flags not implemented #46

AdmDeckerGH opened this issue May 23, 2020 · 2 comments

Comments

@AdmDeckerGH
Copy link

I'm missing some of the defined motor status flags (defined in evshield.h). Actually there is no way to detect stall or overload.
Why is in evshield.cpp SH_MOTOR_STALL commented?
Also the following flags aren't implemented?
SH_STATUS_RAMP
SH_STATUS_MOVING
SH_STATUS_BREAK
SH_STATUS_OVERLOAD

Thanks in advance.

@AdmDeckerGH
Copy link
Author

Hi @FloodJ --
Do you have any suggestions on this ?
Thanks.

@FloodJ
Copy link

FloodJ commented Jun 8, 2020

The SH_MOTOR_STALL register exists, but I don't know if it has been implemented in the EVShield firmware. You could either call Mindsensors or test it by writing a function to check the state of the register. I probably won't have time to test for about a week at this stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants