File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
include/sot/dynamic-pinocchio Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -182,10 +182,6 @@ class SOTDYNAMIC_EXPORT DynamicPinocchio : public dg::Entity {
182182
183183 void createData ();
184184
185- // / \deprecated this function does nothing. This class has its own
186- // / pinocchio::Data object, which can be access with \ref getData.
187- void setData (pinocchio::Data*) SOT_DYNAMIC_PINOCCHIO_DEPRECATED;
188-
189185 pinocchio::Model* getModel () { return m_model; };
190186
191187 pinocchio::Data* getData () { return m_data.get (); };
Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ BOOST_PYTHON_MODULE(wrap) {
2020 bp::make_function (&dgs::DynamicPinocchio::setModel))
2121 .add_property (" data" ,
2222 bp::make_function (&dgs::DynamicPinocchio::getData,
23- reference_existing_object ()),
24- bp::make_function (&dgs::DynamicPinocchio::setData))
23+ reference_existing_object ()))
2524 .def (" setModel" , &dgs::DynamicPinocchio::setModel)
26- .def (" createData" , &dgs::DynamicPinocchio::createData)
27- .def (" setData" , &dgs::DynamicPinocchio::setData);
25+ .def (" createData" , &dgs::DynamicPinocchio::createData);
2826}
Original file line number Diff line number Diff line change @@ -308,8 +308,6 @@ void DynamicPinocchio::setModel(pinocchio::Model* modelPtr) {
308308 createData ();
309309}
310310
311- void DynamicPinocchio::setData (pinocchio::Data*) {}
312-
313311void DynamicPinocchio::createData () {
314312 m_data.reset (new pinocchio::Data (*m_model));
315313}
You can’t perform that action at this time.
0 commit comments