src/robocup/translations.js
// translate from cell to pixels, so that the robot is centered within a cell
translate from cell to pixels, so that the robot is centered within a cell
translate from cell to pixels so that the robot is centered within a cell
function cellToPixelWithCenteredRobot(pos) {
  const pixel = cellToPixel(pos)
  return {
    x: pixel.x + constants.cell.width/2,
    y: pixel.y + constants.cell.height/2,
  };
}
function cellToPixelWithCenteredRobot ( pos ) { const pixel = cellToPixel ( pos ) return { x : pixel . x + constants . cell . width / 2 , y : pixel . y + constants . cell . height / 2 , } ; }
translate from cell to pixels, so that the robot is centered within a cell
translate from cell to pixels so that the robot is centered within a cell