Car_Sim.py 489 Bytes
Newer Older
navidmokh's avatar
navidmokh committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from Car_Dynamic_Single import *


def TC_Simulate(Modes,initialCondition,time_bound):
	# For this model, we are giving relative values such as 
	# sx,sy,vx,vy
	# There will be a single model but we consider that y is a car that always move
	# with y = 1


	Current_Initial = initialCondition
	trace = Car_simulate(Modes,Current_Initial,time_bound)
	return trace



def main():
	t = TC_Simulate("TurnLeft", [0,15,0,0], 10)
	for line in t:
li213's avatar
li213 committed
20
		print(line)
navidmokh's avatar
navidmokh committed
21
22
23
if __name__ == "__main__":
	main()