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
float pulse_width = 0.5 + angle / 180 * 2; int servoCycles = 18; lgTxServo(_chip.getHandle(), gpio, pulse_width * 1000, 50, 0, servoCycles); while (lgTxBusy(_chip.getHandle(), gpio, LG_TX_PWM)) lguSleep(0.01);
The text was updated successfully, but these errors were encountered:
Please supply a complete example with build instructions.
Sorry, something went wrong.
Complete code is here https://github.com/robertsi/yahboom-g1-tank/blob/f99b8805165f0e3a3e8f20b45430e0bbf7fa5aa5/g1-tank/include/g1-tank/tank.hpp#L380
I'm using cmake to build...instructions are here https://github.com/robertsi/yahboom-g1-tank/?tab=readme-ov-file#build
Could you prepare a shorter example which shows the problem?
No branches or pull requests
float pulse_width = 0.5 + angle / 180 * 2;
int servoCycles = 18;
lgTxServo(_chip.getHandle(), gpio, pulse_width * 1000, 50, 0, servoCycles);
while (lgTxBusy(_chip.getHandle(), gpio, LG_TX_PWM)) lguSleep(0.01);
The text was updated successfully, but these errors were encountered: