mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-04 03:34:08 +05:30
Added more comments to MegaRobogaiaPololu sketch
This commit is contained in:
parent
4d58c7be36
commit
603154c1a9
@ -142,7 +142,7 @@
|
|||||||
int mode = 0;
|
int mode = 0;
|
||||||
int index = 0;
|
int index = 0;
|
||||||
|
|
||||||
// Variable hold an input character
|
// Variable to hold an input character
|
||||||
char chr;
|
char chr;
|
||||||
|
|
||||||
// Variable to hold the current single-character command
|
// Variable to hold the current single-character command
|
||||||
@ -314,7 +314,7 @@ void loop() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we using base control, run a PID calculation at the appropriate intervals
|
// If we are using base control, run a PID calculation at the appropriate intervals
|
||||||
#ifdef USE_BASE
|
#ifdef USE_BASE
|
||||||
if (millis() > nextPID) {
|
if (millis() > nextPID) {
|
||||||
updatePID();
|
updatePID();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user