Hover-Frame-Part
12.7k JuanShot2Go
3.1 years ago
Stability Control and Hover System Example.
The best way to make a hover system is to learn Funky Trees, which is the programming language of simpleplanes. The next best way, is to bolt this frame at your vehicle's the center of mass
This part has been made for ground vehicles. It adds PID electronic stability control to your cars, resisting oversteering and softening landings after a jump. It can even make your car hover by releasing the Landing Gear. Scoot over that hill. It makes cars more fun to drive.
Controls.
Activate6: Disables PID Stability
Activate8: Disables gyroscopic stability
Landing Gear: Sets the vehicle stationary height to 10 meters VTOL: Adjust height 0-20m
Funky Trees
Jet Engine
LandingGear<1?PID(0,AltitudeAgl,0.1,0,0.1):PID(10+(VTOL*9)+(GS/20),AltitudeAgl,0.1,0,0.1)
Forwards Backwards
clamp(sign(Pitch)*PID(((max(abs(Pitch),Throttle))*150),(GS-abs(rate(Altitude)))*cos(AngleOfSlip),0.02,0.0,0.0025),-0.75,0.75)
Sideways
Activate6<1?clamp(PID((Roll+(Yaw*2))*20,GS*sin(AngleOfSlip),0.1,0,0.001),-0.55,0.55):clamp(Roll+Yaw,-0.9,0.9)
Gyroscope
Pitch
(PitchAngle/90)+PID(PitchRate/400,20,0,0)
Roll
PID(0, RollAngle/90, 0.1,0,0)
Yaw
Activate6<1?PID((Roll/4),YawRate/400,.1,0.0,.001):0
Specifications
General Characteristics
- Successors 2 airplane(s) +21 bonus
- Created On Windows
- Wingspan 3.6ft (1.1m)
- Length 5.1ft (1.6m)
- Height 1.0ft (0.3m)
- Empty Weight N/A
- Loaded Weight 1,031lbs (468kg)
Performance
- Power/Weight Ratio 13.067
- Wing Loading N/A
- Wing Area 0.0ft2 (0.0m2)
- Drag Points 0
Parts
- Number of Parts 25
- Control Surfaces 0
- Performance Cost 169
@JuanShot2Go thx for the permission
Sure. Credit is not necessary but nice anyway. If you need any help with it let me know.
Can i use this for my robot?i will give credits