diff --git a/matlab/GPSaidedINS.m b/matlab/GPSaidedINS.m index 655499e18a24e4861bb85a118e90acb9008de963..5bab3b68442f1f818e333237c96c1556a5cb2112 100644 --- a/matlab/GPSaidedINS.m +++ b/matlab/GPSaidedINS.m @@ -85,8 +85,8 @@ for k=2:N %% GPS sensor %% %%%%%%%%%%%%%%%%% %randomized number of visible satellites - %sv = random_satellites(sv); - sv=5; + sv = random_satellites(sv); + %sv=5; %control action P_store=[P_store,sum(sqrt(out_data.diag_P(1:3,k-1)))]; if sum(sqrt(out_data.diag_P(1:3,k-1)))<P_treshold diff --git a/matlab/gps_randomized.m b/matlab/gps_randomized.m index b2c7a516d2e7598ac2a0a6f0789c796ed0639e62..ca939e3316a17b82b33613431fe46a2de4a02dbf 100644 --- a/matlab/gps_randomized.m +++ b/matlab/gps_randomized.m @@ -31,7 +31,7 @@ required_sv= 4; ephDuration=1800.0; %bounds for time required for fetching freq and phase fp_lower=20.2; -fp_upper=500.5; +fp_upper=1.2;%500.5; %% initialize output sensor = sensor_in; diff --git a/matlab/run_many_car.m b/matlab/run_many_car.m index 854295867c43d4f26fc3a6f249d711bbc43c0244..1c0b64a21cb746be761306488085ff81d747ada5 100644 --- a/matlab/run_many_car.m +++ b/matlab/run_many_car.m @@ -40,7 +40,7 @@ figure hold on xlabel('energy') ylabel('error') -title('cycling energy accuracy tracking trade-off') +title('car energy accuracy tracking trade-off') grid for j=1:length(P_treshold) diff --git a/paper/data/tmp/tradeoff_cycling.mat b/paper/data/tmp/tradeoff_cycling.mat new file mode 100644 index 0000000000000000000000000000000000000000..44ed17c11a2077219c55cc245b33cc44d29c9697 Binary files /dev/null and b/paper/data/tmp/tradeoff_cycling.mat differ