slam-cv 0.1.3

Simple CV traits for VO (SLAM).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::feature::{Feature, Landmark};
use crate::number::Number;

use nalgebra::Isometry3;

pub trait KeyFrame {
    type Number: 'static + Number;
    type Feature: 'static + Feature<Number = Self::Number>;

    fn for_landmarks<F>(&self, f: F)
    where
        Self::Feature: 'static + Landmark,
        F: FnMut(&Self::Feature);

    fn isometry(&self) -> Isometry3<Self::Number>;
}