Skip to content

Commit

Permalink
py manipulation_station: Hotfix for deprecated SetupDefaultStation
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Jun 11, 2019
1 parent ae1632f commit 97dc491
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bindings/pydrake/examples/manipulation_station_py.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ PYBIND11_MODULE(manipulation_station, m) {
py::arg("collision_model") = IiwaCollisionModel::kNoCollision,
doc.ManipulationStation.SetupManipulationClassStation.doc)
.def("SetupDefaultStation",
[](ManipulationStation<T>* self,
IiwaCollisionModel collision_model =
IiwaCollisionModel::kNoCollision) {
[](ManipulationStation<T>* self, IiwaCollisionModel collision_model) {
WarnDeprecated(
"SetupDefaultStation is deprecated and will be removed on or"
"around 2019-09-01. Please use SetupManipulationClassStation "
"instead.");
self->SetupManipulationClassStation(collision_model);
})
},
py::arg("collision_model") = IiwaCollisionModel::kNoCollision,
doc.ManipulationStation.SetupDefaultStation.doc_deprecated)
.def("SetupClutterClearingStation",
&ManipulationStation<T>::SetupClutterClearingStation,
py::arg("X_WCameraBody") = nullopt,
Expand Down

0 comments on commit 97dc491

Please sign in to comment.