Skip to content
Snippets Groups Projects
Commit 137cb247 authored by Christoph Pohl's avatar Christoph Pohl Committed by ARMAR-DE
Browse files

Add default parameters to skill

parent c4d397f0
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
!.gitkeep
!.gitignore
.idea
.clang-*
source/*/Test.h
......
......@@ -60,11 +60,15 @@ namespace armarx::view_selection::skills
static armarx::skills::SkillDescription
DefaultSkillDescription()
{
ParamType defaultParameters;
defaultParameters.target.duration = armarx::Duration::Seconds(0);
defaultParameters.target.name = "";
defaultParameters.target.keepInQueue = false;
return {constants::skill_names::LookAt,
"",
{},
armarx::core::time::Duration(),
Params::ToAronType()};
Params::ToAronType(), defaultParameters.toAron()};
}
protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment