src
sensors
velocity.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020-2023 RaccoonLab.
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, version 3.
7
*
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Author: Dmitry Ponomarev <ponomarevda96@gmail.com>
17
*/
18
19
#ifndef SRC_SENSORS_VELOCITY_HPP
20
#define SRC_SENSORS_VELOCITY_HPP
21
22
#include "
sensor_base.hpp
"
23
#include <Eigen/Geometry>
24
25
class
VelocitySensor
:
public
BaseSensor
{
26
public
:
27
VelocitySensor
(
ros::NodeHandle
* nh,
const
char
* topic,
double
period);
28
bool
publish
(
const
Eigen::Vector3d& linVelNed,
const
Eigen::Vector3d& angVelFrd);
29
};
30
31
#endif // SRC_SENSORS_VELOCITY_HPP
VelocitySensor::VelocitySensor
VelocitySensor(ros::NodeHandle *nh, const char *topic, double period)
Definition:
velocity.cpp:22
VelocitySensor
Definition:
velocity.hpp:25
VelocitySensor::publish
bool publish(const Eigen::Vector3d &linVelNed, const Eigen::Vector3d &angVelFrd)
Definition:
velocity.cpp:25
BaseSensor
Definition:
sensor_base.hpp:25
ros::NodeHandle
sensor_base.hpp
inno_vtol_dynamics
Author(s): Roman Fedorenko, Dmitry Ponomarev, Ezra Tal, Winter Guerra
autogenerated on Mon Dec 9 2024 03:13:35