From b67d2ae5f7c44a2ef75907cf1834b7e9a8988777 Mon Sep 17 00:00:00 2001 From: Viorela Ila Date: Tue, 3 Nov 2009 16:18:01 +0000 Subject: [PATCH] create a temporal order --- matlab/create_good_ordering.m~ | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 matlab/create_good_ordering.m~ diff --git a/matlab/create_good_ordering.m~ b/matlab/create_good_ordering.m~ new file mode 100644 index 000000000..0dd4c020a --- /dev/null +++ b/matlab/create_good_ordering.m~ @@ -0,0 +1,16 @@ +% Christian Potthast +% create an elimination ordering + +function ord = create_good_ordering(n,m,measurements) + +ord = Ordering(); +landmark=1; +for pose=1:m + landmar + ord.push_back(sprintf('x%d',i)); + while (measurements{landmark}.i==pose) + ord.push_back(sprintf('m%d',j)); + landmark=landmark+1; + end + pose=pose+1; +end \ No newline at end of file