Skip to content

Commit d42c58d

Browse files
committed
feat: increase movement speed
1 parent 4f9b86a commit d42c58d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smart-car/smart-car.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#define RPCT 90
2323
#define LPCT 100
2424

25-
const byte initSpd = 128; // speed to start on the first loop to gain acceleration
26-
const byte moveSpd = 64; // speed to continue after first loop passed and we gained initial acceleration
25+
const byte initSpd = 192; // speed to start on the first loop to gain acceleration
26+
const byte moveSpd = 96; // speed to continue after first loop passed and we gained initial acceleration
2727

2828
const int turnDist = 40; // distance in cm on which normal turn will be triggered to avoid collision
2929
const int spinDist = 15; // distance in cm on which obstacle is considered too close and radical spin or pulling back will be triggered

0 commit comments

Comments
 (0)