-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpartB.py
More file actions
31 lines (22 loc) · 747 Bytes
/
Copy pathpartB.py
File metadata and controls
31 lines (22 loc) · 747 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
31
"""
This file runs the required components for part B
"""
import localization
robot_local = localization.Localization()
def compare_sequence_controls(noise=False):
""" compares the control sequence listed in question 2 between the
motion model and the filter
"""
robot_local.control_sequence()
def run_filter(iter):
""" compares the result from running the UKF on the odometry and measurement
data sets to dead reckoning and to the ground truth
"""
robot_local.robot_localization(iter)
def filter_results():
""" plots the filter results that were pre-ran """
robot_local.plot_results()
#robot_local.load_data()
def show_states():
""" plots states of robot """
robot_local.plot_states()