Beispiel #1
0
# -*- coding: utf-8 -*-
"""
Created on Mon Nov 03 23:08:08 2014
@author: christianhamelain
"""
<<<<<<< HEAD

from incendie import fireball 
=======
from carte import Map
>>>>>>> a55a6129b979f8cddd034504f429b6e72b05f294


size = (200, 300)

robomoviesForest = Map(size)


robomoviesForest.popCircle((20, 9), 3, -2)

robomoviesForest.popCircle((175, 9), 3, -2)

robomoviesForest.popCircle((185, 9), 3, -2)

robomoviesForest.popCircle((10, 85), 3, -2)

robomoviesForest.popCircle((20, 85), 3, -2)

robomoviesForest.popCircle((135, 87), 4, -2)

robomoviesForest.popCircle((177, 110), 3, -2)
# -*- coding: utf-8 -*-
"""
Created on Fri Apr 17 22:46:04 2015

@author: Fabien
"""
from carte import Map

size = (201, 301)

robomoviesForest = Map(size)

robomoviesForest.loadTextFile(
    '/home/pi/RobotsSUMO2017/RobotCoupe/mapZoneDepartElargie.txt')
# -*- coding: utf-8 -*-
"""
Created on Fri Apr 17 22:46:04 2015

@author: Fabien
"""
from carte import Map

size = (201, 301)

robomoviesForest = Map(size)

robomoviesForest.loadTextFile('/home/pi/RobotsSUMO2017/RobotCoupe/mapZoneDepartElargie.txt')
# -*- coding: utf-8 -*-
"""
Created on Mon Nov 03 23:08:08 2014
@author: christianhamelain
"""
from carte import Map


size = (41, 61)

robomoviesForest = Map(size)




robomoviesForest.enclose(0)


# départ 1

robomoviesForest.popRectangle((16,0),(16,8),0)

robomoviesForest.popRectangle((24,0),(24,8),0)

robomoviesForest.popRectangle((16,0),(24,1),0)

# popcorn

robomoviesForest.popRectangle((0,5),(2,7),0)

robomoviesForest.popRectangle((0,11),(2,13),0)
Beispiel #5
0
# -*- coding: utf-8 -*-
"""
Created on Mon Nov 03 23:08:08 2014
@author: christianhamelain
"""
from carte import Map


size = (41, 61)

robomoviesForest = Map(size)




robomoviesForest.enclose(0)


# départ 1

robomoviesForest.popRectangle((16,0),(16,8),0)

robomoviesForest.popRectangle((24,0),(24,8),0)

robomoviesForest.popRectangle((16,0),(24,1),0)

# popcorn

robomoviesForest.popRectangle((0,5),(2,7),0)

robomoviesForest.popRectangle((0,11),(2,13),0)
Beispiel #6
0
#robomoviesForest.popRectangle((38,24),(40,36),0)
#
## départ 2
#
#robomoviesForest.popRectangle((16,52),(16,60),0)
#
#robomoviesForest.popRectangle((24,52),(24,60),0)
#
#robomoviesForest.popRectangle((16,59),(24,60),0)
#
#
#robomoviesForest.enlargeYourPenis(3, -1)

size = (201, 301)

robomoviesForest = Map(size)




robomoviesForest.enclose(0)


# départ 1

robomoviesForest.popRectangle((80,0),(80,40),0)

robomoviesForest.popRectangle((120,0),(120,40),0)

robomoviesForest.popRectangle((80,0),(120,5),0)
# -*- coding: utf-8 -*-
"""
Created on Mon Apr 11 23:11:08 2016
@author: christianhamelain
"""
from carte import Map


size = (200, 300)

beachbotsForest = Map(size)




beachbotsForest.enclose(0)

# coins circulaires

beachbotsForest.popCircle((200,0),25,0)

beachbotsForest.popCircle((200,300),25,0)

# batons au sol

beachbotsForest.popRectangle((0,80),(20,83),0)

beachbotsForest.popRectangle((0,217),(20,220),0)

# plage