Skip to content

Commit ac696f9

Browse files
authored
Update moveit2_translator function type hints
1 parent f53a435 commit ac696f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ark/tools/moveit2/moveit2_bridge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
# Init parent with the final mapping
4949
super().__init__(mapping_table=moveit2_mapping_table, global_config=global_config)
5050

51-
def moveit2_translator(self, ros_msg, ros_channel: str, ros_type: JointTrajectoryControllerState, ark_channel: str, ark_type: joint_group_command_t):
51+
def moveit2_translator(self, ros_msg: JointTrajectoryControllerState, ros_channel: str, ros_type: type[JointTrajectoryControllerState], ark_channel: str, ark_type: type[joint_group_command_t]):
5252
"""Convert joint state positions into Ark command."""
5353
msg = joint_group_command_t()
5454
msg.name = "arm"

0 commit comments

Comments
 (0)