MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / addSensor

Method addSensor

opt_calibration/src/opt_calibration.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void OPTCalibration::addSensor(const cb::PinholeSensor::Ptr & sensor,
68 bool estimate_pose)
69{
70 sensor_vec_.push_back(sensor);
71 TreeNode::Ptr node = boost::make_shared<TreeNode>(sensor, sensor_vec_.size() - 1, TreeNode::INTENSITY);
72 node_map_[sensor] = node;
73 node_vec_.push_back(node);
74 node->setEstimatePose(estimate_pose);
75}
76
77void OPTCalibration::addSensor(const cb::DepthSensor::Ptr & sensor,
78 bool estimate_pose)

Callers 2

initializeMethod · 0.80
initializeMethod · 0.80

Calls 3

setEstimatePoseMethod · 0.80
parentMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected