Thank you @hskramer. My scripts performed the square well, i only noticed that the turn was not exactly 90 degrees. I think the grader has an issue as it fails this one and the python exam get_highest_lowest.
user:~/catkin_ws/src/linux_exam$ ./task2.sh
./task2.sh: line 4: ARGUM1: command not found
./task2.sh: line 5: ARGUM2: command not found
./task2.sh: line 6: ARGUM3: command not found
small square movement
[INFO] [1626632283.037105, 83.902000]: Cmd Published
[INFO] [1626632286.038952, 86.690000]: Cmd Published
[INFO] [1626632294.047519, 94.186000]: Cmd Published
[INFO] [1626632297.049709, 97.019000]: Cmd Published
[INFO] [1626632305.061529, 104.497000]: Cmd Published
[INFO] [1626632305.061529, 104.497000]: Cmd Published
[INFO] [1626632308.068142, 107.326000]: Cmd Published
[INFO] [1626632316.077336, 114.779000]: Cmd Published
[INFO] [1626632319.081509, 117.647000]: Cmd Published
[INFO] [1626632327.090185, 125.191000]: shutdown time! Stop the robot
[INFO] [1626632327.091071, 125.192000]: Cmd Published
[INFO] [1626632327.091481, 125.192000]: ######## Finished Moving in a Square
[INFO] [1626632327.092525, 125.193000]: shutdown time! Stop the robot
[INFO] [1626632327.093197, 125.193000]: Cmd Published
medium square movement
[INFO] [1626632328.420597, 126.457000]: Cmd Published
[INFO] [1626632334.427126, 132.165000]: Cmd Published
[INFO] [1626632342.435897, 139.719000]: Cmd Published
[INFO] [1626632348.441468, 145.264000]: Cmd Published
[INFO] [1626632356.449786, 152.378000]: Cmd Published
[INFO] [1626632362.453462, 158.051000]: Cmd Published
[INFO] [1626632370.462114, 165.546000]: Cmd Published
[INFO] [1626632376.468487, 171.280000]: Cmd Published
[INFO] [1626632384.477323, 179.006000]: shutdown time! Stop the robot
[INFO] [1626632384.478129, 179.007000]: Cmd Published
[INFO] [1626632384.479776, 179.008000]: ######## Finished Moving in a Square
[INFO] [1626632384.480652, 179.009000]: shutdown time! Stop the robot
[INFO] [1626632384.481054, 179.009000]: Cmd Published
big square movement
[INFO] [1626632385.821501, 180.264000]: Cmd Published
[INFO] [1626632397.834714, 191.844000]: Cmd Published
[INFO] [1626632405.841583, 199.580000]: Cmd Published
[INFO] [1626632417.854378, 211.097000]: Cmd Published
[INFO] [1626632425.863010, 218.787000]: Cmd Published
[INFO] [1626632437.876047, 230.217000]: Cmd Published
[INFO] [1626632445.884627, 238.022000]: Cmd Published
[INFO] [1626632457.897633, 249.757000]: Cmd Published
[INFO] [1626632465.906051, 257.588000]: shutdown time! Stop the robot
[INFO] [1626632465.906632, 257.588000]: Cmd Published
[INFO] [1626632465.907379, 257.588000]: ######## Finished Moving in a Square
[INFO] [1626632465.908322, 257.588000]: shutdown time! Stop the robot
[INFO] [1626632465.908768, 257.588000]: Cmd Published
user:~/catkin_ws/src/linux_exam$