Skip to content

Commit 4798fda

Browse files
committed
Merge remote-tracking branch 'origin/main' into ahcorde/rgba_camera_sensor
2 parents cd08b79 + 9e975d9 commit 4798fda

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

drake_ros/drake.bzl

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
DRAKE_SUGGESTED_VERSION = struct(
2-
url = "https://github.com/RobotLocomotion/drake/archive/refs/tags/v1.24.0.tar.gz", # noqa
3-
sha256 = "35874238af2c0305525a6f32c28692e3fdbed0581055b0b491669f7534cf6cae", # noqa,
4-
strip_prefix = "drake-1.24.0",
2+
url = "https://github.com/RobotLocomotion/drake/archive/refs/tags/v1.25.0.tar.gz", # noqa
3+
sha256 = "ebebd812c4f3644cf2fefbbf72835060cbd26e8896a0959ad0fcd2f3428a0547", # noqa,
4+
strip_prefix = "drake-1.25.0",
55
)

drake_ros_examples/examples/multirobot/multirobot.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,11 @@ def main():
9595
for y in range(NUM_COLS):
9696
# Load the model from the file and give it a name based on its X
9797
# and Y coordinates in the array
98-
models[x].append(parser.AddModelFromFile(
99-
model_file_path,
100-
model_name + str(x) + '_' + str(y)))
98+
(iiwa,) = parser.AddModels(model_file_path)
99+
models[x].append(iiwa)
100+
plant.RenameModelInstance(model_instance=iiwa,
101+
name=model_name + str(x) + '_' + str(y))
102+
101103

102104
# Weld the robot to world so it doesn't fall through floor
103105
base_frame = plant.GetFrameByName("base", models[x][y])

0 commit comments

Comments
 (0)