[READ-ONLY] Mirror of https://github.com/thoda-dev/sb-approach-speed-control. A script to secure your approach from a target and avoid collision.
0

Configure Feed

Select the types of activity you want to include in your feed.

8 2 0

Clone this repository

https://tangled.org/thoda.dev/sb-approach-speed-control https://tangled.org/did:plc:qyk3och2usirri7xxsbi4zh3
git@tangled.org:thoda.dev/sb-approach-speed-control git@tangled.org:did:plc:qyk3och2usirri7xxsbi4zh3

For self-hosted knots, clone URLs may differ based on your setup.



readme.md

Approach Script with speed control#

A script to secure your approach from a target and avoid collision.

Showcase Video available here : https://youtu.be/GqaKc3-UVYU

Guilded Server (better than Discord)#

You can join me on Guilded for help or suggestions or requests by following that link : https://guilded.jericho.dev

Elements Required#

  • 1 Range Finder
  • 1 Hybrid Button (or any other type of button)
  • 1 Basic YOLOL Chip
  • 1 YOLOL Chip Socket

Button Fields#

You must name your button Approach. If you are using a Hybrid Button, be sure to set the ButtonOnStateValue to 1 and the ButtonOffStateValue to 0. The ButtonStyle must be set to 1 if you don't want to maintain the button.

Button Fields

Range Finder Fields#

You are free to chose the 1st field of the Range Finder, it's only used to switch on or off. If you want th Range Finder to switch on at the same time you press the Approach button, name it Approach too. The second field is the max distance of the Range Finder, it must be named rLength and you are free to chose the value you want to set it. The last field must be named rD, it's the current length of the beam.

Range Finder Fields

Install the script#

copy the content of the file approach.yolol on the basic chip

options#

On the 1st line of the script you can change 3 options:

a=15 b=150 c=1 if:rD>=:rLength thengoto1end goto:Approach+1
  • a is the distance you want to stop from the target in meters
  • b is the max speed your ship is capable. more this value is accurate, more the precision of the script will be good in meters/second
  • c is a brake factor. If you ship is missing a bit of braking power, you can increase that value, it will multiply the thrust send to your brake.

Usage#

Point the beam on a target (eg: an asteroid) and press the button. The ship will adjust its speed and brake to reach the specified distance from the target.

Support or donation#

if you like it,