Open
Conversation
This reverts commit 94bd950.
ysims
reviewed
Oct 23, 2025
Comment on lines
+32
to
+36
| auto say_msg = std::make_unique<Say>(); | ||
| say_msg->text = "Correct!"; | ||
| say_msg->nod = true; | ||
|
|
||
| emit<Task>(say_msg); |
Member
There was a problem hiding this comment.
Have a look in GetUp.cpp at emit<Task>(load_script<BodySequence>(cfg.getup_front));, you'd do something similar but instead of BodySequence you can do HeadSequence, and instead of cfg.getup_front, you'd do NodYes.yaml.
Author
There was a problem hiding this comment.
Thanks for the suggestion, I think I fixed it up now.
Member
There was a problem hiding this comment.
Looks good! You shouldn't need to add the NodYes as the script system will load it up from (off the top of my head) shared/skill/scripts/nugus/NodYes. Someone in the lab should be able to help you test on the robot :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sum to 55 using NUClear, no for loops. Need to confirm how to make Kevin nod