parameters: (self, gx, gy)
return_statement: return subgrid_y + TERRAIN_GRID_BLOCK_MUL_Y*subgrid_x
docstring: get bit number for a grid index
docstring_summary: get bit number for a grid index
docstring_tokens: get bit number for a grid index
function: def bitnum(self, gx, gy):
          '''get bit number for a grid index'''
          subgrid_x = gx // TERRAIN_GRID_MAVLINK_SIZE
          subgrid_y = gy // TERRAIN_GRID_MAVLINK_SIZE
          return subgrid_y + TERRAIN_GRID_BLOCK_MUL_Y*subgrid_x
function_tokens: def bitnum ( self , gx , gy ) : subgrid_x = gx // TERRAIN_GRID_MAVLINK_SIZE subgrid_y = gy // TERRAIN_GRID_MAVLINK_SIZE return subgrid_y + TERRAIN_GRID_BLOCK_MUL_Y * subgrid_x