Closed Duanyy0813 closed 7 months ago
If your goal is to maximize the distance the ball travels when kicked, the primary flaw in the current Kick Motion is its preparation stage, where the robot swings its kicking leg backward. This stage needs to be extended to allow for a longer swing, which can result in more powerful kicks. As you suggested, the number of keyframes plays a role in the final outcome, but it's difficult to predict how adjusting this number will impact the result.
Alternatively, there's the option of learning from scratch, as I mentioned in Issue #5 (see this answer). Please take a look.
We tried to use CMAES algorithm to optimize the robot Kick Motion behavior, but the final effect is not very ideal. We guessed that the number of keyframes was limiting the final effect of the behavior, and we tried to change it, but it didn't work very well. Does the number of keyframes have a limiting effect on the behavioral effect? If so, how can we change it to achieve better results? Here is what we have achieved so far using the CMAES algorithm.