Main Page
Namespaces
Classes
Files
File List
File Members
include
gmapping
sensor
sensor_odometry
odometryreading.h
Go to the documentation of this file.
1
#ifndef ODOMETRYREADING_H
2
#define ODOMETRYREADING_H
3
4
#include <string.h>
5
#include <
gmapping/sensor/sensor_base/sensorreading.h
>
6
#include <
gmapping/utils/point.h
>
7
#include "
odometrysensor.h
"
8
9
namespace
GMapping
{
10
11
class
OdometryReading
:
public
SensorReading
{
12
public
:
13
OdometryReading
(
const
OdometrySensor
* odo,
double
time=0);
14
inline
const
OrientedPoint
&
getPose
()
const
{
return
m_pose
;}
15
inline
const
OrientedPoint
&
getSpeed
()
const
{
return
m_speed
;}
16
inline
const
OrientedPoint
&
getAcceleration
()
const
{
return
m_acceleration
;}
17
inline
void
setPose
(
const
OrientedPoint
& pose) {
m_pose
=pose;}
18
inline
void
setSpeed
(
const
OrientedPoint
& speed) {
m_speed
=speed;}
19
inline
void
setAcceleration
(
const
OrientedPoint
& acceleration) {
m_acceleration
=acceleration;}
20
21
protected
:
22
OrientedPoint
m_pose
;
23
OrientedPoint
m_speed
;
24
OrientedPoint
m_acceleration
;
25
};
26
27
};
28
#endif
29
GMapping::OdometrySensor
Definition:
odometrysensor.h:9
GMapping::SensorReading
Definition:
sensorreading.h:7
point.h
odometrysensor.h
GMapping::OdometryReading::setAcceleration
void setAcceleration(const OrientedPoint &acceleration)
Definition:
odometryreading.h:19
GMapping::OdometryReading::OdometryReading
OdometryReading(const OdometrySensor *odo, double time=0)
Definition:
odometryreading.cpp:5
GMapping::OdometryReading::getSpeed
const OrientedPoint & getSpeed() const
Definition:
odometryreading.h:15
GMapping::orientedpoint< double, double >
GMapping::OdometryReading::m_acceleration
OrientedPoint m_acceleration
Definition:
odometryreading.h:24
GMapping::OdometryReading::setSpeed
void setSpeed(const OrientedPoint &speed)
Definition:
odometryreading.h:18
GMapping::OdometryReading::m_speed
OrientedPoint m_speed
Definition:
odometryreading.h:23
GMapping::OdometryReading::m_pose
OrientedPoint m_pose
Definition:
odometryreading.h:22
GMapping::OdometryReading
Definition:
odometryreading.h:11
GMapping::OdometryReading::getAcceleration
const OrientedPoint & getAcceleration() const
Definition:
odometryreading.h:16
GMapping
Definition:
carmenwrapper.h:40
GMapping::OdometryReading::setPose
void setPose(const OrientedPoint &pose)
Definition:
odometryreading.h:17
GMapping::OdometryReading::getPose
const OrientedPoint & getPose() const
Definition:
odometryreading.h:14
sensorreading.h
openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22