Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to drake 1.26 #334

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions drake_ros/drake.bzl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DRAKE_SUGGESTED_VERSION = struct(
url = "https://github.com/RobotLocomotion/drake/archive/refs/tags/v1.25.0.tar.gz", # noqa
sha256 = "ebebd812c4f3644cf2fefbbf72835060cbd26e8896a0959ad0fcd2f3428a0547", # noqa,
strip_prefix = "drake-1.25.0",
url = "https://github.com/RobotLocomotion/drake/archive/refs/tags/v1.26.0.tar.gz", # noqa
sha256 = "f10b50b695ea29430cc291d1019b4cc1aceedcebec3290110b24b7e48c5f5588", # noqa,
strip_prefix = "drake-1.26.0",
)
2 changes: 2 additions & 0 deletions drake_ros/drake_ros/core/cc_pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class PySerializerInterface : public py::wrapper<SerializerInterface> {

rclcpp::SerializedMessage Serialize(
const drake::AbstractValue& abstract_value) const override {
py::gil_scoped_acquire guard;
auto overload = [&]() -> py::bytes {
PYBIND11_OVERLOAD_PURE(py::bytes, SerializerInterface, Serialize,
&abstract_value);
Expand All @@ -72,6 +73,7 @@ class PySerializerInterface : public py::wrapper<SerializerInterface> {

void Deserialize(const rclcpp::SerializedMessage& serialized_message,
drake::AbstractValue* abstract_value) const override {
py::gil_scoped_acquire guard;
const rcl_serialized_message_t& rcl_serialized_message =
serialized_message.get_rcl_serialized_message();
py::bytes serialized_message_bytes(
Expand Down
Loading