symforce.codegen.geo_factors_codegen module#

get_between_factor_docstring(between_argument_name)[source]#
Parameters:

between_argument_name (str) –

Return type:

str

get_prior_docstring()[source]#
Return type:

str

between_factor(a, b, a_T_b, sqrt_info, epsilon=0)[source]#
Parameters:
Return type:

Matrix

prior_factor(value, prior, sqrt_info, epsilon=0)[source]#
Parameters:
Return type:

Matrix

generate_between_factors(types, output_dir)[source]#

Generates between factors for each type in types into output_dir.

Parameters:
Return type:

None

generate_pose3_extra_factors(output_dir)[source]#

Generates factors specific to Poses which penalize individual components into output_dir.

This includes factors for only the position or rotation components of a Pose. This can’t be done by wrapping the other generated functions because we need jacobians with respect to the full pose.

Parameters:

output_dir (str | PathLike) –

Return type:

None

generate(output_dir)[source]#

Prior factors and between factors for C++.

Parameters:

output_dir (Path) –

Return type:

None