Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more common hardware interface type constants #1500

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,28 @@ constexpr char HW_IF_VELOCITY[] = "velocity";
constexpr char HW_IF_ACCELERATION[] = "acceleration";
/// Constant defining effort interface name
constexpr char HW_IF_EFFORT[] = "effort";
bmagyar marked this conversation as resolved.
Show resolved Hide resolved
/// Constant defining torque interface name
constexpr char HW_IF_TORQUE[] = "torque";
/// Constant defining force interface name
constexpr char HW_IF_FORCE[] = "force";
/// Constant defining current interface name
constexpr char HW_IF_CURRENT[] = "current";
bmagyar marked this conversation as resolved.
Show resolved Hide resolved
/// 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_
Loading