Skip to content

Commit

Permalink
Removed abstracted RobotAdapter, to be added only after Nav1RobotAdap…
Browse files Browse the repository at this point in the history
…ter is implemented

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Dec 6, 2024
1 parent 2a17701 commit 02cf5d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 104 deletions.
1 change: 0 additions & 1 deletion free_fleet_adapter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ament_python_install_package(${PROJECT_NAME})

install(PROGRAMS
${PROJECT_NAME}/fleet_adapter.py
${PROJECT_NAME}/robot_adapter.py
${PROJECT_NAME}/nav2_robot_adapter.py
DESTINATION lib/${PROJECT_NAME}
)
Expand Down
8 changes: 5 additions & 3 deletions free_fleet_adapter/free_fleet_adapter/nav2_robot_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
make_cancel_all_goals_request,
namespacify,
)
from free_fleet_adapter.robot_adapter import RobotAdapter

from geometry_msgs.msg import TransformStamped
import numpy as np
Expand Down Expand Up @@ -96,7 +95,7 @@ def get_transform(self) -> TransformStamped | None:
return None


class Nav2RobotAdapter(RobotAdapter):
class Nav2RobotAdapter:

def __init__(
self,
Expand All @@ -108,7 +107,10 @@ def __init__(
fleet_handle,
tf_buffer
):
RobotAdapter.__init__(self, name, node, fleet_handle)
self.name = name
self.node = node
self.fleet_handle = fleet_handle
self.update_handle = None

self.execution = None
self.configuration = configuration
Expand Down
100 changes: 0 additions & 100 deletions free_fleet_adapter/free_fleet_adapter/robot_adapter.py

This file was deleted.

0 comments on commit 02cf5d3

Please sign in to comment.