Skip to content

Commit f53a435

Browse files
committed
added typing to the callback function
1 parent 1d1b876 commit f53a435

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, ros_type, ark_channel, ark_type):
51+
def moveit2_translator(self, ros_msg, ros_channel: str, ros_type: JointTrajectoryControllerState, ark_channel: str, ark_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)