Skip to content

Commit

Permalink
use ros_diff_drive in case name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
proioxrobots committed Jul 23, 2021
1 parent d927767 commit 78e81d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main():
tree = ET.parse(sdf_file_path)
root = tree.getroot()
for plugin in root.iter('plugin'):
if 'libgazebo_ros_diff_drive.so' == plugin.get('filename'):
if 'ros_diff_drive' in plugin.get('filename'):
# The only plugin we care for now is 'diff_drive' which is
# broadcasting a transform between`odom` and `base_footprint`
break
Expand Down

0 comments on commit 78e81d0

Please sign in to comment.