-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgroundtruth.py
More file actions
30 lines (19 loc) · 895 Bytes
/
Copy pathgroundtruth.py
File metadata and controls
30 lines (19 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class GroundTruth:
""" This is a template for a ground truth. Every ground truth must inherit and implement all of its methods and variables. """
sim_config_template = {
"seed": 0,
}
def __init__(self, sim_config: dict):
self.seed = sim_config['seed']
self.ground_truth_field = None
def step(self):
raise NotImplementedError('This method has not being implemented yet.')
def reset(self, random_gt: bool = False):
""" Reset ground Truth """
raise NotImplementedError('This method has not being implemented yet.')
def read(self, position=None):
""" Read the complete ground truth or a certain position """
raise NotImplementedError('This method has not being implemented yet.')
def update_to_time(self, t):
""" Update the environment a number of steps """
raise NotImplementedError('This method has not being implemented yet.')