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

Preserve the motor state when error occur and send it together with fault code to mc_interface_fault_stop #66

Open
aurimasniekis opened this issue Oct 19, 2018 · 0 comments

Comments

@aurimasniekis
Copy link

We are having some issues when people are getting ABS_OVER_CURRENT error and current values in fault report are not even close to the Absolute Current Limit. I think it has to do with fact that current reading is happening in a separate thread and after the fault was set it was already read new current value and so error report has wrong values.

that's why I would like to propose duplicating motor state variable and sending it with fault code to the method mc_interface_fault_stop:

void mc_interface_fault_stop(mc_fault_code fault) {

image

image

@aurimasniekis aurimasniekis changed the title Preserve the motor state when error occur and send it together with fault code to Preserve the motor state when error occur and send it together with fault code to mc_interface_fault_stop Oct 19, 2018
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

1 participant