Patent ID: 10828784

Abstract:
A method and apparatus for controlling dancing of a service robot are provided. The method comprises: providing corresponding part controlling commands for preset actions of individual parts of the service robot, and providing a dance controlling strategy indicating times for sending a command and a command sending interval of the part controlling commands; when receiving a dance starting command, establishing a wireless connection with an external speaker located outside the service robot, loading a song from a song library of the service robot, and determining that the song currently loaded by the service robot is the song to be played by the external speaker; according to the loaded song, selecting a dance controlling strategy used by the service robot, and determining a command sending timing of the part controlling command of the dance controlling strategy; and when the external speaker is playing the song and the command sending timing of the dance controlling strategy arrives, sending a randomly selected part controlling command to the corresponding part of the service robot till the times for sending a command of the dance controlling strategy is reached, and controlling the service robot to dance to the song.