Skip to content

Commit

Permalink
fix: offsets in add_wheel_module()
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoardoRomiti committed May 6, 2024
1 parent ed02a98 commit 9c743e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modular/URDF_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ def add_simple_ee(self, x_offset=0.0, y_offset=0.0, z_offset=0.0, angle_offset=0
return data


def add_wheel_module(self, wheel_filename, steering_filename, offsets, reverse=False, robot_id=(0,0)):
def add_wheel_module(self, wheel_filename, steering_filename, offsets={}, reverse=False, robot_id=(0,0)):
steering_data = self.add_module(steering_filename, offsets, reverse, robot_id=robot_id[0])
wheel_data = self.add_module(wheel_filename, offsets, reverse, robot_id=robot_id[1])

Expand Down

0 comments on commit 9c743e6

Please sign in to comment.