Breadboard PIDs! 🍞🧮 From the Depths

  Рет қаралды 8,492

BorderWise

BorderWise

Күн бұрын

Пікірлер: 42
@BorderWise12
@BorderWise12 Жыл бұрын
I forgot how to do this, so this is actually the first time I've had to look up my own darn tutorial. Thank you, past BorderWise. XD
@brodouken257
@brodouken257 Жыл бұрын
I learned it when you posted it and had to come back. Yay baking.
@atesz7636
@atesz7636 2 жыл бұрын
Good to see that you're getting creative with breadboards. By the way, you can achieve quite smooth and constant up and down movement by hooking up the game time to a sine or cosine function. Like this: cos(t). This is really slow though, so something like cos(30*t) will be better. Now, this value ranges between -1 and 1 so multiply it by like 15, add it to your base altitude of 150, and into the PID it goes. The final result should be a timer hooked up to a math evaluator[150+15*(cos(30*a))] that goes in a PID along with altitude, that ends in up/down propulsion. If you have the option to strafe, then you can do something similar with a sine function to make the craft go in a circle, that should really throw off enemy targeting.
@Madwand99
@Madwand99 2 жыл бұрын
Nice! Another (perhaps simpler?) way of getting that "bounciness" is to skip the switch, and use instead a Math component. Set the timer component to it's default (time since start) and connect it to the math component. Then use a sin function to get your airship to follow a sine wave, for example 100+sin(a/100)*20 will give you an average altitude of 100 that varies by +/- 20 altitude. The part inside the parenthesis controls the timing, so you'll need to adjust it. The output of this will feed directly into your PID controller desired altitude. Math!
@mechastophiles2118
@mechastophiles2118 2 жыл бұрын
I swear, that negative multiplier is probably 90% of beginner problems with baking. Take something everyone wants to use (PIDs), make them counterintuitive (the block & internal AI versions account for it already), and suddenly you've got an artificial skill jump. It kept throwing my helicopters for a loop for the longest time. With the AI breadboard, you can use the target info block to turn off the bouncing outside of combat: take the "is there a target?" output and multiply it by the timer. Now you only get the timer going through while there is a valid target.
@Mernom
@Mernom Жыл бұрын
The fun bit about combining boards and ACBs is that you can use the ACB to generate an artificial custom input, and listen to it in the breadboard to do things based on it.
@dillonschroeder985
@dillonschroeder985 2 жыл бұрын
Nice, breadboard is the only thing I haven't touched in FtD but seeing these videos I just might.
@K4ndor3k
@K4ndor3k 2 жыл бұрын
Man, these Breadboard-Videos make me want to reinstall FtD and see how much wierd stuff you can do with them.
@lagrangepoint9386
@lagrangepoint9386 2 жыл бұрын
I'm really glad that you finally embarked on a journey to try and understand bread. It makes life incomparably easy.
@danielbovv5441
@danielbovv5441 2 жыл бұрын
Thanks for the breadboard tutorials, I always thought it was rocket science but this + thrust vectoring tutorial is such a simple and useful starting point it's convinced me to learn it.
@AmatsuDarkfyre
@AmatsuDarkfyre 3 ай бұрын
This video helped me actually create a flying vehicle, thank you.
@BorderWise12
@BorderWise12 3 ай бұрын
Yay! You're welcome! :)
@danielsandberg9365
@danielsandberg9365 2 жыл бұрын
it should be noted that you don't need to use breadboard to get PIDs for your AI since the AI mainframe already has PIDs you can enable for each type of movement, very easy and convenient to use
@thebrotherhoodofderp1557
@thebrotherhoodofderp1557 9 ай бұрын
yea, the issue is that once you turn off the AI, those PIDs stop working, so you suddenly end up with a completely uncontrolled ship.
@GTalon5
@GTalon5 2 жыл бұрын
The Bread Warlock mkIII is up on the workshop, if you are interested.
@BorderWise12
@BorderWise12 2 жыл бұрын
Cheers! That should be helpful!
@cxob2134
@cxob2134 2 жыл бұрын
I did not know that PIDs can work without the AI. Finally i can stop my Horrible balanced ships form capsizing when i turn of the Ai. Thanks a lot for sharing the knowledge!
@BorderWise12
@BorderWise12 2 жыл бұрын
You're welcome! 😁👍
@erodeus746
@erodeus746 2 жыл бұрын
this is the first time ive ever understood them, tbh i understand lua much better but now esp for simple things im def using breadboards
@andrelanger8396
@andrelanger8396 2 жыл бұрын
You could use a sin wave to travel on
@aerbon
@aerbon 2 жыл бұрын
nah, cos is better.
@atesz7636
@atesz7636 2 жыл бұрын
@@aerbon They're literally the same, except one is offset 90°
@aerbon
@aerbon 2 жыл бұрын
@@atesz7636 yes, thats the joke.
@atesz7636
@atesz7636 2 жыл бұрын
@@aerbon Sorry it's hard to tell if you're joking on the internet
@Cobrax_x
@Cobrax_x 2 жыл бұрын
I prefer tan wave personally (airship rises to infinity, then teleports to negative infinite)
@3dwrecker_4660
@3dwrecker_4660 2 жыл бұрын
The breadboard videos are extremely useful, keep em goin' BW!
@BorderWise12
@BorderWise12 2 жыл бұрын
Cheers! Will do! 👍
@christopherboucher2171
@christopherboucher2171 3 ай бұрын
OMG. I What I did to do this same thing was SOOOO much more complicated then it needed to be.... I should have looked for this video sooner.
@grandfremdling3841
@grandfremdling3841 2 жыл бұрын
Whenever I use pitch&roll through bread, I disable the controls in the mainframe... You didn't, so what will happen? Is the AI fighting the breadbord?
@BorderWise12
@BorderWise12 2 жыл бұрын
Doesn't seem to be. I think the bread has a higher priority, although I should probably test that.
@knightsofjupiter753
@knightsofjupiter753 Жыл бұрын
Thank you
@BorderWise12
@BorderWise12 Жыл бұрын
You're welcome! :D
@maxharrysson6305
@maxharrysson6305 2 жыл бұрын
Hey border... It's me again... A year ago you did a video on ibcms or Nukes. I noticed you mentioned you can use advanced cannons to also propel the nuke... Can you do a totourial on that as I'm finding it Hella hard making the ai actualy hit it's target let alone with a propulsion like that....
@Basshead004
@Basshead004 2 жыл бұрын
Try searching for "mass drivers" I think that is what you mean
@zacharris8129
@zacharris8129 2 жыл бұрын
I couldn’t remember your channel name for the life of me and I recently got a from the depths craving again. The one search that got me straight to you… From the depths canoe.
@BorderWise12
@BorderWise12 2 жыл бұрын
Yup. The algorithm recognizes my canoe addiction. 😁
@karbengo
@karbengo 2 жыл бұрын
Very nice. Keep em comming.
@SpeiderProductions
@SpeiderProductions 2 жыл бұрын
I tried implementing the altitude switching on an airship I’ve been building and set it up exactly as you did here but it doesn’t make the airship change altitude. I can see in the breadboard that it changes the value going into the pid and then the propulsion output switches to 1 but it doesn’t change altitude. I tried switching the output from hover up/down to roll or pitch and it works fine for those and changes the roll or pitch based on the switch timing but not for hover up/down and I don’t get why. My jet engines are set to hover up and I have allowed hover control in my ai settings. Maybe yoou or someone can help 😢
@BorderWise12
@BorderWise12 2 жыл бұрын
I can't help much without seeing the bread. Best advice I can give is start over and talk yourself through every step, like IT troubleshooting.
@Mernom
@Mernom Жыл бұрын
Make sure your altitude controls actually listen to the up input?
Breadboard 3D Thrust Vectoring! ⬅⬆⬇➡ From the Depths
11:42
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
How To Build Cheap! Quick Guide, From the Depths
21:52
BorderWise
Рет қаралды 17 М.
Azipod Tutorial! From the Depths, Quick Guide
13:18
BorderWise
Рет қаралды 8 М.
Wrench's Way II: Hull Construction - From the Depths
48:46
JustaWrench
Рет қаралды 33 М.
How To Armour - From The Depths INSTANT Tutorial
29:40
GMODISM
Рет қаралды 11 М.
Making a Good Looking Hull: A From the Depths Tutorial
17:25
Hawkins656
Рет қаралды 18 М.
CIWS Controller Basics - From the Depths
25:07
BorderWise
Рет қаралды 17 М.