pub fn new(id: usize, x: f64, y: f64, phi: f64, fixed_type: FixedType) -> Self {
        VehicleVariable2D {
            id,
            pose: Rc::new(RefCell::new([x, y, phi])),
            fixed_type,
        }
    }
/// Returns a new variable from a 2D pose, a given ID and whether the variable is fixed.
Returns a new variable from a 2D pose, a given ID and whether the variable is fixed.
Returns a new variable from a 2D pose a given ID and whether the variable is fixed .
pub fn new(id: usize, x: f64, y: f64, phi: f64, fixed_type: FixedType) -> Self {
        VehicleVariable2D {
            id,
            pose: Rc::new(RefCell::new([x, y, phi])),
            fixed_type,
        }
    }
pub fn new ( id : usize , x : f64 , y : f64 , phi : f64 , fixed_type : FixedType ) -> Self { VehicleVariable2D { id , pose : Rc :: new ( RefCell :: new ( [ x , y , phi ] ) ) , fixed_type , } }
Returns a new variable from a 2D pose, a given ID and whether the variable is fixed.
Returns a new variable from a 2D pose a given ID and whether the variable is fixed .
id
usize
x
f64
y
f64
phi
f64
fixed_type
FixedType