You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
AbdoullahBougataya edited this page Jul 24, 2023
·
2 revisions
calibrate()
intcalibrate(structQuadcopter parameters, int bip_time);
This calibrate function will calibrate the drone ESCs to make them calibrated the given pulse width. This function takes two parameters:
struct Quadcopter parameters: Is the Quadcopter parameters struct that should be predefined.
int bip_time: Should be set to the time (in seconds) that the motors take to make the beep sound.
Examples
calibrate(parameters, 20000); /*20 s is the time taken by the ESC to make that beep so this calibration process will take 40s (it may vary depending on the ESCs used)*/