Stormworks: Build and Rescue

Stormworks: Build and Rescue

44 人が評価
TT Gyro Version 2
2
   
アワード
お気に入り
お気に入り
お気に入りから削除
Vehicles: Air
Microcontrollers: Navigation, Microcontroller
タグ: v0.5.10
ファイルサイズ
投稿日
更新日
42.188 KB
2018年12月29日 9時28分
2019年1月2日 13時10分
3 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
TT Gyro Version 2

解説
TT Gyro Version 2!

This is a microcontroller designed to replace the ingame Gyro. A demo of an application for this can be found in this little helicopter here:
https://steamcommunity.com/sharedfiles/filedetails/?id=1606928570

The reasion to make this is that there are a number of issues that can occur with the ingame gyro:

- Excessive Pitch or Roll input causing instability
- Unpredictable Throttle response in some scenarios
- Completely untunable
- Auto-Hover heavily dampens the pitch and roll, so it's impossible to go fast
- Loses altitude at high pitch/roll angles, even if the vehicle has enough power to prevent this
- Generally preferable to have the effects of the Gyro but can need to be turned off to perform bigger maneuvers

This solves those problems by being massively tunable. Every proportion, intergral and derivative in the chip can be adjusted. It is by default set up for a small helicopter. It acts essentially like autohover is always on, but without the limitations of autohover - you can go as far over as you set the Pitch / Roll limits to in the microcontrollers properties. Some users have stated this has given them high speed increases in some cases with increased altitude stability!

It has pitch roll yaw and updown controls as per the normal gyro, but has additional inputs that are required:

- Altitude Sensor
- Compass Sensor
- a LEFT facing tilt sensor
- a FORWARD facing tilt sensor
- a FORWARD facing speed sensor SET TO DIRECTION WITH SELECT TOOL.
- a LEFT facing speed sensor SET TO DIRECTION WITH SELECT TOOL.

The gyro's updown is based upon an integrating PID based on the change in altitude. so you will need to breifly hold up to get off the ground. There is a built in "Takeoff Boost" function that increases the integral ramp up until the altitude has increased. Mouseover the gyro to see the current "takeoff boost" status.

Common Issues and ways to solve them:

- If it is flipping over on one of the axes, try inverting the P and D values for that axis.
- If the controls are back to front, invert the Pitch / Roll limiter values.
- If it wobbles very fast, reduce the D value for that axis it is wobbling in.
- If it is too responsive, reduce P for that axis it is wobbling in.
- If it is lazily wobbling around, increased D for that axis.
- lazy wobbling while stationary may be due to the Position Hold Gain being too high. Reduce the value.
- If you're still having issues with stability, try replacing one part of your vehicles control from the ingame gyro to this gyro at a time to highlight the axis with the problem.
- Losing too much altitude with control input changes? Increase up/down I.

Currently this is not designed to be compatible with aircraft. It is intended to eventually have autopilot system & remote control integration using Composites. Will update as I get on with this.

Let me know if you have any issues or improvement suggestions.
62 件のコメント
killjoy 2024年8月27日 4時23分 
This is defs broken now. it just tilts backwards hard.
latch4 2024年7月14日 5時01分 
Its wobbling like crazy on all axis, how can i fix it?
[82AD] Fingus 2024年6月30日 0時53分 
I think this module will by default have pitch inverted which will lead to back-flipping. I mean if you apply it to a propeller that hasn't been flipped. (correct me if I'm wrong)

But like it says in the common issues section of this guide just put a minus sign in front of the pitch P and D values. And if your w/s is inverted after that, put a minus in front of pitch limit.
Questionable Goose (Frej) 2024年6月16日 9時09分 
im having issues with it, my helicopter is doing backflips, what could i have done wrong?
chikun427 2024年4月17日 22時07分 
nvm i fixed it
chikun427 2024年4月16日 0時51分 
my quadcopter is subtly swinging forwards and backwards like a pendulum and is slowly moving backwards
Creepily 2024年2月12日 2時30分 
https://oscarliang.com/fpv-drone-tuning/#Step-3-Finding-PD-Balance

this helps with pid tuning heli/quadcopter (helped me a lot), leaving this here for whoever needs it
1ue999 2024年1月31日 21時49分 
then update it please?
TT  [作成者] 2024年1月31日 15時24分 
Very true, this is just a lot older than the physics sensor is!
1ue999 2024年1月30日 21時41分 
you can make the inputs all come from a physics sensor