Skip to content

Commit 0c4a4ee

Browse files
authored
Merge pull request #70 from JLJu/master
Added Image to Scilab Scripts
2 parents 5e9e817 + ce72c23 commit 0c4a4ee

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

Software/Script/Scilab/ADCAsgard/CSVLoader.sce

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ ymin=min(GPS(:,lon))
212212
zmin=0
213213
xmax=max(GPS(:,lat))
214214
ymax=min(GPS(:,lon))
215-
zmax=30
215+
zmax=25
216216
azz.data_bounds=[xmin,ymin,zmin; xmax,ymax,zmax];
217217
//Get the total air data log time in seconds
218218
//fsample is the calcualted real sample rate
@@ -223,7 +223,12 @@ timereal=min([r/fsample r1])
223223
//PIPPO2GPS 25 offset
224224
[r1 c1]=size(GPS);
225225
for mm=1:timereal
226-
GPS(mm,c1+1)=Q(floor(50*0+ mm*fsample),IASmcol)
226+
GPS(mm,c1+1)=Q(floor(50*0+ mm*fsample),TASmcol)
227227
end
228-
scatter3(GPS(:,lat),GPS(:,lon),GPS(:,c1+1),"blue","x")
228+
scatter3(GPS(:,lat),GPS(:,lon),GPS(:,c1+1),"blue","x") //TAS Airspeed at the sampled instants
229+
xlabel('Latitude')
230+
ylabel('Longitude')
231+
zlabel('Airspeed m/s')
232+
xtitle('GPS Speed vs Pitot Speed')
233+
legend(['GPS Ground Speed[m/s]';'True Airspeed [m/s]']);
229234

27.9 KB
Loading

0 commit comments

Comments
 (0)