RobotsIO
Loading...
Searching...
No Matches
TransformWithVelocity.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_TRANSFORMWITHVELOCITY_H
9#define ROBOTSIO_TRANSFORMWITHVELOCITY_H
10
11#include <RobotsIO/Utils/Transform.h>
12
13#include <Eigen/Dense>
14
15namespace RobotsIO {
16 namespace Utils {
17 class TransformWithVelocity;
18
19 struct TransformWithVelocityStorage;
20 }
21}
22
24{
25 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
26
27 Eigen::Transform<double, 3, Eigen::Affine> transform;
28
29 Eigen::Vector3d linear_velocity;
30
31 Eigen::Vector3d angular_velocity;
32};
33
34
36{
37public:
38 virtual ~TransformWithVelocity();
39
40 virtual Eigen::Vector3d linear_velocity() = 0;
41
42 virtual Eigen::Vector3d angular_velocity() = 0;
43};
44
45#endif /* ROBOTSIO_TRANSFORMWVELOCITY_H */