Skip to content

Commit

Permalink
test修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuwamai committed Oct 24, 2023
1 parent 4229c3b commit 514feb6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_robot_description_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def test_change_description_path():


def test_use_gazebo():
# use_gazeboが変更され、xacroにgazeboタグがセットされることを期待
# use_gazeboが変更され、xacroにign_ros2_controlがセットされることを期待
rdl = RobotDescriptionLoader()
rdl.use_gazebo = 'true'
assert '<gazebo' in exec_load(rdl)
rdl.gz_control_config_package = 'sciurus17_description'
rdl.gz_control_config_file_path = 'config/dummy_controllers.yaml'
assert 'ign_ros2_control/IgnitionSystem' in exec_load(rdl)

0 comments on commit 514feb6

Please sign in to comment.