graphslam.load module

Functions for loading graphs.

graphslam.load.load_g2o(infile)[source]

Load a graph from a .g2o file.

Parameters:

infile (str) – The path to the .g2o file

Returns:

The loaded graph

Return type:

Graph

graphslam.load.load_g2o_r2(infile)[source]

Load an \(\mathbb{R}^2\) graph from a .g2o file.

Parameters:

infile (str) – The path to the .g2o file

Returns:

The loaded graph

Return type:

Graph

graphslam.load.load_g2o_r3(infile)[source]

Load an \(\mathbb{R}^3\) graph from a .g2o file.

Parameters:

infile (str) – The path to the .g2o file

Returns:

The loaded graph

Return type:

Graph

graphslam.load.load_g2o_se2(infile)[source]

Load an \(SE(2)\) graph from a .g2o file.

Parameters:

infile (str) – The path to the .g2o file

Returns:

The loaded graph

Return type:

Graph

graphslam.load.load_g2o_se3(infile)[source]

Load an \(SE(3)\) graph from a .g2o file.

Parameters:

infile (str) – The path to the .g2o file

Returns:

The loaded graph

Return type:

Graph