Closed Wanchai290 closed 3 months ago
Nah placing all strategies in a separate branch is going to be a massacre. This means every PR should be re-merged onto the strategies branch, this will double the amount of work every time we merge onto master.
About the stuttering issue, I already resolved that (forgot to remove that comment). It was because I was putting the action to execute for each robots at every loop. Which meant that when the action was considered "done", there were still a gazillion Action objects waiting to be deleted (because we had completed it).
It's difficult to put it into words, you can see for yourself what happens if you comment out the call to action_wrapper.clear_all()
and you log the size of the action wrapper at every loop run.
This will be merged onto the dev-strategies
branch
Taken from #69
Moves the selected robots on the horizontal middle line of the field, then moves them together from left to right in a straight line. Every robot is spaced based on its id (y location is
robot_id.div(2)
) and the test will wait for all robots to arrive properly to the designated location. That is, when they all properly placed to the left side, then they will go to the right side, and cetera.Useful test to identify whether robot movement is affected by mechanical problems, communication problems or something else.