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
Commits
1ee90110
Commit
1ee90110
authored
2 years ago
by
Fabian Reister
Browse files
Options
Downloads
Patches
Plain Diff
VirtualRobotReader: cleanup: no need for packagepath in synchronizeRobot
parent
4618a4fb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/RobotAPI/libraries/armem_robot_state/client/common/VirtualRobotReader.cpp
+3
-3
3 additions, 3 deletions
...es/armem_robot_state/client/common/VirtualRobotReader.cpp
with
3 additions
and
3 deletions
source/RobotAPI/libraries/armem_robot_state/client/common/VirtualRobotReader.cpp
+
3
−
3
View file @
1ee90110
...
...
@@ -38,11 +38,11 @@ namespace armarx::armem::robot_state
bool
VirtualRobotReader
::
synchronizeRobot
(
VirtualRobot
::
Robot
&
robot
,
const
armem
::
Time
&
timestamp
)
{
const
static
auto
packages
=
armarx
::
CMakePackageFinder
::
FindAllArmarXSourcePackages
();
const
auto
package
=
armarx
::
ArmarXDataPath
::
getProject
(
packages
,
robot
.
getFilename
());
//
const static auto packages = armarx::CMakePackageFinder::FindAllArmarXSourcePackages();
//
const auto package = armarx::ArmarXDataPath::getProject(packages, robot.getFilename());
const
robot
::
RobotDescription
robotDescription
{
.
name
=
robot
.
getName
(),
.
xml
=
PackagePath
{
package
,
robot
.
getFilename
()
}};
.
name
=
robot
.
getName
(),
.
xml
=
PackagePath
{
""
,
""
}};
const
auto
robotState
=
queryState
(
robotDescription
,
timestamp
);
if
(
not
robotState
)
...
...
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