Skip to content

Onboarding Sum to 55#1751

Open
sebastianbrooker2 wants to merge 15 commits intomainfrom
Brooker/MainTask
Open

Onboarding Sum to 55#1751
sebastianbrooker2 wants to merge 15 commits intomainfrom
Brooker/MainTask

Conversation

@sebastianbrooker2
Copy link

Sum to 55 using NUClear, no for loops. Need to confirm how to make Kevin nod

@sebastianbrooker2 sebastianbrooker2 added the -Onboarding A practice PR for a new recruit. label 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);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion, I think I fixed it up now.

Copy link
Member

@ysims ysims Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

-Onboarding A practice PR for a new recruit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants