diff --git a/src/rai/rai/tools/ros/nav2/__init__.py b/src/rai/rai/tools/ros/nav2/__init__.py index e69de29bb..ef74fc891 100644 --- a/src/rai/rai/tools/ros/nav2/__init__.py +++ b/src/rai/rai/tools/ros/nav2/__init__.py @@ -0,0 +1,13 @@ +# Copyright (C) 2024 Robotec.AI +# +# 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. diff --git a/src/rai/rai/tools/ros/nav2/basic_navigator.py b/src/rai/rai/tools/ros/nav2/basic_navigator.py index 516bcf7b3..f1e292167 100644 --- a/src/rai/rai/tools/ros/nav2/basic_navigator.py +++ b/src/rai/rai/tools/ros/nav2/basic_navigator.py @@ -1,3 +1,17 @@ +# Copyright (C) 2024 Robotec.AI +# +# 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 geometry_msgs.msg import Point from langchain.tools import tool diff --git a/src/rai_hmi/rai_hmi/base.py b/src/rai_hmi/rai_hmi/base.py index fbe33e581..2aae75503 100644 --- a/src/rai_hmi/rai_hmi/base.py +++ b/src/rai_hmi/rai_hmi/base.py @@ -245,16 +245,14 @@ def task_goal_response_callback(self, future, uid: UUID4): self.task_running[uid] = False self.task_feedbacks.put( MissionAcceptanceMessage( - uid=uid, content=f"Task rejected by action server." + uid=uid, content="Task rejected by action server." ) ) return self.task_running[uid] = True self.task_feedbacks.put( - MissionAcceptanceMessage( - uid=uid, content=f"Task accepted by action server." - ) + MissionAcceptanceMessage(uid=uid, content="Task accepted by action server.") ) self.get_logger().info("Task goal accepted by action server.") self._get_result_future = goal_handle.get_result_async()