From 895086b2ef47727995e3454908a75050159ed0f7 Mon Sep 17 00:00:00 2001 From: Julian Tusch <urhrf@student.kit.edu> Date: Mon, 24 Feb 2025 15:49:36 +0100 Subject: [PATCH] add default parameter type, formatting --- source/armarx/speech/skills/skills/Say.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/source/armarx/speech/skills/skills/Say.h b/source/armarx/speech/skills/skills/Say.h index 7318b09..6537756 100644 --- a/source/armarx/speech/skills/skills/Say.h +++ b/source/armarx/speech/skills/skills/Say.h @@ -30,13 +30,17 @@ namespace armarx::speech::skills::skills static ::armarx::skills::SkillDescription GetSkillDescription() { + ParamType defaultParameters; + // TODO(): set parameter defaults + const std::string skillName = "Say"; const armarx::skills::SkillID skillId = armarx::skills::SkillID{.skillName = skillName}; - return ::armarx::skills::SkillDescription{.skillId = skillId, - .description = - "Says the passed text using TTS", - .timeout = ::armarx::Duration::Minutes(1), - .parametersType = ParamType::ToAronType()}; + return ::armarx::skills::SkillDescription{ + .skillId = skillId, + .description = "Says the passed text using TTS", + .rootProfileDefaults = defaultParameters.toAron(), + .timeout = ::armarx::Duration::Minutes(1), + .parametersType = ParamType::ToAronType()}; }; Say(const Services&); -- GitLab