RobotSystem-Lite
Loading...
Searching...
No Matches
shared_dof_variables.h
Go to the documentation of this file.
1
2// //
3// Copyright (c) 2016-2025 Leonardo Consoni <leonardojc@protonmail.com> //
4// //
5// This file is part of RobotSystem-Lite. //
6// //
7// RobotSystem-Lite is free software: you can redistribute it and/or modify //
8// it under the terms of the GNU Lesser General Public License as published //
9// by the Free Software Foundation, either version 3 of the License, or //
10// (at your option) any later version. //
11// //
12// RobotSystem-Lite is distributed in the hope that it will be useful, //
13// but WITHOUT ANY WARRANTY; without even the implied warranty of //
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
15// GNU Lesser General Public License for more details. //
16// //
17// You should have received a copy of the GNU Lesser General Public License //
18// along with RobotSystem-Lite. If not, see <http://www.gnu.org/licenses/>. //
19// //
21
22
34
35
36#ifndef SHARED_DOF_VARIABLES_H
37#define SHARED_DOF_VARIABLES_H
38
40enum RobotDoFVariable { DOF_POSITION, DOF_VELOCITY, DOF_FORCE, DOF_ACCELERATION, DOF_INERTIA, DOF_DAMPING, DOF_STIFFNESS, DOF_FLOATS_NUMBER };
41
42#define DOF_DATA_BLOCK_SIZE DOF_FLOATS_NUMBER * sizeof(float)
43
44#endif // SHARED_DOF_VARIABLES_H
RobotDoFVariable
Enumeration of floating-point values for a single DoF update message.
Definition shared_dof_variables.h:40