Added matlab support.

Modified some c and cpp code to help.
This commit is contained in:
Simon D. Levy
2014-09-15 18:27:38 -04:00
parent e3f41e3599
commit d25f5372f7
16 changed files with 1265 additions and 310 deletions

19
matlab/Randomizer.m Normal file
View File

@@ -0,0 +1,19 @@
classdef Randomizer
%Randomizer Internal class for random-number generation
% Matlab has its own random-number generators, but this class
% provides consistency with our Python and C++ SLAM implementations.
properties (Access = 'private')
c_randomizer
end
methods
function r = Randomizer(seed)
r.c_randomizer = mex_coreslam('Randomizer_init', seed);
end
end
end