diff --git a/Gems/ROS2/Code/Source/Utilities/Controllers/PidConfiguration.cpp b/Gems/ROS2/Code/Source/Utilities/Controllers/PidConfiguration.cpp index 0ed8f7581..4cbebb1a6 100644 --- a/Gems/ROS2/Code/Source/Utilities/Controllers/PidConfiguration.cpp +++ b/Gems/ROS2/Code/Source/Utilities/Controllers/PidConfiguration.cpp @@ -30,7 +30,7 @@ namespace ROS2::Controllers if (AZ::EditContext* ec = serializeContext->GetEditContext()) { ec->Class("PID configuration", "Configures a PID controller") - ->DataElement(1, &PidConfiguration::m_p, "P", "Proportional gain") + ->DataElement(AZ::Edit::UIHandlers::Default, &PidConfiguration::m_p, "P", "Proportional gain") ->Attribute(AZ::Edit::Attributes::Min, 0.0) ->DataElement(AZ::Edit::UIHandlers::Default, &PidConfiguration::m_i, "I", "Integral gain") ->Attribute(AZ::Edit::Attributes::Min, 0.0)