Thrust assistance mod for Spaceflight Simulator 1

Darthan

Modder
Deja Vu
Hot Stuff
Space Glider
Swingin' on a Star
ET phone home
Atlas
Voyager Quest
Floater
#1
Added support for aiming to land at a specified marker, which may be a landmark or a landed rocket.

Download v0.7.1

All releases

UI_MarkerOff.png
UI_MarkerOn.png
UI_ANAIS.png


Assist Selects the type of assistance
  • 'Off' Switch assistance off (manual control)
  • 'Surf' Assist with landing on the surface (i.e vertical velocity with respect to the planet)
  • 'Mark' Assist with de-orbiting to land at the selected marker (i.e horizontal velocity with respect to the planet). Visible when the marker is enabled.
  • 'ANAIS' Assist with orbit changes or final approach when using the ANAIS mod.
If surface assistance is selected, taking the orientation of the rocket into account, this mod will set the thrust to attempt to reach 0 m/s vertical velocity at the specified altitude. If the altitude is set to surface (the minimum altitude) it will attempt to land at the specified velocity.​
If marker assistance is selected, taking the orientation of the rocket into account, this mod will set the thrust to attempt to reach 0 m/s horizontal velocity at the specified mark.​
If ANAIS assistance is selected, the action taken depends on whether the current velocity arrow is for an orbit change or a final approach. Note - the ANAIS button will only appear if an ANAIS velocity arrow would appear in the spacecraft view.​

  • For an orbit change, this mod will set the thrust to 100% until the target velocity would be reached within 3 seconds. Then it will adjust the throttle to maintain the 3 seconds to target until the rocket is within 0.05 m/s of the target velocity. This results in the throttle steadily decreasing until the target is reached allowing for precision.
  • For final approach, this mod will set the thrust to attempt to reach 0 m/s velocity at the specified distance. Note that the distance used takes into account the 'radius' of both spacecraft so that closest approach of any part of either spacecraft will be this value. This may result in stopping a bit short depending on the current orientation of the spacecraft.
  • In both cases the ignition will only be turned on if at least 95% of the thrust is in the correct direction (i.e. within about 13 deg). This allows for small adjustments on final approach to reduce the closest approach distance.
H or D The target altitude, only used for surface or ANAIS (D = distance for ANAIS) assistance. N.B. this is from approximately the bottom of the rocket (CoM-'radius'), not the CoM.
  • <<< set minimum value (i.e. attempt to land (surface ) or close as possible (ANAIS ))
  • << reduce value (*0.5)
  • < reduce value by 0.5 m
  • > increase vakue by 0.5 m
  • >> increase value (*2)
  • >>> set maximum value (1024 m)
Land at The target landing speed, only used for _surface_ assistance. Is ignored unless the height is set to the minimum value.
  • << set minimum value
  • < reduce value
  • > increase value
  • >> set maximum value

Throttle The target throttle to be used. This is used to estimate the velocity needed. Not used for ANAIS orbit changes.
(controls as for Land At)​

**Marker** Enable the landing marker. When enabled will show the position of the current marker.
  • <<< move marker anti-clockwise to the next landmark or landed rocket
  • << move marker anti-clockwise 1km
  • < move marker anti-clockwise 30m
  • > move marker clockwise 30m
  • >> move marker clockwise 1km
  • >>> move marker clockwise to the next landmark or landed rocket
MapMarker.png


The blue line is the marker position. The yellow line is the position where de-orbiting is to start assuming the correct orientation (usually retrograde) and the selected throttle with the current rocket mass and switched on engines. The red line is the position where deorbiting must start assuming 100% throttle i.e the last position that you can de-orbit at to reach the target.

---------------------------------------------------------

It can be used to land more efficiently. It will set the throttle to reduce the vertical velocity so the spacecraft comes to a stop at the specified altitude. This allows me to land faster and so spend less fuel.

If surface assistance is selected and the target altitude is set to the minimum value it will aim to reach the target altitude at the specified vertical velocity i.e land at that velocity. It does not control direction so the spacecraft needs to be pointed up to land. If, when hovering at a specified altitude, you rotate the spacecraft (do not point if down!) it will increase the throttle to maintain altitude as you start to move sideways. While moving sideways it will try to maintain the same altitude above the terrain - following the contours. This is to allow you to pick a landing site. It works best when used with SAS to maintain the desired direction.

The following example is for a Lunar landing in Normal starting from a 100km orbit with plenty of thrust (earth TWR around 1 - local TWR nearly 6) the details will vary in other situations. To land with it from orbit:
  1. First enable the marker and select the position you want the land at.
  2. Next, timewarp to a little short of the yellow dotted line on the map, point retrograde and select _marker_ and (optionally _surface_) assistance. When the yellow dotted line is reached the engines will start.
  3. Once you are close, select _surface_ assistance (if not alorady on) also ('Both' will be displayed) aiming for the default target altitude of 32m.
  4. When the marker is reached switch off _marker_ assistance.
  5. Once at the target altitude, switch 'prograde' off in SAS and manually set the direction to reduce the remaining sideways velocity to zero. Alternately, to move sidewise, tilt a little in the direction to start moving in and tilt back once the desired position is reached. **Important** Ensure _marker_ assist is off (and _surface_ on) when hovering. The thrust may sometimes go too high if _marker_ assist is left on. By design, the engines will cut off if _surface_ assist is switched off while hovering.
  6. Finally set SAS to Surface 0 degrees and change the target altitude to the minimum. The spacecraft will land at the specified velocity.
For more efficient landing or with lower thrust you might want to angle a bit up from prograde once descending and maybe adjust the marker position. It will require a little practice to get this right.
 
