From the Depths Lua programming guide - tumbling ramming drone part 2 - PID implementation
Автор: MathF.Dumbledore
Загружено: 2021-02-10
Просмотров: 252
This is a Lua coded drone in the game From the Depths (FTD) with no attitude control that seeks out enemies while tumbling through the air.
This video is about implementing PD(proportional derivative) control for controlling the altitude and getting rid of any extra movement.
Use the timeline to select the part you are interested in ;)
Steam workshop link:
https://steamcommunity.com/sharedfile...
Code:
https://github.com/MathFWizardry/TT/b...
Disclaimer:
It is expected that you have some basic knowledge of LUA.
This is part two out of three, you can find the previous video here:
• From the Depths Lua programming guide - tu...
0:00 Intro
0:22 Recap of the written code
1:20 Simplified altitude control example
2:15 Simplified PID implementation
5:12 Sneak peek of the final control scheme
7:12 Coding 1: Finalised altitude control (P control)
12:30 Stopping the extra movement (D control)
13:29 Coding 2: Finalised drift control
17:48 Prioritising controllers
18:50 Eyeball optimising the gains
Music credit:
Angevin - Thatched Villagers by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/...
Source: http://incompetech.com/music/royalty-...
Artist: http://incompetech.com/
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: