Skip to content

Commit

Permalink
Upgrade to Drake 1.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnimmer-tri committed Oct 16, 2024
1 parent ed06702 commit f2e8479
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
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.32.0.tar.gz", # noqa
sha256 = "8d8211a1654956891cf43f698d01a3742f3aa2237d03635cb03e6cf3e8631b38", # noqa,
strip_prefix = "drake-1.32.0",
url = "https://github.com/RobotLocomotion/drake/archive/refs/tags/v1.34.0.tar.gz", # noqa
sha256 = "0b57df077192a9480b799320c1edee3cc524d5e9b97aaa6861de09681542175f", # noqa,
strip_prefix = "drake-1.34.0",
)
6 changes: 4 additions & 2 deletions drake_ros/viz/scene_markers_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ class SceneGeometryToMarkers : public drake::geometry::ShapeReifier {
marker.scale.y = convex.scale();
marker.scale.z = convex.scale();
// Assume it is an absolute path and turn it into a file URL.
marker.mesh_resource = "file://" + convex.filename();
DRAKE_THROW_UNLESS(convex.source().is_path());
marker.mesh_resource = "file://" + convex.source().path().string();
marker.pose = RigidTransformToRosPose(X_FG_);
}

Expand All @@ -226,7 +227,8 @@ class SceneGeometryToMarkers : public drake::geometry::ShapeReifier {
marker.scale.y = mesh.scale();
marker.scale.z = mesh.scale();
// Assume it is an absolute path and turn it into a file URL.
marker.mesh_resource = "file://" + mesh.filename();
DRAKE_THROW_UNLESS(mesh.source().is_path());
marker.mesh_resource = "file://" + mesh.source().path().string();
marker.pose = RigidTransformToRosPose(X_FG_);
}

Expand Down
2 changes: 2 additions & 0 deletions ros2_example_bazel_installed/setup/prereq-rosdep-keys.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ libfreetype6-dev
libopencv-dev
liborocos-kdl-dev
libpcl-all-dev
libpcl-common
libpcl-io
libqt5-core
libqt5-gui
libqt5-opengl
Expand Down

0 comments on commit f2e8479

Please sign in to comment.