A complete demonstration of my university game programming project: a realistic FPV drone simulator built in Unity, controlled with a real Radiomaster RC transmitter.
This video shows how I connected the Radiomaster Pocket as a USB HID (Joystick) and used Unity's Input System to map the controls. I also break down the C# script I wrote for the physics, including a PD-Controller for Angle Mode and a Rate-Mode controller for Acro.
This is for any game developers, FPV pilots, or students looking for a practical example of how to make a physics-based drone simulator and interface it with real-world hardware.
Github Code Link : https://github.com/Venkatesan-M/Unity...
---------------------------------------------------
KEY FEATURES & TOPICS:
---------------------------------------------------
► Hardware Integration (Radiomaster Pocket as USB HID)
► Unity Input System (Mapping Throttle, Yaw, Pitch, Roll)
► Physics-Based Flight (Rigidbody AddForce / AddRelativeTorque)
► C# Flight Mode Logic (Angle, Acro, Horizon modes)
► PD-Controller for Self-Leveling (Angle Mode)
► Rate Controller for Acrobatic Flight (Acro Mode)
► Input Processing (Expo Curves & Deadzone for "Stick Drift")
► Yaw Damping (For a "locked-in" feel)
► Custom OSD (On-Screen Display) for flight telemetry
---------------------------------------------------
#Unity #FPV #DroneSimulator #GameDevelopment #RCController #Radiomaster #PhysicsBased #UnityInputSystem #HID #GameDev #ProgrammingProject #FPVPilot #Simulator #Csharp