Skip to content

Commit 9499752

Browse files
authored
Merge pull request #374 from tier4/feature/fix-override-input-manager
User input is accepted by Update and input to Vehicle is applied by F…
2 parents 308a9b2 + da2d752 commit 9499752

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/AWSIM/Scripts/Vehicles/VehicleOverrideInputManager.cs

+3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ void Update()
3636
// Update new input for Autonomous and Manually Inputs.
3737
AutonomousInput.OnUpdate(inputArg);
3838
ManuallyInput.OnUpdate(inputArg);
39+
}
3940

41+
private void FixedUpdate()
42+
{
4043
// If override input is present, switch new ControlMode.
4144
if (ManuallyInput.Overridden)
4245
{

0 commit comments

Comments
 (0)