Skip to content
Snippets Groups Projects
Commit ffbe3356 authored by Peter Albrecht's avatar Peter Albrecht
Browse files

Merge branch 'feature/skillMemoryGUI' of git.h2t.iar.kit.edu:sw/armarx/

robot-api into feature/skillMemoryGUI
parents d201d2d6 5ff9dd6d
No related branches found
No related tags found
1 merge request!406Refactor skill memory GUI
Pipeline #16852 failed
......@@ -30,6 +30,16 @@ namespace armarx
static SkillDescription FromIce(const provider::dto::SkillDescription& i,
const std::optional<ProviderID>& = std::nullopt);
static SkillDescription FromIce(const manager::dto::SkillDescription& i);
bool
operator==(const SkillDescription& other) const
{
return this->skillId == other.skillId && this->description == other.description &&
this->rootProfileDefaults == other.rootProfileDefaults &&
this->timeout == other.timeout &&
this->parametersType == other.parametersType &&
this->resultType == other.resultType;
}
};
template <class T>
......
......@@ -205,6 +205,7 @@ namespace armarx::skills::gui
try
{
ARMARX_INFO << "Aborting skill '" << executionId.skillId.skillName << "'...";
std::scoped_lock l(mutex_memory);
this->memory->abortSkillAsync(executionId.toManagerIce());
}
catch (Ice::Exception const& e)
......
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