Breadboard PIDs! 🍞🧮 From the Depths

  Рет қаралды 6,073

BorderWise

BorderWise

Жыл бұрын

PID buns, anyone?
Channel Membership: www.youtube.c!om/channel/UCoDrepkVq5BRICv2QO3uPmg/join
BorderWise Twitch: / borderwise
BorderWise Twitter: / borderwiseweta
BorderWise Patreon: / borderwise
Outro Music: Different Heaven: OMG: • Different Heaven - OMG...
Other music used:
Sir Cubworth - Butterflies In Love
Sir Cubworth - Dance for Wind Trio
Sir Cubworth - Little Prelude and Fugue
Sir Cubworth - Party Waltz
From the Depths on Steam: store.steampowered.com/app/26...
I had nothing to do with the development of this game. All rights to From the Depths belong to Brilliant Skies Limited. Please do not upload this video elsewhere without my permission.
#FromTheDepths #PID #Breadboard

Пікірлер: 39
@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 6 ай бұрын
I learned it when you posted it and had to come back. Yay baking.
@atesz7636
@atesz7636 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 9 ай бұрын
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.
@K4ndor3k
@K4ndor3k Жыл бұрын
Man, these Breadboard-Videos make me want to reinstall FtD and see how much wierd stuff you can do with them.
@dillonschroeder985
@dillonschroeder985 Жыл бұрын
Nice, breadboard is the only thing I haven't touched in FtD but seeing these videos I just might.
@lagrangepoint9386
@lagrangepoint9386 Жыл бұрын
I'm really glad that you finally embarked on a journey to try and understand bread. It makes life incomparably easy.
@danielbovv5441
@danielbovv5441 Жыл бұрын
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.
@cxob2134
@cxob2134 Жыл бұрын
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 Жыл бұрын
You're welcome! 😁👍
@GTalon5
@GTalon5 Жыл бұрын
The Bread Warlock mkIII is up on the workshop, if you are interested.
@BorderWise12
@BorderWise12 Жыл бұрын
Cheers! That should be helpful!
@erodeus746
@erodeus746 Жыл бұрын
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
@danielsandberg9365
@danielsandberg9365 Жыл бұрын
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 3 ай бұрын
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.
@knightsofjupiter753
@knightsofjupiter753 7 ай бұрын
Thank you
@BorderWise12
@BorderWise12 7 ай бұрын
You're welcome! :D
@3dwrecker_4660
@3dwrecker_4660 Жыл бұрын
The breadboard videos are extremely useful, keep em goin' BW!
@BorderWise12
@BorderWise12 Жыл бұрын
Cheers! Will do! 👍
@karbengo
@karbengo Жыл бұрын
Very nice. Keep em comming.
@maxharrysson6305
@maxharrysson6305 Жыл бұрын
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 Жыл бұрын
Try searching for "mass drivers" I think that is what you mean
@zacharris8129
@zacharris8129 Жыл бұрын
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 Жыл бұрын
Yup. The algorithm recognizes my canoe addiction. 😁
@grandfremdling3841
@grandfremdling3841 Жыл бұрын
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 Жыл бұрын
Doesn't seem to be. I think the bread has a higher priority, although I should probably test that.
@andrelanger8396
@andrelanger8396 Жыл бұрын
You could use a sin wave to travel on
@aerbon
@aerbon Жыл бұрын
nah, cos is better.
@atesz7636
@atesz7636 Жыл бұрын
@@aerbon They're literally the same, except one is offset 90°
@aerbon
@aerbon Жыл бұрын
@@atesz7636 yes, thats the joke.
@atesz7636
@atesz7636 Жыл бұрын
@@aerbon Sorry it's hard to tell if you're joking on the internet
@Cobrax_x
@Cobrax_x Жыл бұрын
I prefer tan wave personally (airship rises to infinity, then teleports to negative infinite)
@SpeiderProductions
@SpeiderProductions Жыл бұрын
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 Жыл бұрын
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 9 ай бұрын
Make sure your altitude controls actually listen to the up input?
Shield Projector Basics! From the Depths Tutorial
14:55
BorderWise
Рет қаралды 9 М.
Airships vs. Ships? 🎈🆚🛶From the Depths
32:10
BorderWise
Рет қаралды 2 М.
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 36 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 30 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 22 МЛН
Simple Weapons Tier List! 📝👓 From the Depths
26:52
BorderWise
Рет қаралды 13 М.
Breadboard Nukes! 🍞🧨🔥 From the Depths
14:23
BorderWise
Рет қаралды 4,9 М.
Engineering a TESLA VALVE in Timberborn!
28:23
Real Civil Engineer
Рет қаралды 308 М.
Steam Engines Full Guide (From the Depths 2021)
36:42
Liv's Lab
Рет қаралды 26 М.
The Greatest Star Wars RTS Ever Made
42:51
Anti-Kleaper
Рет қаралды 307 М.
AI Detection Guide - From the Depths
42:48
BorderWise
Рет қаралды 29 М.
Basic (& Breadboard) Satellites! 🛰📡 From the Depths Tutorial
14:50
[ENG] FtD - Construction - Small, weird and numerous - Part 1
40:02
Der Heizmeister
Рет қаралды 1,9 М.
COMMUNISM FULLY WORKS... (in minecraft)
22:36
Stoneworks
Рет қаралды 92 М.
Sniper Duel | Standoff 2
0:54
Standoff 2 Live
Рет қаралды 682 М.
Мой Друг Стал ИГРУШКОЙ и Вот Почему! Майнкрафт | Minecraft
9:16
ВЛАДУС — Майнкрафт
Рет қаралды 593 М.