48 assert(to && to->vertex());
52 Vector3d translation = delta;
53 double range2 = translation.squaredNorm();
56 translation.normalize();
58 double bearing = acos(translation.z());
59 if (fabs(bearing) >
_fov)
return false;
70 EdgeType::ErrorVector n =
_sampler.generateSample();
71 e->setMeasurement(e->measurement() + n);
81 std::list<PoseObject*>::reverse_iterator it = r->
trajectory().rbegin();
83 while (it != r->
trajectory().rend() && count < 1) {
90 for (std::set<BaseWorldObject*>::iterator it =
world()->objects().begin();
98 e->setMeasurementFromState();
OptimizableGraph * graph() const
const EstimateType & estimate() const
return the current estimate of the vertex
InformationType _information
WorldObjectType::VertexType VertexType
WorldObjectTrackXYZ WorldObjectType
EdgeType * mkEdge(WorldObjectType *object)
PoseObject * _robotPoseObject
const InformationType & information()
void setInformation(const InformationType &information_)
GaussianSampler< typename EdgeType::ErrorVector, InformationType > _sampler
BinarySensor(const std::string &name)
EdgeSE3PointXYZDisparity EdgeType
edge from a track to a depth camera node using a disparity measurement
TrajectoryType & trajectory()
SensorPointXYZDisparity(const std::string &name_)
void addNoise(EdgeType *e)
RobotPoseType _sensorPose
virtual void addParameters()
ParameterSE3Offset * _offsetParam
bool isVisible(WorldObjectType *to)
std::set< BaseWorldObject * > & objects()
bool addParameter(Parameter *p)
WorldObject< VertexPointXYZ > WorldObjectTrackXYZ
Robot< WorldObjectSE3 > Robot3D
virtual bool addEdge(HyperGraph::Edge *e)