The goal is to hit the ball to push it as far as possible from any part of the table. The ball will always spawn at the same place. The robot can be moved with position or cartesian control. The trajectories should be collision free and max allowed velocity is 10 (rad/s).
The resulting distance is checked after 2 seconds after you return from push_the_ball.
BRUTE will use its config file, where the GUI is disabled.
| Code template | hro_hw1.zip |
| Maximum score | 4 |
| Deadline | 24.2.2024 23:59:59 |
Submit to BRUTE
push_the_ball function in hw1.py
push_the_ball(client) will be called by the evaluation system
client of icub_pybullet/pycub.py will be created by the evaluation system. Do not create a new instance of the client inside the function
hw1.py should be by default in icub_pybulet/HWs/hw1. You can always change the addition to path in the header of the file or add icub_pybullet to your python path and then it can be anywhere
hw1.py that must include function push_the_ball function that takes client as a parameter