Verified Commit 19ff1483 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: expose new updates

parent 051c3fd6
......@@ -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.")
;
}
......
......@@ -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.")
;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment