Skip to content

Commit 9a2f16a

Browse files
committed
Jp is no longer my father. I shalle avege the memoriees of my ancesotrs
1 parent addbc74 commit 9a2f16a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Display/src/main.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ float batt_voltage_1_new = 0;
5858
float batt_voltage_2_new = 0;
5959
int thrusters_new[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
6060
int devices_new[] = { 0, 0, 0, 0, 0, 0, 0 };
61-
String status_new = "JP is my father!";
61+
String status_new = "Hello World!";
6262
int tether_new = 0;
6363

6464
// Define global variables for display functions
@@ -375,18 +375,18 @@ void tether_dual_battery(float tether_status, float batt1_V, float batt2_V) {
375375

376376
// function to update thruster statuses
377377
void thrusterStatus(int Sthrusters[]) {
378-
for (int i = 0; i < 8; i++) {
379-
if (microseconds[i] == 1500) {
380-
Sthrusters[i] = 0;
381-
} else {
382-
Sthrusters[i] = 1;
383-
}
384-
}
378+
for (int i = 0; i < 8; i++) {
379+
if (microseconds[i] == 1500) {
380+
Sthrusters[i] = 0;
381+
} else {
382+
Sthrusters[i] = 1;
383+
}
384+
}
385385
}
386386

387387
// Callback function that updates microseconds array with values from ros
388388
void commandCb(const auv_msgs::ThrusterMicroseconds& tc){
389-
memcpy(microseconds, tc.microseconds, 8*sizeof(uint16_t));
389+
memcpy(microseconds, tc.microseconds, 8*sizeof(uint16_t));
390390
thrusterStatus(Sthrusters);
391391
}
392392

0 commit comments

Comments
 (0)