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

Recover from motor driver failures via --recovery option #2

Closed
jgvictores opened this issue Feb 3, 2015 · 4 comments
Closed

Recover from motor driver failures via --recovery option #2

jgvictores opened this issue Feb 3, 2015 · 4 comments

Comments

@jgvictores
Copy link
Member

To recover from motor driver failures.

@jgvictores jgvictores changed the title Add --recovery option on BodyBot [TechnosoftIpos] Add --recovery option, pass from CanBusControlboard May 14, 2015
@rsantos88
Copy link
Contributor

Now, you can use “checkCanBus” program with “--resetAll” parameter for reset all nodes defined in .ini files (see --help parameter) or “--resetNode” parameter followed by node number, to send reset message to one driver. In this state the drivers perform a software reset and enter the pre-operational state. This is very useful for recover from motor driver failures (red led).
Also, this application checks the drivers and CUI absolute encoders just after these are reseted or initiated.
Added in (#56)

@jgvictores
Copy link
Member Author

Very cool! This actually closes #27!
What is actually pursued with this issue is:

  • Being able to pass a --recovery option to TechnosoftIpos that enables its self recovery during initialization.
  • Allowing this parameter to flow all the way from launchManipulation/launchLocomotion to TechnosoftIpos (passing through CanBusControlboard, etc).

@PeterBowman
Copy link
Member

Self recovery is hard or impossible to attain, will talk about that at #185.

Now, you can use “checkCanBus” program with “--resetAll” parameter for reset all nodes defined in .ini files (see --help parameter) or “--resetNode” parameter followed by node number, to send reset message to one driver. In this state the drivers perform a software reset and enter the pre-operational state. This is very useful for recover from motor driver failures (red led).

Once fault state is reached, #215 will make it possible to traverse back to Operation enabled. Meddling with the NMT state machine feels like overkill.

@PeterBowman PeterBowman changed the title [TechnosoftIpos] Add --recovery option, pass from CanBusControlboard Recover from motor driver failures via --recovery option Oct 4, 2019
@PeterBowman
Copy link
Member

I'm closing this as WONTFIX. Fault state recovery will be easily attained via setControlMode(j, VOCAB_CM_FORCE_IDLE), see #215. On the other hand, the reset node NMT operation will only happen on device close since all SDO configuration parameters are lost in that step.

@PeterBowman PeterBowman closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants