Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pinocchio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
pinocchio
Commits
5301e767
Commit
5301e767
authored
7 years ago
by
jcarpent
Browse files
Options
Downloads
Patches
Plain Diff
[Parsers] Clean SRDF file
parent
e5d6408d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/parsers/srdf.cpp
+6
-11
6 additions, 11 deletions
src/parsers/srdf.cpp
with
6 additions
and
11 deletions
src/parsers/srdf.cpp
+
6
−
11
View file @
5301e767
...
...
@@ -15,9 +15,6 @@
// Pinocchio If not, see
// <http://www.gnu.org/licenses/>.
#ifndef __se3_parser_srdf_hxx__
#define __se3_parser_srdf_hxx__
#include
"pinocchio/parsers/srdf.hpp"
#include
"pinocchio/multibody/model.hpp"
...
...
@@ -40,10 +37,10 @@ namespace se3
#ifdef WITH_HPP_FCL
namespace
details
{
inline
void
removeCollisionPairs
(
const
Model
&
model
,
GeometryModel
&
geomModel
,
std
::
istream
&
stream
,
const
bool
verbose
=
false
)
inline
void
removeCollisionPairs
(
const
Model
&
model
,
GeometryModel
&
geomModel
,
std
::
istream
&
stream
,
const
bool
verbose
=
false
)
{
// Read xml stream
using
boost
::
property_tree
::
ptree
;
...
...
@@ -209,8 +206,8 @@ namespace se3
}
Eigen
::
VectorXd
getNeutralConfigurationFromSrdf
(
Model
&
model
,
const
std
::
string
&
filename
,
const
bool
verbose
)
throw
(
std
::
invalid_argument
)
const
std
::
string
&
filename
,
const
bool
verbose
)
throw
(
std
::
invalid_argument
)
{
// Check extension
const
std
::
string
extension
=
filename
.
substr
(
filename
.
find_last_of
(
'.'
)
+
1
);
...
...
@@ -279,5 +276,3 @@ namespace se3
}
}
}
// namespace se3
#endif // ifndef __se3_parser_srdf_hxx__
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