It would appear that I've become an Italian chef, because I keep making this wonderful spaghetti every time I work on something in vizzy.
Enjoy:
It would appear that I've become an Italian chef, because I keep making this wonderful spaghetti every time I work on something in vizzy.
Enjoy:
Shot 1 is an auto-tracking camera program(WIP). Still lacking major functionality, but I'm getting closer to a useable product. Automatically sets the target to the closest non-player craft but also allows the user to select a target from a list of all crafts within the current planet's SOI(for now) at any time. Using a simple motor/rotator setup to "gymbal" the camera on 2 axes coupled to sliders, it automatically tracks moving targets(ie, a rocket launch/landing) along with adjusting the zoom to keep the target in frame(when possible). Currently this is a demonstration model to prove the concept before developing a complete auto tracking camera system for multiple use cases.
Shot 2 is my first real attempt at implementing a simple PID to make a rocket hover at a predetermined altitude. Results have been lackluster with many hours spent in frustration agonizing over bugs and various implementations of the processes involved. While the PID itself works flawlessly, the current implementation of the overall code makes it nearly useless. Overcorrection and "bouncing" between extremes is inevitable, and even when it seems to balance out close to the target Integral creep causes wild variations in output after a while. Needs more testing and a complete rebuild from the ground up