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
19ff1483
Verified
Commit
19ff1483
authored
Apr 15, 2021
by
Justin Carpentier
Browse files
python: expose new updates
parent
051c3fd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/pool/geometry.hpp
View file @
19ff1483
...
...
@@ -60,7 +60,10 @@ namespace pinocchio
bp
::
args
(
"self"
,
"geometry_model"
),
"Update the geometry model, meaning that all the datas will be refreshed accordingly."
)
.
def
(
"update"
,(
void
(
GeometryPool
::*
)(
const
GeometryData
&
))
&
GeometryPool
::
update
,
bp
::
args
(
"self"
,
"data"
),
"Update all the geometry datas with the input geometry data value."
)
bp
::
args
(
"self"
,
"geometry_data"
),
"Update all the geometry datas with the input geometry data value."
)
.
def
(
"update"
,(
void
(
GeometryPool
::*
)(
const
GeometryModel
&
,
const
GeometryData
&
))
&
GeometryPool
::
update
,
bp
::
args
(
"self"
,
"geometry_model"
,
"geometry_data"
),
"Update the geometry model and data together."
)
;
}
...
...
bindings/python/multibody/pool/model.hpp
View file @
19ff1483
...
...
@@ -64,6 +64,8 @@ namespace pinocchio
"Update the model, meaning that all the datas will be refreshed accordingly."
)
.
def
(
"update"
,(
void
(
ModelPool
::*
)(
const
Data
&
))
&
ModelPool
::
update
,
bp
::
args
(
"self"
,
"data"
),
"Update all the datas with the input data value."
)
.
def
(
"update"
,(
void
(
ModelPool
::*
)(
const
Model
&
,
const
Data
&
))
&
ModelPool
::
update
,
bp
::
args
(
"self"
,
"model"
,
"data"
),
"Update the model and data together."
)
;
}
...
...
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