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 | hw1.zip |
Maximum score | 5 |
Deadline | 7.3.2024 23:59:59 |
hw1.yaml
to your icub_pybullet/configs
directory
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/folder/another_folder
. 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