-
Notifications
You must be signed in to change notification settings - Fork 444
Description
Hi there,
First off, your firmware is awesome! I have tried controlling using ADC inputs but I am wanting to just use UART control because ADC is only single directional. My question is what range of values do I send to the controller to control? I understand I have to use:
Serial.write((uint8_t *) &turn, sizeof(turn));
Serial.write((uint8_t *) &velocity, sizeof(velocity));
delay(10);
When controlling with arduino 3.3v but I do not understand what the "turn" and "velocity" values should be. Are they int's or bytes or char's or what? Also, what is the range of these values? Is it like -20 to 20 or -10000 to 10000? I cannot find in the config.h or in the other files I've read through what sort of values to send to the control board. Also, other than the bobbycar version, are there any acceleration settings built in or do I need to send increasing velocity values over a certain time frame, calculated by my arduino?
I really appreciate any input or info about the UART control input setup that anyone can give because currently I feel lost. Thank you