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

Auto find range problem #58

Open
Ertugrulbabaci opened this issue Mar 25, 2024 · 6 comments
Open

Auto find range problem #58

Ertugrulbabaci opened this issue Mar 25, 2024 · 6 comments

Comments

@Ertugrulbabaci
Copy link

Hello. I added physical limiters in two directions, left and right. I set it to 900 degrees. When I activate it as you say in the codes, it goes first to the left and then to the right. Then, instead of finding the middle point, it starts to turn left forever. There is no midpoint. what is the reason of this?

@vsulako
Copy link
Owner

vsulako commented Mar 25, 2024

I changed code a bit, please update and check if it helps.

@Ertugrulbabaci
Copy link
Author

It now finds the midpoint, but there is a left turn of -8 degrees. Can I make it stop at the midpoint? Also, can a button be assigned to operate this system?

@Ertugrulbabaci
Copy link
Author

It now finds the midpoint, but there is a left turn of -8 degrees. Can I make it stop at the midpoint? Also, can a button be assigned to operate this system? https://github.com/vsulako/AFFBWheel/assets/154468129/672f86e3-4ce5-4cc3-895d-8aa587a61df2

@Ertugrulbabaci
Copy link
Author

@vsulako

@oscarMO7
Copy link

I added this feature it is really useful but it would be better if I you assign it to a button @vsulako

@vsulako
Copy link
Owner

vsulako commented Apr 3, 2024

It now finds the midpoint, but there is a left turn of -8 degrees. Can I make it stop at the midpoint?

try to lower AFC_FORCE. Applied force turns off when reaching center, but wheel can go further because of inertia.
Need to rewrite this procedure.

Also, can a button be assigned to operate this system?

Added this. #define AFC_BUTTON in config.h

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

3 participants