Skip to content
GitLab
Menu
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
9575797e
Verified
Commit
9575797e
authored
Nov 12, 2019
by
Justin Carpentier
Browse files
algo/frames: mark framesForwardKinematics as depracated
parent
460614fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/algorithm/frames.hpp
View file @
9575797e
...
...
@@ -19,7 +19,7 @@ namespace pinocchio
* @param[in] model The kinematic model.
* @param data Data associated to model.
*
* @warning One of the algorithms forwardKinematics should have been called first
* @warning One of the algorithms forwardKinematics should have been called first
.
*/
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
>
inline
void
updateFramePlacements
(
const
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
model
,
...
...
@@ -59,6 +59,26 @@ namespace pinocchio
DataTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
data
,
const
Eigen
::
MatrixBase
<
ConfigVectorType
>
&
q
);
/**
* @brief Updates the position of each frame contained in the model.
* This function is now deprecated and has been renamed updateFramePlacements.
*
* @tparam JointCollection Collection of Joint types.
*
* @param[in] model The kinematic model.
* @param data Data associated to model.
*
* @warning One of the algorithms forwardKinematics should have been called first.
*/
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
>
PINOCCHIO_DEPRECATED
inline
void
framesForwardKinematics
(
const
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
model
,
DataTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
data
)
{
updateFramePlacements
(
model
,
data
);
}
/**
* @brief Returns the spatial velocity of the frame expressed in the LOCAL frame coordinate system.
...
...
src/algorithm/frames.hxx
View file @
9575797e
...
...
@@ -51,14 +51,6 @@ namespace pinocchio
return
data
.
oMf
[
frame_id
];
}
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
>
inline
void
framesForwardKinematics
(
const
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
model
,
DataTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
data
)
{
updateFramePlacements
(
model
,
data
);
}
template
<
typename
Scalar
,
int
Options
,
template
<
typename
,
int
>
class
JointCollectionTpl
,
typename
ConfigVectorType
>
inline
void
framesForwardKinematics
(
const
ModelTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
model
,
DataTpl
<
Scalar
,
Options
,
JointCollectionTpl
>
&
data
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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