Skip to content

Commit

Permalink
Bring back P in the editor component (#635) (#647) (#652)
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Budziszewski <pawel.budziszewski@robotec.ai>
Co-authored-by: Jan Hanca <jan.hanca@robotec.ai>
Co-authored-by: Paweł Budziszewski <pawel.budziszewski@robotec.ai>
  • Loading branch information
3 people authored Jan 17, 2024
1 parent f21f481 commit cd4d340
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace ROS2::Controllers
if (AZ::EditContext* ec = serializeContext->GetEditContext())
{
ec->Class<PidConfiguration>("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)
Expand Down

0 comments on commit cd4d340

Please # to comment.