当前位置: 首页>>代码示例>>C++>>正文


C++ CMonteCarloLocalization3D类代码示例

本文整理汇总了C++中CMonteCarloLocalization3D的典型用法代码示例。如果您正苦于以下问题:C++ CMonteCarloLocalization3D类的具体用法?C++ CMonteCarloLocalization3D怎么用?C++ CMonteCarloLocalization3D使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了CMonteCarloLocalization3D类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: CMonteCarloLocalization3D_inverse

CPose3DPDFParticles CMonteCarloLocalization3D_inverse(
	CMonteCarloLocalization3D& self)
{
	CPose3DPDFParticles o;
	self.inverse(o);
	return o;
}
开发者ID:jiapei100,项目名称:mrpt,代码行数:7,代码来源:slam_bindings.cpp

示例2: CMonteCarloLocalization3D_drawSingleSample

CPose3D CMonteCarloLocalization3D_drawSingleSample(
	CMonteCarloLocalization3D& self)
{
	CPose3D outPart;
	self.drawSingleSample(outPart);
	return outPart;
}
开发者ID:jiapei100,项目名称:mrpt,代码行数:7,代码来源:slam_bindings.cpp

示例3: CMonteCarloLocalization3D_getAs3DObject

mrpt::opengl::CSetOfObjects::Ptr CMonteCarloLocalization3D_getAs3DObject(
	CMonteCarloLocalization3D& self)
{
	mrpt::opengl::CSetOfObjects::Ptr outObj =
		mrpt::make_aligned_shared<mrpt::opengl::CSetOfObjects>();
	self.getAs3DObject(outObj);
	return outObj;
}
开发者ID:jiapei100,项目名称:mrpt,代码行数:8,代码来源:slam_bindings.cpp

示例4: CMonteCarloLocalization3D_prediction_and_update

void CMonteCarloLocalization3D_prediction_and_update(
	CMonteCarloLocalization3D& self,
	const mrpt::obs::CActionCollection::Ptr action,
	const mrpt::obs::CSensoryFrame::Ptr observation,
	const CParticleFilter::TParticleFilterOptions& PF_options)
{
	self.prediction_and_update(action.get(), observation.get(), PF_options);
}
开发者ID:jiapei100,项目名称:mrpt,代码行数:8,代码来源:slam_bindings.cpp

示例5: CMonteCarloLocalization3D_normalizeWeights

tuple CMonteCarloLocalization3D_normalizeWeights(CMonteCarloLocalization3D& self)
{
    list ret_val;
    double out_max_log_w;
    double norm = self.normalizeWeights(&out_max_log_w);
    ret_val.append(norm);
    ret_val.append(out_max_log_w);
    return tuple(ret_val);
}
开发者ID:mangi020,项目名称:mrpt,代码行数:9,代码来源:slam_bindings.cpp

示例6: CMonteCarloLocalization3D_getCovarianceAndMean

tuple CMonteCarloLocalization3D_getCovarianceAndMean(CMonteCarloLocalization3D& self)
{
    list ret_val;
    mrpt::math::CMatrixDouble66 cov;
    CPose3D mean_point;
    self.getCovarianceAndMean(cov, mean_point);
    ret_val.append(cov);
    ret_val.append(mean_point);
    return tuple(ret_val);
}
开发者ID:mangi020,项目名称:mrpt,代码行数:10,代码来源:slam_bindings.cpp

示例7: CMonteCarloLocalization3D_readParticlesFromStream

void CMonteCarloLocalization3D_readParticlesFromStream(
	CMonteCarloLocalization3D& self, CStream& in)
{
	auto arch = mrpt::serialization::archiveFrom(in);
	self.readParticlesFromStream(arch);
}
开发者ID:jiapei100,项目名称:mrpt,代码行数:6,代码来源:slam_bindings.cpp

示例8: CMonteCarloLocalization3D_writeParticlesToStream

void CMonteCarloLocalization3D_writeParticlesToStream(
	CMonteCarloLocalization3D& self, CStream& out)
{
	auto arch = mrpt::serialization::archiveFrom(out);
	self.writeParticlesToStream(arch);
}
开发者ID:jiapei100,项目名称:mrpt,代码行数:6,代码来源:slam_bindings.cpp

示例9: CMonteCarloLocalization3D_getMean

CPose3D CMonteCarloLocalization3D_getMean(CMonteCarloLocalization3D& self)
{
	CPose3D mean;
	self.getMean(mean);
	return mean;
}
开发者ID:jiapei100,项目名称:mrpt,代码行数:6,代码来源:slam_bindings.cpp

示例10: CMonteCarloLocalization3D_getAs3DObject

mrpt::opengl::CSetOfObjectsPtr CMonteCarloLocalization3D_getAs3DObject(CMonteCarloLocalization3D& self)
{
    mrpt::opengl::CSetOfObjectsPtr outObj = mrpt::opengl::CSetOfObjects::Create();
    self.getAs3DObject(outObj);
    return outObj;
}
开发者ID:mangi020,项目名称:mrpt,代码行数:6,代码来源:slam_bindings.cpp

示例11: CMonteCarloLocalization3D_readParticlesFromStream

void CMonteCarloLocalization3D_readParticlesFromStream(CMonteCarloLocalization3D& self, CStream &in)
{
    self.readParticlesFromStream(in);
}
开发者ID:mangi020,项目名称:mrpt,代码行数:4,代码来源:slam_bindings.cpp

示例12: CMonteCarloLocalization3D_writeParticlesToStream

void CMonteCarloLocalization3D_writeParticlesToStream(CMonteCarloLocalization3D& self, CStream &out)
{
    self.writeParticlesToStream(out);
}
开发者ID:mangi020,项目名称:mrpt,代码行数:4,代码来源:slam_bindings.cpp

示例13: CMonteCarloLocalization3D_prediction_and_update_pfAuxiliaryPFOptimal

void CMonteCarloLocalization3D_prediction_and_update_pfAuxiliaryPFOptimal(CMonteCarloLocalization3D& self, const mrpt::obs::CActionCollectionPtr action, const mrpt::obs::CSensoryFramePtr observation, const CParticleFilter::TParticleFilterOptions &PF_options)
{
    self.prediction_and_update_pfAuxiliaryPFOptimal(action.pointer(), observation.pointer(), PF_options);
}
开发者ID:mangi020,项目名称:mrpt,代码行数:4,代码来源:slam_bindings.cpp


注:本文中的CMonteCarloLocalization3D类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。