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

Allow to safely drain batteries with the robots #95

Merged
merged 4 commits into from
Aug 23, 2023

Conversation

supertom01
Copy link
Member

Draining batteries with the LiPo charger is painstakingly slow, however with a robot it goes quite fast. This feature should allow the robot to quite safely drain a battery.

It works by just making the wheels spin at 30 rad/s (higher speeds are possible, but I don't think that it is a great idea to have utilizing full throttle for a longer period of time). As a safety feature, the robot checks that it is not physically rotating any faster than 0.3 rad/s. If this does happen, it will immediately halt itself.

Copy link
Member

@emielsteerneman emielsteerneman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming it has been tested. Maybe rename the buzzer_Play_PowerUp sound since the naming doesn't correspond to what it indicates

@supertom01 supertom01 merged commit 1830ed2 into development Aug 23, 2023
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants