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 日 下午 1: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://psteamcommunity.yuanyoumao.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 日 上午 12: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.
FREJWe 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 日 下午 10:07 
nvm i fixed it
chikun427 2024 年 4 月 16 日 上午 12: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 日 下午 9:49 
then update it please?
TT  [作者] 2024 年 1 月 31 日 下午 3:24 
Very true, this is just a lot older than the physics sensor is!
1ue999 2024 年 1 月 30 日 下午 9:41 
you can make the inputs all come from a physics sensor