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
a2ab70bf
Commit
a2ab70bf
authored
2 years ago
by
armar-user
Browse files
Options
Downloads
Patches
Plain Diff
fix robot descriptor filename, remove package name from path string
parent
b2e9458e
No related branches found
No related tags found
1 merge request
!313
Issues with PackagePath and robot visualization
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/RobotAPI/libraries/armem_robot_state/server/description/Segment.cpp
+3
-2
3 additions, 2 deletions
...ibraries/armem_robot_state/server/description/Segment.cpp
with
3 additions
and
2 deletions
source/RobotAPI/libraries/armem_robot_state/server/description/Segment.cpp
+
3
−
2
View file @
a2ab70bf
...
...
@@ -83,12 +83,13 @@ namespace armarx::armem::server::robot_state::description
const
std
::
vector
<
std
::
string
>
packages
=
armarx
::
CMakePackageFinder
::
FindAllArmarXSourcePackages
();
const
std
::
string
package
=
armarx
::
ArmarXDataPath
::
getProject
(
packages
,
robotFilename
);
ARMARX_INFO
<<
"Robot description '"
<<
robotFilename
<<
"' found in package "
<<
package
;
const
std
::
string
fixedRobotFilename
=
robotFilename
.
substr
(
package
.
size
()
+
1
,
-
1
);
ARMARX_INFO
<<
"Robot description '"
<<
VAROUT
(
fixedRobotFilename
)
<<
"' found in package "
<<
package
;
const
robot
::
RobotDescription
robotDescription
{
.
name
=
kinematicUnit
->
getRobotName
(),
.
xml
=
{
package
,
kinematicUnit
->
get
RobotFilename
()
}
.
xml
=
{
package
,
fixed
RobotFilename
}
};
// FIXME
commitRobotDescription
(
robotDescription
);
...
...
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