⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mobilerobot.hpp

📁 dysii is a C++ library for distributed probabilistic inference and learning in large-scale dynamical
💻 HPP
字号:
#ifndef MOBILEROBOT_HPP#define MOBILEROBOT_HPP#include "indii/ml/aux/GaussianPdf.hpp"#include "indii/ml/aux/vector.hpp"#include "indii/ml/aux/matrix.hpp"namespace aux = indii::ml::aux;class MobileRobot {public:  /**   * Create new mobile robot.   *   * @param v Translational velocity.   * @param w Angular velocity.   */  MobileRobot(double v = 0.1, double w = 0.0);  /**   * Destructor.   */  virtual ~MobileRobot();  /**   * Move the robot to its position at the next time step.   */  void move();  /**   * Take a measurement from the system.   */  aux::vector measure();  /**   * Get the current actual state of the robot.   */  const aux::vector& getState();private:  /**   * Noise intrinsic to system.   */  aux::GaussianPdf systemNoise;  /**   * Measurement noise.   */  aux::GaussianPdf measNoise;  /**   * Measurement model.   */  aux::matrix measModel;  /**   * Current state:   *   * @li x coordinate   * @li y coordinate   * @li orientation   */  aux::vector state;  /**   * Translational velocity.   */  const double v;  /**   * Angular velocity.   */  const double w;  /**   * State space size.   */  static const unsigned int STATE_SIZE = 3;  /**   * Measurement space size.   */  static const unsigned int MEAS_SIZE = 1;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -