Making progress with the new hover landing autopilot. Have figured out (and tested) how to calculate the tilt of the lander to slow it down over a specified distance, when using the hover engines, while maintaining altitude.
Just in the process of activating the other regular parts of the hover...
Here's a quick movie demo of the reentry autopilot at work. The initial heading is meant for a landing a Cape Canaveral but I decided to divert to Wallops Island to give the code a good test. I used x10 time acceleration for some of the flight. Close to Wallops Island some thrust is applied...
More autopilot fun!
Have the heading correction part of the autopilot working. Can now fly to the base.
The first image shows an overshooting of Cape Canaveral due to a recent problem in the code related to calculating the distance to the target. I switched to a new target, the amazing...
Some pictures from latest tests of new code for DRM vehicles using the Icarus spaceship as the test vehicle.
Guidance and control parts of the code are working together quite nicely. Some interesting aerobatics were performed during this test including the autopilot turning the vehicle upside...
Getting there slowly. Can now switch on and off the "flight computer" (that includes the autopilots, trajectory calculations) information screens, located in the centre of the panel, using a virtual button. Also have the arrow buttons on the panel responding.
I managed to fly manually to base...
OK it should be working now in the D3D9 client. I discovered that for the cargo lander the animations were not being remembered during rearrangement of the meshes in preparation for the release of the lander from the aeroshell. The habitat lander was having a problem (which the cargo lander was...
I'm afraid haven't been able to pinpoint what's causing the CTD when running it in the D3D9 client. It seems to be related to animations somehow but it seems to be a rather slippery problem. I don't think it's related to UCGO anymore. Will require some serious investigations which I will have to...
Had a look through the code for the DRM and the main problem that put me off with updating the DRM1, to make it compatible with D3D9 client, was related to the cargo lander and keeping track of how many UCGO boxes are loaded. I think I have an idea for a simple fix, which wont take too long. I...
I think the info in the Orbiter.log file is related to initialising the simulation and the messages in there are not related to the crash.
Unfortunately DRM1 isn't fully D3D9 compatible at the moment and DRM1 is causing the crash. This is an issue that I was going to fix with the addon a while...
Have most of the numbers displayed on the screen. See below.
Having problems with getting a switch (or rather button) to work on the panel so things can set or reset, like the target or chute deployment altitude. The big white square in the bottom screen is a test button. Doesn't seem to be...
Back to flight tests!
Written a little routine to display data nicely on the screen. So far have altitude, velocity and flight angle on there. Image below is a zoom in on the panel (using the mouse wheel).
Some progress
1. Have the buttons responding to the mouse on the mfd
2. Have been playing around with making textures and refined the layout a bit (see image)
Now have labels for the MFD working.
Also planning layout for autopilot displays and buttons. May use multiple displays (outline of 4 shown below) so all related info can be collected in the same area making it easier to process. Rest of space will be filled with standard displays and buttons...
OK I have the labels printing on the panel now.
I have actually based the code on Martin's blog entry but have been playing around with it quite a lot and forgot to change something back that I changed a while ago and forgot about. It was related to the region identifiers AID_MFD_LBUTTONS...
So I've been playing around with the code. Not luck so far. Have taken the panel and MFD related code out of my rather complicated vessel and put it in a simple bare bones vessel with very little code other than the panel and MFD code.
This is what it can produce. there are two blank buttons...
Hi,
I am trying to add MFD buttons to an MFD on a 2d panel. I have the panel and MFD screen functioning and I also have some blank buttons displayed. However I can't seem to draw the labels for the MFD.
I am using the new 2d panel method that uses the letters stored elsewhere on the panel...
Thanks guys, hope to continue with it soon.
In the meantime have been learning about the 2d panels. Now have a mfd screen (that was relatively easy) on the panel. Drawing the buttons and text on the panel has been the hard part. Reading through a variety of posts on the forum (mostly by...
Taking a break from autopilot development and working on panels for the spacecraft. Following Martin's developer masterclass on 2d panels here on this forum. My plan at the moment is to have 1 or 2 MFDs and then perhaps the autopilot related info perhaps displayed directly onto the panel in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.