Skip to content

Commit d2d083c

Browse files
urrskurmahp
authored andcommitted
Fix spell error in Brake Release dashboard command
Co-authored-by: Mads Holm Peters <[email protected]>
1 parent b7117ed commit d2d083c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/dashboard_example.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ int main(int argc, char* argv[])
7272
}
7373

7474
// Release the brakes
75-
if (!my_dashboard->commandBreakeRelease())
75+
if (!my_dashboard->commandBrakeRelease())
7676
{
77-
URCL_LOG_ERROR("Could not send BreakeRelease command");
77+
URCL_LOG_ERROR("Could not send BrakeRelease command");
7878
return 1;
7979
}
8080

examples/full_driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ int main(int argc, char* argv[])
9898
}
9999

100100
// Release the brakes
101-
if (!my_dashboard->commandBreakeRelease())
101+
if (!my_dashboard->commandBrakeRelease())
102102
{
103-
URCL_LOG_ERROR("Could not send BreakeRelease command");
103+
URCL_LOG_ERROR("Could not send BrakeRelease command");
104104
return 1;
105105
}
106106

include/ur_client_library/ur/dashboard_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class DashboardClient : public comm::TCPSocket
136136
*
137137
* \return True succeeded
138138
*/
139-
bool commandBreakeRelease();
139+
bool commandBrakeRelease();
140140

141141
/*!
142142
* \brief Send Load program command

src/ur/dashboard_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ bool DashboardClient::commandPowerOn(unsigned int timeout)
188188
return retryCommand("power on", "Powering on", "robotmode", "Robotmode: IDLE", timeout);
189189
}
190190

191-
bool DashboardClient::commandBreakeRelease()
191+
bool DashboardClient::commandBrakeRelease()
192192
{
193193
return sendRequest("brake release", "Brake releasing") && waitForReply("robotmode", "Robotmode: RUNNING");
194194
}

0 commit comments

Comments
 (0)