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

Add virtual kill switch #10

Open
3 tasks
Levi-Lesches opened this issue Jul 29, 2022 · 1 comment
Open
3 tasks

Add virtual kill switch #10

Levi-Lesches opened this issue Jul 29, 2022 · 1 comment
Labels
enhancement New feature or request networking An issue that deals with communicating over CAN

Comments

@Levi-Lesches
Copy link
Member

Levi-Lesches commented Jul 29, 2022

With the current design, some motors behaving erratically can seriously damage the arm or cause injury to anyone nearby. The motors we're using are powerful; if the code does not regulate them properly, things can go south quickly. Of course, the rover has an E-Stop, but shutting down the whole rover prevents us from doing any useful debugging or recovery. Suddenly cutting power is especially dangerous for the arm as it can break the motors and cause the arm to fall and break.

Instead, we want to be able to shut down the motors using software.

TODO:

  • Research the TMC 5160 Stepper Motor for the best (safe) way to force stop it
  • Implement it as a method on StepperMotor
  • Find space for it in the controller mappings and CAN commands
@Levi-Lesches Levi-Lesches added the enhancement New feature or request label Jul 29, 2022
@Levi-Lesches Levi-Lesches added this to the Finalize Arm firmware milestone Jul 29, 2022
@Levi-Lesches Levi-Lesches added the networking An issue that deals with communicating over CAN label Jul 29, 2022
@Levi-Lesches Levi-Lesches assigned ZackKorn and unassigned sbrokal1 Sep 30, 2022
@Levi-Lesches
Copy link
Member Author

We'll have Nathaniel look into the best ways to stop a TMC5160 driver for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request networking An issue that deals with communicating over CAN
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants