Skip to content

Commit

Permalink
added gain interfaces to constants to standardize
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Apr 24, 2024
1 parent 837b1be commit d17b4be
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ constexpr char HW_IF_FORCE[] = "force";
constexpr char HW_IF_CURRENT[] = "current";
/// Constant defining temperature interface name
constexpr char HW_IF_TEMPERATURE[] = "temperature";

/// Gains interface constants
/// Constant defining proportional gain interface name
constexpr char HW_IF_PROPORTIONAL_GAIN[] = "proportional";
/// Constant defining integral gain interface name
constexpr char HW_IF_INTEGRAL_GAIN[] = "integral";
/// Constant defining derivative gain interface name
constexpr char HW_IF_DERIVATIVE_GAIN[] = "derivative";
/// Constant defining integral clamp interface name
constexpr char HW_IF_INTEGRAL_CLAMP_MAX[] = "integral_clamp_max";
/// Constant defining integral clamp interface name
constexpr char HW_IF_INTEGRAL_CLAMP_MIN[] = "integral_clamp_min";
/// Constant defining the feedforward interface name
constexpr char HW_IF_FEEDFORWARD[] = "feedforward";
} // namespace hardware_interface

#endif // HARDWARE_INTERFACE__TYPES__HARDWARE_INTERFACE_TYPE_VALUES_HPP_

0 comments on commit d17b4be

Please sign in to comment.