-
Notifications
You must be signed in to change notification settings - Fork 25
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
SendLR #60
Comments
Please post the serial feedback log sent from hoverboard to ESP32 (or alike). |
gen2.x does not support tank steering afaik |
|
ok i dk that it would be very helpful |
so i have this HoverSendLR(oSerialHover, 1000, -1000); and log says iSpeed0 iSteer 1000 and wheels doesnt move at all |
uartbus master and slave will receive own speed and you need to change the slaveID of them so you can set them to different speed |
Well, @AILIFE4798 might be right and the hoverSendLR is old code from my EFeru FOC hovercar firmware. For some reason, This gen2 firmware uses a large float array to map steer and speed to speedL and speedR in main.c So maybe hoverSendLR does not work as expected. @BaktiyarBr , you could replace the angle mapping with the original code from Niklas fauth speedR = CLAMP(speed * SPEED_COEFFICIENT - steer * STEER_COEFFICIENT, -1000, 1000); and report back if we can get rid of that huge angle array main.c Or try uartBus as suggested by @AILIFE4798 |
In gen2.x it is named pwmSlave and pwmMaster. Simply overwrite these values at |
hello thank you for your project it saved our lifes
i have a quiestion im using HoverSendLR function and passing -1000 and 1000 to spin the wheel to oposite directions but it doesnt work how spining to different sides can be done
2.10 test speed example
The text was updated successfully, but these errors were encountered: