Skip to content

Commit

Permalink
mil_poi: Rename TxPOIClient to AsyncPOIClient
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniParr committed Aug 31, 2024
1 parent 0a5df90 commit cba6b58
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from mil_msgs.srv import ObjectDBQuery, ObjectDBQueryRequest
from mil_passive_sonar import TxHydrophonesClient
from mil_pneumatic_actuator.srv import SetValve, SetValveRequest
from mil_poi import TxPOIClient
from mil_poi import AsyncPOIClient
from nav_msgs.msg import Odometry
from navigator_path_planner.msg import MoveAction, MoveGoal
from navigator_tools import MissingPerceptionObject
Expand Down Expand Up @@ -192,7 +192,7 @@ def enu_odom_set(odom):

cls.hydrophones = TxHydrophonesClient(cls.nh)

cls.poi = TxPOIClient(cls.nh)
cls.poi = AsyncPOIClient(cls.nh)
await cls.poi.setup()

cls._grinch_lower_time = await cls.nh.get_param("~grinch_lower_time")
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/poi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ POIServer
.. autoclass:: mil_poi.POIServer
:members:

TxPOIClient
AsyncPOIClient
^^^^^^^^^^^
.. attributetable:: mil_poi.TxPOIClient
.. attributetable:: mil_poi.AsyncPOIClient

.. autoclass:: mil_poi.TxPOIClient
.. autoclass:: mil_poi.AsyncPOIClient
:members:
2 changes: 1 addition & 1 deletion mil_common/utils/mil_poi/mil_poi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
Markers panel needs to be set to this topic.
"""

from .async_interface import AsyncPOIClient
from .server import POIServer
from .tx_interface import TxPOIClient
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from mil_poi.msg import POIArray


class TxPOIClient:
class AsyncPOIClient:
"""
Client for getting the positions of POIs in a POI server.
"""
Expand Down

0 comments on commit cba6b58

Please sign in to comment.