Last edited:

Idkgeek

Staff member
Moderator
Modder
Deja Vu
Hot Stuff
Space Glider
Swingin' on a Star
Copycat
Moon Maker
Tier 1 Ranker
Atlas
#2
Altaïr we have a new modder! Please give him the badge
 

Dahzito

Amateur Astronomer | Future Astrophysicist
Staff member
Moderator
Ace
Modder
Deja Vu
Hot Stuff
Space Glider
Swingin' on a Star
Moon Maker
Atlas
#3
Oh wow, this looks like a very interesting a useful mod, especially for suicide burns and landings!
Going to test it now lol!
 

Altaïr

Space Stig, Master of gravity
Veteran
Modder
Deja Vu
Hot Stuff
Swingin' on a Star
Atlas
Forum Legend
#4
Very nice, this looks promising :)
You've been awarded the modder badge, congratulations :cool:
 

Idkgeek

Staff member
Moderator
Modder
Deja Vu
Hot Stuff
Space Glider
Swingin' on a Star
Copycat
Moon Maker
Tier 1 Ranker
Atlas
#5
Oh wow, this looks like a very interesting a useful mod, especially for suicide burns and landings!
Going to test it now lol!
I'm just gutted I play mostly on mobile! My latest (moon and back)² on a bus. I do have sfs on my laptop but rarely have time to use it.
 

Lemniscate Biscuit

RL10C-5-1 "Lemni"
Staff member
Moderator
Ace
Modder
Tier 2 Ranker
Hot Stuff
Moon Maker
Atlas
MOTY 2023
#6
This is the initial release of this mod. Only altitude and vertical velocity control to the surface is implemented so far.

Download v0.5

All releases

View attachment 126505

  • << set minimum value
  • < reduce value
  • > increase value
  • >> set maximum value
Height The target altitude. N.B. this is from approximately the bottom of the rocket, not the CoM.

Land at The target landing speed. Is ignored unless the height is set to the minimum value.

Throttle The target throttle to be used. This is used to estimate the vertical velocity needed.

Taking the orientation of the rocket into account this mod will set the thrust to attempt to reach 0 m/s at the specified altitude. If the altitude is set to _surface_ (the mimimum altitude) it will attempt to land at the specified velocity.

---------------------------------------------------------

Currently I use it to land more efficiently. It will set the throttle to reduce the vertical velocity so the spacecraft comes to a stop at the specified altitude. This allows me to land faster and so spend less fuel.

If the target altutude is set to the minimum value it will aim to reach the target altitude at the specified vertical velocity i.e land at that velocity. It does not control direction so the spacecraft needs to be pointed up to land. If, when hovering at a specified altitude, you rotate the spacecraft (do not point if down!) it will increase the throttle to maintain altitude as you start to move sideways. While moving sideways it will try to maintain the same altitude above the terrain - following the contours. This is to allow you to pick a landing site. It works best when used with SAS to maintain the desired direction.

To land with it from orbit, you need to point retrograde with thrust assist off, start to deorbit manually, then, when you are descending, switch thrust assist on aiming for the default target altitude of 40m. By pointing retrograde the sideways velocity is reduced as well. Once at the target altitude, switch 'prograde' off in SAS and manually set the direction to reduce the remaining sideways velocity to zero then set SAS to Surface 0 degress and change the target altitude to the minimum (1m). The spacecraft will land at the specified velocity.

Its not completely ready yet. I plan to try to specify a horizontal position to land at, to give a target for the horizontal velocity. The combination of the two should make it possible to display the direction you need to point it to land at the specified position as well as working from orbit - if I can make it work!
Holy shit this is gonna be helpful.
 

Venom21420

Project Builder
#8
I just used your mod for landing my starship and two other ships. Your mod is AWESOME you just made my SFS gaming a lot more enjoyable thx
 

Dahzito

Amateur Astronomer | Future Astrophysicist
Staff member
Moderator
Ace
Modder
Deja Vu
Hot Stuff
Space Glider
Swingin' on a Star
Moon Maker
Atlas
#10
Is this compatible with MacOS?
All of the mods like this one or ANAIS have support for MacOS actually.

Only the custom parts packs are different and some may not be compatible with MacOS.
 

Darthan

Modder
Deja Vu
Hot Stuff
Space Glider
Swingin' on a Star
ET phone home
Atlas
Voyager Quest
Floater
#16
question, does the mod account for terrain?
It uses the terrain height for the terrain directly underneath the spacecraft adjusted for the 'size radius' of the rocket. The height reported is the height of the center of mass. The size radius gives a 'safe' estimate for where the bottom of the rocket could be.
 

ilikespace

Planet editor
Recruit
Hot Stuff
Space Glider
Swingin' on a Star
Planet Sculptor
Atlas
Voyager Quest
Floater
#17
I dont need to lithobrake:p
This is awesome. I dont know how i didnt seen it before
 

Darthan

Modder
Deja Vu
Hot Stuff
Space Glider
Swingin' on a Star
ET phone home
Atlas
Voyager Quest
Floater
#24
Once mods for the SFS 2 start appearing you will need a way the easily tell which SFS version a mod is for. It is extremely unlikely that a SFS 1 mod could work with SFS 2.
 

Altaïr

Space Stig, Master of gravity
Veteran
Modder
Deja Vu
Hot Stuff
Swingin' on a Star
Atlas
Forum Legend
#25
It looks like it may be out soon. I added '1' to the name so I would not need to change it once SFS2 is out and mods start appearing for it (I can hope).
We are still not there, but we would organize a separate section for the mods dedicated to SFS 2, otherwise it will be extremely puzzling for everyone.