Skip to content

Commit 409cd51

Browse files
christophfroehlichmergify[bot]
authored andcommitted
Resort members of InterfaceInfo to avoid ABI break (#3001)
(cherry picked from commit b59bd9c)
1 parent 4bdd622 commit 409cd51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardware_interface/include/hardware_interface/hardware_info.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ struct InterfaceInfo
4747
std::string data_type = "double";
4848
/// (Optional) If the handle is an array, the size of the array.
4949
int size;
50-
/// (Optional) enable or disable the limits for the command interfaces
51-
bool enable_limits;
5250
/// (Optional) Key-value pairs of command/stateInterface parameters. This is
5351
/// useful for drivers that operate on protocols like modbus, where each
5452
/// interface needs own address(register), datatype, etc.
5553
std::unordered_map<std::string, std::string> parameters;
54+
/// (Optional) enable or disable the limits for the command interfaces
55+
bool enable_limits;
5656
};
5757

5858
/// @brief This structure stores information about a joint that is mimicking another joint

0 commit comments

Comments
 (0)