Skip to content

Commit c21d3f0

Browse files
Sylwester DawidaSylwester Dawida
Sylwester Dawida
authored and
Sylwester Dawida
committed
aplication beta ready
1 parent 865c415 commit c21d3f0

22 files changed

+404
-124
lines changed

python/.idea/workspace.xml

+110-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/C_code/Arlo.binary

932 Bytes
Binary file not shown.

python/C_code/Arlo.c

+14-14
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ enum State{
5151
};
5252

5353
//commands
54-
const int def = 1;
55-
const int turnLeft = 2;
56-
const int turnRight = 3;
57-
const int turnAround = 6;
58-
const int forward = 7;
59-
const int backward = 8;
60-
const int speedUp = 9;
61-
const int slowDown = 10;
62-
const int biggerTurnAngle = 11;
63-
const int smallerTurnAngle = 12;
64-
const int biggerStep = 13;
65-
const int smallerStep = 14;
66-
const int stopCommand = 15;
67-
const int start = 16;
54+
const char def = 1;
55+
const char turnLeft = 2;
56+
const char turnRight = 3;
57+
const char turnAround = 4;
58+
const char forward = 5;
59+
const char backward = 6;
60+
const char speedUp = 7;
61+
const char slowDown = 8;
62+
const char biggerTurnAngle = 9;
63+
const char smallerTurnAngle = 10;
64+
const char biggerStep = 11;
65+
const char smallerStep = 12;
66+
const char stopCommand = 13;
67+
const char start = 14;
6868

6969
//connection handle
7070
volatile bool unlock = false;

python/C_code/Arlo.elf

2.14 KB
Binary file not shown.

python/C_code/arduinoTestCode/arduinoTestCode.ino

+11-11
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ enum State {
5757
const char def = 1;
5858
const char turnLeft = 2;
5959
const char turnRight = 3;
60-
const char turnAround = 6;
61-
const char forward = 7;
62-
const char backward = 8;
63-
const char speedUp = 9;
64-
const char slowDown = 10;
65-
const char biggerTurnAngle = 11;
66-
const char smallerTurnAngle = 12;
67-
const char biggerStep = 13;
68-
const char smallerStep = 14;
69-
const char stopCommand = 15;
70-
const char start = 16;
60+
const char turnAround = 4;
61+
const char forward = 5;
62+
const char backward = 6;
63+
const char speedUp = 7;
64+
const char slowDown = 8;
65+
const char biggerTurnAngle = 9;
66+
const char smallerTurnAngle = 10;
67+
const char biggerStep = 11;
68+
const char smallerStep = 12;
69+
const char stopCommand = 13;
70+
const char start = 14;
7171

7272
//connection handle
7373
volatile bool unlock = false;
-16 Bytes
Binary file not shown.
1.09 KB
Binary file not shown.
Binary file not shown.
169 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

python/comunication.py

+10-11
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,16 @@ class commands(Enum):
3030
default = 1
3131
turnLeft = 2
3232
turnRight = 3
33-
turnAround = 6
34-
forward = 7
35-
backward = 8
36-
speedUp = 9
37-
slowDown = 10
38-
biggerTurnAngle = 11
39-
smallerTurnAngle = 12
40-
biggerStep = 13
41-
smallerStep = 14
42-
stopCommand = 15
43-
start = 16
33+
turnAround = 4
34+
forward = 5
35+
backward = 6
36+
speedUp = 7
37+
slowDown = 8
38+
biggerTurnAngle = 9
39+
smallerTurnAngle = 10
40+
biggerStep = 11
41+
smallerStep = 12
42+
stopCommand = 13
4443

4544
class additionalInfo(Enum):
4645
empty = 1

0 commit comments

Comments
 (0)