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
e8ec85cf
Commit
e8ec85cf
authored
Feb 09, 2016
by
Valenza Florian
Browse files
Correcting bulk after code review
parent
d2db106f
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/algorithm/operational-frames.hpp
View file @
e8ec85cf
...
...
@@ -42,7 +42,7 @@ namespace se3
);
/**
* @brief Compute Kinematics of full model, then the position of each
extra
frame
* @brief Compute Kinematics of full model, then the position of each
operational
frame
*
* @param[in] model The kinematic model
* @param data Data associated to model
...
...
src/python/algorithms.hpp
View file @
e8ec85cf
...
...
@@ -115,7 +115,7 @@ namespace se3
bool
update_geometry
)
{
Data
::
Matrix
6x
J
(
6
,
model
->
nv
);
J
.
setZero
();
Eigen
::
Matrix
Xd
J
(
6
,
model
->
nv
);
J
.
setZero
();
if
(
update_geometry
)
computeJacobians
(
*
model
,
*
data
,
q
);
...
...
src/python/frame.hpp
View file @
e8ec85cf
...
...
@@ -51,7 +51,7 @@ namespace se3
.
add_property
(
"name"
,
&
FramePythonVisitor
::
getName
,
&
FramePythonVisitor
::
setName
)
.
add_property
(
"parent_id"
,
&
FramePythonVisitor
::
getParentId
,
&
FramePythonVisitor
::
setParentId
)
.
add_property
(
"
p
lacement"
,
&
FramePythonVisitor
::
getPlacementWrtParentJoint
,
&
FramePythonVisitor
::
getPlacementWrtParentJoint
)
.
add_property
(
"
frameP
lacement"
,
&
FramePythonVisitor
::
getPlacementWrtParentJoint
,
&
FramePythonVisitor
::
getPlacementWrtParentJoint
)
;
}
...
...
@@ -59,7 +59,7 @@ namespace se3
static
std
::
string
getName
(
const
Frame
&
self
)
{
return
self
.
name
;
}
static
void
setName
(
Frame
&
self
,
const
std
::
string
&
name
)
{
self
.
name
=
name
;
}
static
Index
getParentId
(
const
Frame
&
self
)
{
return
self
.
parent_id
;
}
static
void
setParentId
(
Frame
&
self
,
Index
&
parent_id
)
{
self
.
parent_id
=
parent_id
;
}
static
void
setParentId
(
Frame
&
self
,
const
Index
parent_id
)
{
self
.
parent_id
=
parent_id
;
}
static
SE3_fx
getPlacementWrtParentJoint
(
const
Frame
&
self
)
{
return
self
.
frame_placement
;
}
static
void
setPlacementWrtParentJoint
(
Frame
&
self
,
const
SE3_fx
&
placement
)
{
self
.
frame_placement
=
placement
;
}
...
...
src/python/model.hpp
View file @
e8ec85cf
...
...
@@ -132,8 +132,8 @@ namespace se3
.
add_property
(
"fix_hasVisual"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
fix_hasVisual
,
bp
::
return_internal_reference
<>
())
)
.
add_property
(
"fix_bodyNames"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
fix_bodyNames
,
bp
::
return_internal_reference
<>
())
)
.
def
(
"getFrameParent
Joint
"
,
&
ModelPythonVisitor
::
getFrameParent
)
.
def
(
"getFrameP
ositionInPar
ent"
,
&
ModelPythonVisitor
::
getJointToFrameTransform
)
.
def
(
"getFrameParent"
,
&
ModelPythonVisitor
::
getFrameParent
)
.
def
(
"getFrameP
lacem
ent"
,
&
ModelPythonVisitor
::
getJointToFrameTransform
)
.
def
(
"addExtraFrame"
,
&
ModelPythonVisitor
::
addExtraFrame
)
.
add_property
(
"operational_frames"
,
bp
::
make_function
(
&
ModelPythonVisitor
::
extraFrames
,
bp
::
return_internal_reference
<>
())
)
...
...
Write
Preview
Supports
Markdown
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