Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
0a8d482f
Verified
Commit
0a8d482f
authored
Nov 16, 2020
by
Justin Carpentier
Browse files
urdf: change variable name
parent
d3559559
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/parsers/urdf/geometry.hxx
View file @
0a8d482f
...
...
@@ -25,7 +25,7 @@ namespace pinocchio
{
struct
UrdfGeomVisitorBase
{
typedef
FrameTpl
<
urdf_
value
_type
,
0
>
Frame
;
typedef
FrameTpl
<
urdf_
scalar
_type
,
0
>
Frame
;
virtual
Frame
getBodyFrame
(
const
std
::
string
&
name
,
FrameIndex
&
fid
)
const
=
0
;
};
...
...
@@ -46,7 +46,7 @@ namespace pinocchio
}
fid
=
model
.
getFrameId
(
link_name
,
BODY
);
PINOCCHIO_CHECK_INPUT_ARGUMENT
(
model
.
frames
[
fid
].
type
==
BODY
);
return
model
.
frames
[
fid
].
template
cast
<
urdf_
value
_type
>();
return
model
.
frames
[
fid
].
template
cast
<
urdf_
scalar
_type
>();
}
};
...
...
src/parsers/urdf/model.hxx
View file @
0a8d482f
...
...
@@ -20,7 +20,7 @@ namespace pinocchio
{
namespace
details
{
typedef
double
urdf_
value
_type
;
typedef
double
urdf_
scalar
_type
;
template
<
typename
_Scalar
,
int
Options
>
class
UrdfVisitorBaseTpl
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment