Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Sep 19, 2023
1 parent 4ca2c1f commit 13227ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
19 changes: 3 additions & 16 deletions rosbot_controller/launch/controller.launch.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
#!/usr/bin/env python3

# Copyright 2020 ros2_control Development Team
# Copyright 2023 Husarion
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


from launch import LaunchDescription
from launch.actions import RegisterEventHandler, DeclareLaunchArgument
Expand All @@ -39,6 +24,8 @@ def generate_launch_description():
description=(
"Whether to use mecanum drive controller "
"(otherwise diff drive controller is used)"


),
)

Expand Down
18 changes: 3 additions & 15 deletions rosbot_controller/test/test_diff_drive_controllers.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
# Copyright 2021 Open Source Robotics Foundation, Inc.
# Copyright 2023 Intel Corporation. All Rights Reserved.
# Copyright 2023 Husarion
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


import launch_pytest
import pytest
Expand All @@ -34,6 +20,8 @@ def generate_test_description():
PathJoinSubstitution(
[
rosbot_controller,


"launch",
"controller.launch.py",
]
Expand Down

0 comments on commit 13227ce

Please sign in to comment.