Skip to content

Commit 7d6e019

Browse files
committed
Merge branch 'master' into aron
2 parents 987bda8 + 92ed005 commit 7d6e019

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

Buggy/Buggy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Buggy {
2020
};
2121
ParkingState parkingState = NOT_PARKING;
2222
const unsigned int parking_overrideOffAt = 3000; // ms
23-
const unsigned int parking_stopAt = 7000; // ms
23+
const unsigned int parking_stopAt = 6500; // ms
2424

2525
const CommTrans *comms;
2626
MotorControls *motor;

Buggy/UltraSonic.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class UltraSonic {
1313
const unsigned short groundPin = 16;
1414
const unsigned short powerPin = 17;
1515
const unsigned short ultraPin = 18;
16-
const unsigned long tresholdDistance = 15; // cm
16+
const unsigned long tresholdDistance = 14; // cm
17+
//used 14 for buggy1 and 13 for buggy2
1718
const unsigned long pingInterval = 400; // ms
1819
/** Timestamp of the previous ping */
1920
unsigned long lastPingTime = 0; // ms

ChangeLog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,15 @@ BY WHO: Rob, Aron
7474
FUNCTIONALITY ADDED: Optional LED lights
7575
BY WHO: Aron
7676
FUNCTIONALITY ADDED: Station uses regular expressions to interpret commands
77+
BY WHO: Aron
7778

7879
FUNCTIONALITY FIXED: Improved detection of buggy going offline. Using `Task`s to handle commands in a separate thread pool
80+
BY WHO: Rob, Aron
81+
82+
83+
#WEEK 11
84+
85+
FUNCTIONALITY FIXED: Code clarity and commenting
86+
BY WHO: Aron
87+
FUNCTIONALITY FIXED: Pins and timings
88+
BY WHO: Aron

Station/Station/Communications.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Communications
3939

4040
public Communications()
4141
{
42-
port.PortName = "COM17";
42+
port.PortName = "COM5";
4343
port.BaudRate = 9600;
4444
port.Open();
4545

0 commit comments

Comments
 (0)