From 3dc1f8e93e779d7033318c2931a6edd36d328f38 Mon Sep 17 00:00:00 2001 From: Vanessa Hassouna Date: Mon, 19 Aug 2024 11:45:09 +0200 Subject: [PATCH] [tmc external] fixed imports --- src/pycram/external_interfaces/tmc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pycram/external_interfaces/tmc.py b/src/pycram/external_interfaces/tmc.py index c15b25541..e0fa584e6 100644 --- a/src/pycram/external_interfaces/tmc.py +++ b/src/pycram/external_interfaces/tmc.py @@ -1,4 +1,5 @@ import rospy +from .designators.motion_designator import MoveGripperMotion, TalkingMotion is_init = False @@ -39,7 +40,7 @@ def tmc_gripper_control(designator: MoveGripperMotion, topic_name: Optional[str] pub_gripper.publish(msg) -def tmc_talk(designator: TalkMotion, topic_name: Optional[str] = '/talk_request'): +def tmc_talk(designator: TalkingMotion, topic_name: Optional[str] = '/talk_request'): """ Publishes a sentence to the talk_request topic of the HSRB robot