From cd4d340914093c008602cb9d40505e2b63964883 Mon Sep 17 00:00:00 2001 From: Alex Peterson <26804013+AMZN-alexpete@users.noreply.github.com> Date: Wed, 17 Jan 2024 05:33:12 -0800 Subject: [PATCH] Bring back P in the editor component (#635) (#647) (#652) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Budziszewski Co-authored-by: Jan Hanca Co-authored-by: Paweł Budziszewski --- .../ROS2/Code/Source/Utilities/Controllers/PidConfiguration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)