Skip to content
Snippets Groups Projects
Commit b438aae2 authored by Shengkang (William) Chen's avatar Shengkang (William) Chen
Browse files

minor changes in analyzer

parent 27eda640
Branches
No related merge requests found
No preview for this file type
......@@ -49,27 +49,27 @@ class Analyzer():
fig1.set_xlabel('Time[s]')
fig1.set_ylabel('RMS[m]')
#fig1.set_ylim(0, 6)
fig1.legend(loc='center left', bbox_to_anchor=(1, 0.5))
#fig1.legend(loc='center left', bbox_to_anchor=(1, 0.5))
fig2.set_title('Trace of state covariance')
fig2.set_xlabel('Time [s]')
fig2.set_ylabel('Sigma_s [m^2]')
#fig2.set_ylim(0, 0.08)
fig2.legend(loc='center left', bbox_to_anchor=(1, 0.5))
#ig2.legend(loc='center left', bbox_to_anchor=(1, 0.5))
fig3.set_title('Observation distrubution [operation/sec]')
fig3.set_title('Observation distrubution [# operations/sec]')
fig3.set_xlabel('Time[s]')
fig3.set_ylabel('Num of obser')
#fig1.set_ylim(0, 6)
fig3.legend(loc='center left', bbox_to_anchor=(1, 0.5))
fig3.legend(loc='best')
#fig3.tick_params(labelsize=14)
fig3.set_title('communication distrubution [operation/sec]')
fig3.set_xlabel('Time[s]')
fig3.set_ylabel('Num of obser')
fig4.set_title('communication distrubution [# operations/sec]')
fig4.set_xlabel('Time[s]')
fig4.set_ylabel('Num of obser')
#fig1.set_ylim(0, 6)
fig3.legend(loc='center left', bbox_to_anchor=(1, 0.5))
fig4.legend(loc='best')
fig.subplots_adjust(hspace = 1.2)
plt.show()
......
......@@ -22,7 +22,7 @@ from ekf_gs_ci2 import EKF_GS_CI2
from gs_ci_bound import GS_CI_Bound
# dataset_path = "/Users/shengkangchen/Documents/CoLo/CoLo-D/CoLo-Datasets/official_dataset3/"
dataset_path = "/home/william/CoLo/CoLo-D/CoLo-Datasets/official_dataset3/" # for desktop Ubuntu
dataset_path = "/home/william/CoLo/CoLo-D/CoLo-Datasets/official_dataset1/" # for desktop Ubuntu
robot_labels = [1,2,3]
duration = 180 # duration for the simulation in sec
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment