PID CONTROLLER FOR STEERING AND MORE

Average Rating:  
X Rating Failed

PID Controller useful for steering control, projectiles control, navigation, physics control, etc.

  • Supported Platforms
  • Supported Engine Versions
    4.16-4.20

Description


A PID controller allows you to control a variable in your system, by reading its value, comparing it with a reference and providing an output that can be applied to your system to reduce the error or the difference between the two (variable and reference). With a PID controller you can easily control a complex physic system without knowing the details of the implementations, it can be useful for steering control in vehicles, Navigation in NPC or cameras, projectiles control, followers of any kind, even for character control with analog input devices such thumbsticks or pads. When ever you need a variable in your game to follow a reference, a PID controller will be a great solution.


Documentation:

Video Tutorials:

https://www.youtube.com/playlist?list=PLI-AjXUzXQmgoUtFOMf94u8JP6YApYC1P

Demos:

Vehicle Steering:

https://github.com/carloscastrillon1/Unreal4_PID_Steering_Control

Camera Rotation Control:

https://github.com/carloscastrillon1/PIDCameraDirectionFollower

Character Head Follower

https://github.com/carloscastrillon1/PIDCameraHeadRotationFollower

Missile Steering Control:

https://github.com/carloscastrillon1/ProjectileExampleYawPitchSpeedControl

Technical Details


List of Features:

Custom Module: PID

Implements PIDController class that inherites from UObject.

Provides bluprintCallable function to set minimal and maximal value of the process variable which by default is set between 0 and 1.

Provides functions to set proportional constant Kp, Integral constant Ki, and derivative constant Kd.

Provides bluprintCallable function to Process the PIDController and get an output value to control the process each frame.

Network Replicated: No

Supported Development Platforms

Win32, Win64, Android, IOS


Supported Target Build Platforms

Win32, Win64, Android,IOS


Comments

!

Previous Next
  • Edit
  • Preview
  • Help
Enter
Login to comment
X Report this Comment
Report
X Attention


close
X Edit this Comment
  • Edit
  • Preview
  • Help
Update
X Remove this Comment

Are you sure you want to remove this comment?

Remove
X Attention