Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Speech
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
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
Skills
Speech
Commits
fa2789be
Commit
fa2789be
authored
5 months ago
by
Joana Plewnia
Browse files
Options
Downloads
Patches
Plain Diff
fixed small issue in python script
parent
e72c3a2a
No related branches found
Branches containing commit
No related tags found
2 merge requests
!16
Combined changes from verbalization and rtlntv branch
,
!14
Verbalization
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/skills/skills/query_symbolic_scene_memory.py
+1
-3
1 addition, 3 deletions
python/skills/skills/query_symbolic_scene_memory.py
source/armarx/speech/components/episodic_verbalization_skill_provider/Component.cpp
+9
-9
9 additions, 9 deletions
...nents/episodic_verbalization_skill_provider/Component.cpp
with
10 additions
and
12 deletions
python/skills/skills/query_symbolic_scene_memory.py
+
1
−
3
View file @
fa2789be
...
...
@@ -207,9 +207,6 @@ def search_snapshot_for_location(snapshot, object_name):
if
object_name
in
object
:
if
all_object_info
[
"
objects
"
][
object
][
'
objectAt
'
]
!=
'
(unknown)
'
:
print
(
"
Found object at
"
,
all_object_info
[
"
objects
"
][
object
][
'
objectAt
'
])
#res = [all_object_info["objects"][object]['objectAt'], timestamp, all_object_info["objects"][object]['source']]
#results.append(res)
return
True
,
all_object_info
[
"
objects
"
][
object
][
'
objectAt
'
],
timestamp
,
all_object_info
[
"
objects
"
][
object
][
'
source
'
]
except
Exception
as
e
:
print
(
"
Could not find object in LTM
"
)
...
...
@@ -343,6 +340,7 @@ def q(
def
query_ltm_for_object_location
(
ltm_base_path
,
object_name
,
ltm_name
):
print
(
"
Starting to search LTM for object
"
)
name_of_location
=
None
try
:
location
,
timestamp
,
mem_id
=
q
(
ltm_base_path
,
object_name
,
ltm_name
)
if
location
:
...
...
This diff is collapsed.
Click to expand it.
source/armarx/speech/components/episodic_verbalization_skill_provider/Component.cpp
+
9
−
9
View file @
fa2789be
...
...
@@ -85,15 +85,15 @@ namespace armarx::speech::components::episodic_verbalization::skill_provider
}
//Episodic Verbalization: ask about skill events:
// {
// armarx::speech::episodic_verbalization::skills::Episodicverbalization::Remote r{
// .pythonProxy = episodicVerbalizationPrx};
// armarx::speech::episodic_verbalization::skills::Episodicverbalization::Properties p;
// addSkillFactory<armarx::speech::episodic_verbalization::skills::Episodicverbalization>(
// r, p);
// ARMARX_DEBUG << "Added skill factory for episodic verbalization";
// }
//
{
//
armarx::speech::episodic_verbalization::skills::Episodicverbalization::Remote r{
//
.pythonProxy = episodicVerbalizationPrx};
//
armarx::speech::episodic_verbalization::skills::Episodicverbalization::Properties p;
//
addSkillFactory<armarx::speech::episodic_verbalization::skills::Episodicverbalization>(
//
r, p);
//
ARMARX_DEBUG << "Added skill factory for episodic verbalization";
//
}
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment