Skip to content

Commit

Permalink
Remove deprecated code 2020-04-01 (RobotLocomotion#12974)
Browse files Browse the repository at this point in the history
* Remove deprecated code 2020-04-01
  • Loading branch information
jwnimmer-tri authored Apr 1, 2020
1 parent c659fe2 commit ec38a68
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bindings/pydrake/math_py.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void DoScalarDependentDefinitions(py::module m, T) {
// inside drake/math/rigid_transform.h.
const char* doc_rigid_transform_linear_matrix_deprecation =
"DO NOT USE! We offer this API for backwards compatibility with "
"Isometry3, but it will be removed on or around 2020-04-01. "
"Isometry3, but it will be removed on or around 2020-07-01. "
"See drake issue #9865 for details.";

using Class = RigidTransform<T>;
Expand Down
7 changes: 1 addition & 6 deletions bindings/pydrake/systems/pyplot_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,7 @@ def draw(self, context):
"""
raise NotImplementedError

def start_recording(self, show=None):
if show is not None:
warn("The `show` argument of this `start_recording()` method "
"actually never worked. Pass `show` to the class "
"constructor instead. This argument will be removed on or "
"after 2020-04-01.")
def start_recording(self):
self._is_recording = True

def stop_recording(self):
Expand Down
6 changes: 0 additions & 6 deletions common/proto/call_python.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,6 @@ PythonRemoteVariable ToPythonKwargs(Types... args) {
return CallPython("make_kwargs", args...);
}

template <typename T>
DRAKE_DEPRECATED("2020-04-01", "This function is now internal-use-only.")
PythonRemoteVariable NewPythonVariable(T value) {
return internal::NewPythonVariable(value);
}

#endif // DRAKE_DOXYGEN_CXX
} // namespace common
} // namespace drake
2 changes: 1 addition & 1 deletion math/rigid_transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ class RigidTransform {
// They are only provided to support backwards compatibility with Isometry3
// as we migrate Drake's codebase to use RigidTransform. New uses of
// Isometry3 are discouraged. These methods will remain intact (though
// possibly marked as deprecated) until at least 2020-04-01. N.B. Keep the
// possibly marked as deprecated) until at least 2020-07-01. N.B. Keep the
// deprecation date here in sync with the deprecation comment inside
// drake/bindings/pydrake/math_py.cc.
operator Isometry3<T>() const { return GetAsIsometry3(); }
Expand Down

0 comments on commit ec38a68

Please sign in to comment.