Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Merge requests
!404
Add convenience functions for calling subskills
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add convenience functions for calling subskills
feature/subskill-convenience-functions
into
master
Overview
0
Commits
4
Pipelines
3
Changes
1
Merged
Rainer Kartmann
requested to merge
feature/subskill-convenience-functions
into
master
1 year ago
Overview
0
Commits
4
Pipelines
3
Changes
1
Expand
0
0
Merge request reports
Viewing commit
929e7894
Prev
Next
Show latest version
1 file
+
12
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
929e7894
Add template overload of callSubskillWithParameters()
· 929e7894
Rainer Kartmann
authored
1 year ago
source/RobotAPI/libraries/skills/core/Skill.h
+
12
−
0
Options
@@ -200,6 +200,18 @@ namespace armarx
callSubskillWithParameters
(
const
SkillID
&
skillId
,
const
aron
::
data
::
DictPtr
&
parameters
);
/**
* @brief Call a subskill with the given ID and parameters.
* @param skillId The subskill's ID.
* @param parameters The parameters.
* @return The terminated skill status update.
*/
template
<
class
ParameterT
>
std
::
optional
<
TerminatedSkillStatusUpdate
>
callSubskillWithParameters
(
const
SkillID
&
skillId
,
const
ParameterT
&
parameters
)
{
return
callSubskillWithParameters
(
skillId
,
parameters
.
toAron
());
}
/**
* @brief Call a subskill with parameters based on the default parameters.
Loading