Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
imu_interface.hpp
Go to the documentation of this file.
1/*****************************************************************************/
2/********** !!! WARNING: CODE GENERATED BY TAPROOT. DO NOT EDIT !!! **********/
3/*****************************************************************************/
4
5/*
6 * Copyright (c) 2022 Advanced Robotics at the University of Washington <robomstr@uw.edu>
7 *
8 * This file is part of Taproot.
9 *
10 * Taproot is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * Taproot is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with Taproot. If not, see <https://www.gnu.org/licenses/>.
22 */
23
24#ifndef TAPROOT_IMU_INTERFACE_HPP_
25#define TAPROOT_IMU_INTERFACE_HPP_
26
28{
33{
34public:
52
53 virtual inline const char *getName() const = 0;
54
59 virtual inline float getAx() const = 0;
60
65 virtual inline float getAy() const = 0;
66
71 virtual inline float getAz() const = 0;
72
77 virtual inline float getGx() const = 0;
78
83 virtual inline float getGy() const = 0;
84
89 virtual inline float getGz() const = 0;
90
94 virtual inline float getYaw() const = 0;
95
99 virtual inline float getPitch() const = 0;
100
104 virtual inline float getRoll() const = 0;
105};
106} // namespace tap::communication::sensors::imu
107
108#endif // IMU_INTERFACE_HPP_
Definition imu_interface.hpp:33
virtual const char * getName() const =0
ImuState
Definition imu_interface.hpp:39
@ IMU_CALIBRATED
Indicates the IMU is connected and calibration offsets have been computed.
Definition abstract_imu.cpp:26