Functions | Variables

simout.m File Reference

Functions

id values ()
'Real robot positiontitle ()
 legend ('x[m]', 'y[m]', '\phi[rad]')
 xlabel ('Time[s]') subplot(3
 plot (laser(:, 1), laser(:, 2), '+') grid title('Laser reflections')
 legend ('\theta[rad]')
 plot (odo(:, 1), odo(:,[2, 3, 4]), '-') grid title('Data from odometry')
 legend ('dx[m]', 'dy[m]', 'd\phi[rad]')

Variables

Generate text files with
simulation outputs 
rp = [simout_real_pos.time, simout_real_pos.signals.values]
 changed = 1+find(diff(simout_laser.signals.values))
 laser = x(changed,:)

Function Documentation

legend ( 'x [m],
'y'  [m],
'\phi [rad] 
)
legend ( 'dx'  [m],
'dy'  [m],
'd\phi [rad] 
)
legend ( '\theta [rad]  ) 
plot ( laser(:, 1)  ,
laser(:, 2)  ,
'+'   
)
plot ( odo(:, 1)  ,
odo(:,[2, 3, 4])  ,
'-'   
)
'Real robot position' title (  )  [virtual]
id values (  )  [virtual]
xlabel ( 'Time '  [s]  ) 

Variable Documentation

changed = 1+find(diff(simout_laser.signals.values))
laser = x(changed,:)
Generate text files with simulation outputs rp = [simout_real_pos.time, simout_real_pos.signals.values]