Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Linear Track Position Controller (Toggle Verison) (VT)
   
奖励
收藏
已收藏
取消收藏
Vehicles: Mechanical
Microcontrollers: Calculation, Microcontroller
标签: v1.9.16
文件大小
发表于
更新日期
28.424 KB
2023 年 11 月 5 日 下午 4:45
2023 年 11 月 5 日 下午 5:22
4 项改动说明 ( 查看 )

订阅以下载
Linear Track Position Controller (Toggle Verison) (VT)

描述
I put a lot of time and effort into this so I hope you like it.
Normally you have to have the distance sensor on the side of the track that the sliders move to when given a positive input, but you can also (theoretically) put the distance sensor on the object that is on the tracks, although that hasn’t been test yet.

Features:
-Boolean input so you can control the slider position based on an on/off signal
-Calculation of output to slider based on distance from the desired location, this helps prevent oscillation
-Customizable minimum output to the sliders
-Customizable multiplier to the output to keep the output from decreasing as soon
-Customizable % error from meeting the set point, this can be changed if you don't mind the sliders being farther away from your set point to decrease oscillation
-Inverter toggle for the throttle so you can change which side the -1/0 position of your sliders is
-Inverter toggle for the direction so you can change switch side the distance sensor is on

Normal Version here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3040697599.

Have fun!

Please credit me if you use it in your creation. To do that please put a link to it in your description and post the link to your creation in the comments here.