32 using namespace Eigen;
45 assert(to && to->
vertex());
47 VertexType::EstimateType pose=v->estimate();
48 VertexType::EstimateType delta =
_sensorPose.inverse()*pose;
49 Vector2d translation=delta;
50 double range2=translation.squaredNorm();
55 translation.normalize();
57 double bearing=atan2(translation.y(), translation.x());
58 if (fabs(bearing)>
_fov)
83 std::list<PoseObject*>::reverse_iterator it=r->
trajectory().rbegin();
85 while (it!=r->
trajectory().rend() && count < 1){
94 for (std::set<BaseWorldObject*>::iterator it=
world()->objects().begin();
WorldObjectType::VertexType VertexType
bool addParameter(Parameter *p)
bool isVisible(WorldObjectType *to)
InformationType _information
GaussianSampler< typename EdgeType::ErrorVector, InformationType > _sampler
BaseEdge< D, Vector2D >::ErrorVector ErrorVector
SampleType generateSample()
virtual void addParameters()
virtual void addNoise(EdgeType *e)
ParameterSE2Offset * _offsetParam
virtual bool setMeasurementFromState()
bool setParameterId(int argNum, int paramId)
const InformationType & information()
EIGEN_STRONG_INLINE void setInformation(const InformationType &information)
TrajectoryType & trajectory()
PoseObject * _robotPoseObject
const SE2 & offset() const
RobotPoseType _sensorPose
OptimizableGraph * graph()
virtual void setMeasurement(const Vector2D &m)
std::set< BaseWorldObject * > & objects()
virtual bool addEdge(HyperGraph::Edge *e)
void setInformation(const InformationType &information_)
EdgeType * mkEdge(WorldObjectType *object)
EIGEN_STRONG_INLINE const Measurement & measurement() const
accessor functions for the measurement represented by the edge
SensorPointXYOffset(const std::string &name_)