RobotsIO
Loading...
Searching...
No Matches
src
RobotsIO
include
RobotsIO
Utils
SpatialVelocityBuffer.h
1
/*
2
* Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT)
3
*
4
* This software may be modified and distributed under the terms of the
5
* BSD 3-Clause license. See the accompanying LICENSE file for details.
6
*/
7
8
#ifndef ROBOTSIO_SPATIALVELOCITYBUFFER_H
9
#define ROBOTSIO_SPATIALVELOCITYBUFFER_H
10
11
#include <Eigen/Dense>
12
13
#include <RobotsIO/Utils/SpatialVelocity.h>
14
15
namespace
RobotsIO
{
16
namespace
Utils {
17
class
SpatialVelocityBuffer;
18
}
19
}
20
21
22
class
RobotsIO::Utils::SpatialVelocityBuffer
:
public
RobotsIO::Utils::SpatialVelocity
23
{
24
public
:
25
SpatialVelocityBuffer
();
26
27
virtual
~SpatialVelocityBuffer
();
28
29
bool
freeze(
const
bool
blocking)
override
;
30
31
void
set_twist(
const
Eigen::Vector3d& linear_velocity,
const
Eigen::Vector3d& angular_velocity,
const
double
& elapsed_time = 0.0);
32
33
double
elapsed_time()
override
;
34
35
protected
:
36
Eigen::VectorXd twist()
override
;
37
38
Eigen::VectorXd twist_;
39
40
double
elapsed_time_;
41
};
42
43
#endif
/* ROBOTSIO_SPATIALVELOCITYBUFFER_H */
RobotsIO::Utils::SpatialVelocityBuffer
Definition:
SpatialVelocityBuffer.h:23
RobotsIO::Utils::SpatialVelocity
Definition:
SpatialVelocity.h:23
RobotsIO
Definition:
Camera.h:24
Generated by
1.9.6