Skip to content

Commit

Permalink
Fix typo in gravityCompensator main (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinaxgloria committed Sep 13, 2023
1 parent 4ad5910 commit 439050f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/gravityCompensator/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ class gravityModuleCompensator: public RFModule
{
g_comp->external_mode = EXTERNAL_TRQ_ON;
}
if (rf.check("external_on"))
if (rf.check("external_off"))
{
g_comp->external_mode = EXTERNAL_TRQ_OFF;
}
Expand All @@ -409,7 +409,7 @@ class gravityModuleCompensator: public RFModule
string helpMessage = getName() +
" commands are: \n" +
"help to display this message\n" +
"gravity_on to enabl e the gravity compensation \n" +
"gravity_on to enable the gravity compensation \n" +
"gravity_off to disbale the gravity compensation \n" +
"external_on to enable the external input torque \n" +
"external_off to disable the external input torque \n";
Expand Down

0 comments on commit 439050f

Please sign in to comment.