Skip to content

Commit

Permalink
Merge pull request #374 from tier4/feature/fix-override-input-manager
Browse files Browse the repository at this point in the history
User input is accepted by Update and input to Vehicle is applied by F…
  • Loading branch information
mackierx111 authored Dec 11, 2024
2 parents 308a9b2 + da2d752 commit 9499752
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Assets/AWSIM/Scripts/Vehicles/VehicleOverrideInputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ void Update()
// Update new input for Autonomous and Manually Inputs.
AutonomousInput.OnUpdate(inputArg);
ManuallyInput.OnUpdate(inputArg);
}

private void FixedUpdate()
{
// If override input is present, switch new ControlMode.
if (ManuallyInput.Overridden)
{
Expand Down

0 comments on commit 9499752

Please sign in to comment.