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
!265
Robot state predictions
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Robot state predictions
robot-state-predictions
into
master
Overview
6
Commits
41
Pipelines
0
Changes
5
Merged
Rainer Kartmann
requested to merge
robot-state-predictions
into
master
2 years ago
Overview
3
Commits
41
Pipelines
0
Changes
5
Expand
Closes
#103 (closed)
and
#104 (closed)
Some updates to the built-in prediction (Remote GUI) of the object memory
Add prediction to robot state memory
Add example client for robot state memory predictions
Edited
2 years ago
by
Rainer Kartmann
0
0
Merge request reports
Viewing commit
c9e4cbb4
Prev
Next
Show latest version
5 files
+
16
−
31
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
c9e4cbb4
Migrate RobotStateMemory predictions
· c9e4cbb4
Philip Scherer
authored
2 years ago
source/RobotAPI/components/armem/server/RobotStateMemory/RobotStateMemory.cpp
+
0
−
26
Options
@@ -205,32 +205,6 @@ namespace armarx::armem::server::robot_state
return
{
new
Pose
(
poseMap
[
robotName
].
matrix
())
};
}
armem
::
prediction
::
data
::
PredictionResultSeq
RobotStateMemory
::
predict
(
const
armem
::
prediction
::
data
::
PredictionRequestSeq
&
requests
)
{
std
::
vector
<
armem
::
prediction
::
data
::
PredictionResult
>
results
;
for
(
const
auto
&
request
:
requests
)
{
auto
boRequest
=
armarx
::
fromIce
<
armem
::
PredictionRequest
>
(
request
);
armem
::
PredictionResult
result
;
if
(
armem
::
contains
(
workingMemory
().
id
().
withCoreSegmentName
(
"Proprioception"
),
boRequest
.
snapshotID
)
&&
!
boRequest
.
snapshotID
.
hasGap
()
&&
boRequest
.
snapshotID
.
hasTimestamp
())
{
result
=
proprioceptionSegment
.
predict
(
boRequest
);
}
else
{
result
.
success
=
false
;
result
.
errorMessage
<<
"No predictions are supported for MemoryID "
<<
boRequest
.
snapshotID
;
}
results
.
push_back
(
result
.
toIce
());
}
return
results
;
}
/*************************************************************/
// RobotUnit Streaming functions
/*************************************************************/
Loading