Skip to content

Commit 1c0cc0b

Browse files
committed
[jsk_tools/audible_warning] Fixed typo language to arg2
1 parent c8ec9b8 commit 1c0cc0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsk_tools/src/audible_warning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def run(self):
9797
goal.sound_request.sound = SoundRequest.SAY
9898
goal.sound_request.command = SoundRequest.PLAY_ONCE
9999
goal.sound_request.arg = sentence
100-
goal.sound_request.language = self.language
100+
goal.sound_request.arg2 = self.language
101101
goal.sound_request.volume = self.volume
102102

103103
self.previous_spoken_time[e.name] = rospy.Time.now().to_sec()

0 commit comments

Comments
 (0)