We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In /etc/init.d/rcS there is a line:
Calibrate the motors for newer models without endstops: motor calibrate
This goes into the /usr/scripts/common_functions.sh: /usr/bin/motor -d f -s "$steps"
/usr/bin/motor -d f -s "$steps"
However in motor_app/motor.c there is only 'l', 'r', 'u', 'd', 'v', 'h', 's' and 'c' options defined for -d.
So if I run the command it gives me an error:
/usr/bin/motor -d f -s 0 Invalid Driection Argument f x: 0 y: 0 speed: 900
So there is no 'f'.
How can I calibrate the motors?
(There is a cruise method in motor.c, but it does not do anything for me)
There is absolutely nothing in either motor_app directory nor in the drivers/misc/sample_motor directory.
The text was updated successfully, but these errors were encountered:
Okay, I have found the solution here: https://github.com/EliasKotlyar/Xiaomi-Dafang-Software
But this repo is clearly marked deprecated...
Sorry, something went wrong.
No branches or pull requests
In /etc/init.d/rcS there is a line:
This goes into the /usr/scripts/common_functions.sh:
/usr/bin/motor -d f -s "$steps"
However in motor_app/motor.c there is only 'l', 'r', 'u', 'd', 'v', 'h', 's' and 'c' options defined for -d.
So if I run the command it gives me an error:
So there is no 'f'.
How can I calibrate the motors?
(There is a cruise method in motor.c, but it does not do anything for me)
There is absolutely nothing in either motor_app directory nor in the drivers/misc/sample_motor directory.
The text was updated successfully, but these errors were encountered: