MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / parameters

Method parameters

okvis_ros/okvis/okvis_ceres/src/Map.cpp:611–620  ·  view source on GitHub ↗

Get the parameters of a residual block.

Source from the content-addressed store, hash-verified

609
610// Get the parameters of a residual block.
611Map::ParameterBlockCollection Map::parameters(
612 ::ceres::ResidualBlockId residualBlockId) const { // get the parameter blocks connected
613 ResidualBlockId2ParameterBlockCollection_Map::const_iterator it =
614 residualBlockId2ParameterBlockCollection_Map_.find(residualBlockId);
615 if (it == residualBlockId2ParameterBlockCollection_Map_.end()) {
616 ParameterBlockCollection empty;
617 return empty; // empty vector
618 }
619 return it->second;
620}
621
622} // namespace ceres
623} // namespace okvis

Callers 15

resetFramesMethod · 0.45
getUncertaintyMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
getLhsMethod · 0.45
isJacobianCorrectMethod · 0.45
addParameterBlockMethod · 0.45
removeParameterBlockMethod · 0.45
addResidualBlockMethod · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36