Skip to content

Commit 2179c01

Browse files
committed
Fix example
1 parent 0043615 commit 2179c01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/send_script_blocking.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ end)""";
5757
// wait indefinitely.
5858
client.sendScriptBlocking(R"(textmsg("hello"))", "cool_function_name", std::chrono::milliseconds(0));
5959
// There is no feedback on secondary programs, so it will return successful as soon as the script is sent to the
60-
// robot (Behavior is the same the sendScript function)
60+
// robot (Behavior is the same the sendScript function, except that robot state is checked before script is sent)
6161
// Note that secondary scripts have to be "fully defined" by the user.
6262
std::string secondary_script = R"(
6363
sec sec_script():
64-
textmsg("Named secondary program"
64+
textmsg("Named secondary program")
6565
end
6666
)";
6767
client.sendScriptBlocking(secondary_script);

0 commit comments

Comments
 (0)