fix folders
52
EGOTech/stocker/CHANGELOG.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# Changelog
|
||||
|
||||
## v1.1.2 (Current) - 29/12/2022
|
||||
|
||||
- Added Discord link to help chip
|
||||
- Added cruise safety chip
|
||||
- Added laser safety chip
|
||||
- Added EGOTech logo decal
|
||||
- Removed laser pulse function
|
||||
|
||||
## v1.1.1 - 27/05/2022
|
||||
|
||||
- Replaced speedometer by MoriWatari with new speedometer
|
||||
- Removed fast travel core
|
||||
- Moved red tanks for easier access
|
||||
- Added 16 extra ore crates
|
||||
- Added eight extra small propellant tanks
|
||||
- Removed four heat sinks
|
||||
|
||||
## v1.1.0 (Ship Shop Version) - 27/05/2022
|
||||
|
||||
- Painted thrusters black
|
||||
- Painted emergency propellant tanks red
|
||||
- Fixed typo in thruster name
|
||||
- Added meter upgrade to basic crafting bench
|
||||
- Added 14 heat sinks
|
||||
- Reduced radiators to 6 bases and 12 extensions
|
||||
- Replaced all `RadiationRate` panels with `HeatTransferRate`
|
||||
- Added `StoredHeat` panel
|
||||
|
||||
## v1.0.4 - 16/02/2022
|
||||
|
||||
- Fixed sweeping of bottom two lasers
|
||||
- Switched lights from white to light blue for less glare
|
||||
|
||||
## v1.0.3 - 20/12/2021
|
||||
|
||||
- Added Reset ISAN button
|
||||
|
||||
## v1.0.2 - 17/12/2021
|
||||
|
||||
- Fixed labels for memory relays
|
||||
- Painted a small plate black that wasn't painted by mistake
|
||||
- Painted hardpoints of rangefinders and tools black
|
||||
|
||||
## v1.0.1 - 28/10/2021
|
||||
|
||||
- Fixed some broken cables on pilot left console
|
||||
|
||||
## v1.0.0 - 24/10/2021
|
||||
|
||||
- Initial release
|
||||
5
EGOTech/stocker/FAQ.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Frequently Asked Questions
|
||||
|
||||
## Why does NavGrid show an error?
|
||||
|
||||
This usually happens after travelling to the moon via the warp gate where ISAN is not available. After returning, this can be fixed by reseting ISAN.
|
||||
31
EGOTech/stocker/FEATURES.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Features
|
||||
|
||||
- 232 ore crates
|
||||
- Standard Cruise function
|
||||
- Turtle and Sloth functions with adjustable rates
|
||||
- Transponder system with ping function
|
||||
- Four mining lasers on turrets that point towards asteroids with sweeping
|
||||
- Two ore collectors that point towards asteroids
|
||||
- Material scanner that will point towards asteroids
|
||||
- Approach and auto mine functions
|
||||
- Two external and two internal resource bridges
|
||||
- Auto generator rate script with adjustable minimum rate
|
||||
- 32 T2 generators with 12 T2 fuel chambers and 20 spare rods on racks
|
||||
- Radiators and heat sinks that provide more than adequate cooling
|
||||
- 12 medium and 22 small propellant tanks with 70,000,000 units of propellant
|
||||
- Estimated flight time of 6 hours and range of 3,000km
|
||||
- Propellant time and fuel time panels
|
||||
- 104 batteries
|
||||
- 38 T2 box and 104 T2 triangle thrusters providing forward thrust
|
||||
- 32 T2 triangle thrusters providing braking thrust
|
||||
- 32 T2 triangle thrusters for maneuvers
|
||||
- Basic crafting bench to craft refills
|
||||
- Extra two small propellant tank with its own resource bridge for emergency refueling
|
||||
- Two extra hardpoints (all cabled and piped)
|
||||
- [NavGrid by StandPeter](https://github.com/pcbennion/starbase-navgrid)
|
||||
- [NavCas by fixerid](https://github.com/fixerid/sb-projects/tree/main/NavCas), using custom avoidance system and ISAN 3 in 1 from [Compass by Firestar99](https://gitlab.com/Firestar99/yolol/-/blob/master/src/compass/README.md), with ability to load target from NavGrid
|
||||
- Warning lights and alarm for obstacle detection and avoidance, powered by 34 rangefinders
|
||||
- Speedometer
|
||||
- Timer panel
|
||||
- Odometer panel
|
||||
- Many extra slots for YOLOL or memory chips, with two subnetworks setup
|
||||
4
EGOTech/stocker/KNOWN_ISSUES.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Known Issues
|
||||
|
||||
- There is limited coverage of range finders for the crash avoidance system. **Use at your own risk!**
|
||||
- Autopilot doesn't seem to point ship directly to destination (a bit off), use in conjunction with NavGrid.
|
||||
15
EGOTech/stocker/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Stocker by EGOTech
|
||||
|
||||
[](http://creativecommons.org/licenses/by-nc-sa/4.0/)
|
||||
|
||||
## For Stocker information and download, see the [ship page](https://starbase.egotech.space/ships/stocker)
|
||||
|
||||
[](https://discord.gg/BKwVGvncmN)
|
||||
|
||||
## Changelog
|
||||
|
||||
View changelog [here](CHANGELOG.md)
|
||||
|
||||
## Designed by EGOTech
|
||||
|
||||

|
||||
166
EGOTech/stocker/USAGE.md
Normal file
@@ -0,0 +1,166 @@
|
||||
# Usage
|
||||
|
||||
To enter the ship, there is a button on top of the center of the ship that will open a `Hatch`. Once inside you can also open and close the cockpit glass `Canopy`. The pilot `Chair` can be rotated around for easy access. Buttons for these are available in the pilot side consoles and also on the ceiling above the pilot seat.
|
||||
|
||||
## Flying the Ship
|
||||
|
||||

|
||||
|
||||
The left lever on the center console controls backwards thrust (braking) and the right lever controls forward thrust.
|
||||
|
||||
<nord-table>
|
||||
|
||||
| Interface | Function |
|
||||
|---|---|
|
||||
| `Speed` | Current speed in metres per second. |
|
||||
| `ForwardThrust` | Current forward thrust, maximum of 10,000 units |
|
||||
| `Cruise` | Activates cruise control, forward thrust will not reset to zero unless turned down. |
|
||||
| `Turtle` | Activates turtle mode which sets forward thrust to a maximum limit of `TurtleRate` of full thrust. |
|
||||
| `Sloth` | Activates the low sensitvity mode of pitch and yaw by limiting thrust. Use the `Sensitivity` switch to set the maximum thrust rate of sloth mode.|
|
||||
| `Aim` | Reduces the response time of key presses for pitch and yaw. |
|
||||
| `Guides` | Activates rangefinders (except center one which can be activated separately). Can be used as guide lasers. `Red` warning lights show location of obstacles (left, right and centre). |
|
||||
| `Range` & `Distance` | Activates center rangefinder, with `Distance` showing distance to object. |
|
||||
| `Material Scanner` & `Materials` | Turns on the [Ore Scanner](#ore-scanner) and shows results of scan. |
|
||||
| `Approach`, `Collect`, `Mine`, `Mining Lasers`, `Eco`, `Laser Sweep Height` & `Laser Sweep Depth` | Mining controls. See [Mining](#mining). |
|
||||
| `Nav`, `Autopilot`, `Avoidance` & `Target` | Autopilot controls. See [Autopilot and Crash Avoidance](#auto-pilot-and-crash-avoidance). |
|
||||
| `ISAN2` | Current ISAN coordinates of ship. |
|
||||
| `NavGrid`, `NavP`, `NavC` & `Attitude` | [NavGrid](https://github.com/pcbennion/starbase-navgrid) system, see [Using the Waypoint System](#using-the-waypoint-system). |
|
||||
| `SafeZone` | Whether current location is in the safe zone. |
|
||||
| `StrengthFactor` | Current strength of ship. May fluctuate as ore crates are filled. Anything below 1.0 means ship is damaged. |
|
||||
| Transponder `Toggle` & `Ping` | Transponder controls, `Toggle` turns on and off ship transponder while `Ping` will activate transponder for three seconds |
|
||||
| `Timer` | See [Timer](#timer). |
|
||||
|
||||
</nord-table>
|
||||
|
||||
<nord-banner variant="warning">
|
||||
|
||||
**NOTE:** For safety, firing full braking thrust will deactivate `Cruise`.
|
||||
|
||||
</nord-banner>
|
||||
|
||||
## Using the Waypoint System
|
||||
|
||||

|
||||
|
||||
### Viewing and Selecting Waypoints
|
||||
|
||||
This uses the [NavGrid](https://github.com/pcbennion/starbase-navgrid) system. Use the `Down` and `Up` waypoints selectors to select waypoint. The selected waypoint information is shown on `NavP` and `NavC` panels.
|
||||
|
||||
On the pilot center console, `NavGrid` will show the compass towards the selected waypoint while `Attitude` will show the ship's pitch, heading and roll directions. `NavGrid` is best used while not moving.
|
||||
|
||||
### Editing and Saving Waypoints
|
||||
|
||||
Use `Set` to save waypoint of current location to the current selected waypoint position.
|
||||
|
||||
To edit currently selected waypoint, use your `U` tool to add name, X, Y and Z values to `nName`, `nX`, `nY` and `nZ` respectively. Then use the `Save` button to save.
|
||||
|
||||
<nord-banner variant="warning">
|
||||
|
||||
**NOTE:** Waypoint 1 to 6 are presets and can not be over written.
|
||||
|
||||
</nord-banner>
|
||||
|
||||
### Loading Waypoint to Auto Pilot
|
||||
|
||||
Use `Load to Auto Pilot` to load curretnly selected waypoint to `Target` to be used with the auto pilot system.
|
||||
|
||||
## Auto Pilot and Crash Avoidance
|
||||
|
||||
The ship uses a modified version of [NavCas](https://github.com/fixerid/sb-projects/tree/main/NavCas) which uses the 3 in 1 ISAN from Compass. Waypoints are loaded from NavGrid waypoint system.
|
||||
|
||||
Use while the ship is stationary. Activating `Nav` will start point the ship towards `Target` waypoint and deactivate itself when done. `Autopilot` will activate `Nav` and fly to within 5km of `Target` waypoint with `Avoidance` activated.
|
||||
|
||||
<nord-banner variant="warning">
|
||||
|
||||
**NOTE:** `Nav` may not be very accurate. I recommend using it in conjunction with the NavGrid compass. The `dd` panel on the pilot left console shows debugging information for NavCas.
|
||||
|
||||
</nord-banner>
|
||||
|
||||
`Avoidance` will activate `Guides`. If the guides detect objects it will cut thrust and strafe up or down (will flash either the top or bottom `Blue` warning lights on the pilot center console according to the direction) while sounding an alarm (check game settings if you do not hear the alarm).
|
||||
It will also flash `Red` warning lights on the pilot center console according to the position of obstacle detected. If `Autopilot` is activated, it will readjust and continue its flight.
|
||||
|
||||
`Avoids` will show the counters for number of avoidances. The `Trip` counter can be reset by clearing the panel value using the `U` tool.
|
||||
|
||||
<nord-banner variant="warning">
|
||||
|
||||
**NOTE:** There is very limited coverage of range finders for the crash avoidance system. **Use at your own risk!**
|
||||
|
||||
</nord-banner>
|
||||
|
||||
## Resetting Navigation
|
||||
|
||||
If ISAN or NavGrid is not working, it can be reset using the `Reset ISAN` button. Press once to take ISAN offline, then press again to reset.
|
||||
|
||||
For v1.0.2 and below, do this by using your universal tool on the ISAN panel on the pilot console and clearing the value of the `_` field.
|
||||
The first time will show ISAN as offline, repeat clearing the value again to reset ISAN and NavGrid.
|
||||
|
||||
## Mining
|
||||
|
||||
To approach an asteroid, point the center range finder at an asteroid and activate `Approach`. Once in range (optimum range is 10 to 14m on `Distance`), activate `Mining Lasers` to turn on the mining lasers.
|
||||
`Laser Sweep Height` and `Laser Sweep Depth` will adjust sweeping distances of the lasers. `Eco` mode will only use the top two lasers to conserve power if needed.
|
||||
|
||||
`Mine` is a button which will activate automated mining. Point the center range finder at an asteroid and activate. It will activate `Material Scanner` and `Approach`, and once in range it will automatically activate `Lasers`.
|
||||
|
||||
`Collect` turns on the two ore collectors. Ore collectors automatically adjust to point towards objects detected by the center range finder.
|
||||
|
||||
If batteries start running out of charge while mining, turn on `Min Gen`. Continous use of the lasers and collectors at the same time requires a `Min Generator Limit` of around 90%.
|
||||
|
||||
<nord-banner variant="warning">
|
||||
|
||||
**NOTE:** For safety, lasers will turn off if the total fuel is less that 2,000 units.
|
||||
|
||||
</nord-banner>
|
||||
|
||||
### Ore Scanner
|
||||
|
||||
Activate using the `Material Scanner` button. The laser will try to adjust to point at the objects detected by the center range finder. Scan results will show on the `Materials` panel in number of stacks. It has a maximum range of 100m.
|
||||
|
||||
## Managing Power and Fuel
|
||||
|
||||

|
||||
|
||||
<nord-table>
|
||||
|
||||
| Interface | Function |
|
||||
|---|---|
|
||||
| `Propellant` | Total propellant remaining in propellant tanks, maximum of 70,000,000 units. |
|
||||
| `PropTime` | Time and distance remaining of propellant based on current usage. Distance is calculated from speed. |
|
||||
| `FuelTime` | Time and distance remaining of fuel based on current usage. Distance is calculated from speed. |
|
||||
| `WithBackup` | Same as FuelTime but takes into account backup rods available. Use the switch for `Backup Rods` to set the number of backup rods available. As standard there are 20 extra rods. |
|
||||
| `Fuel Rod 1` to `Fuel Rod 12` | Fuel remaining on fuel rods in individual fuel chambers, maximum of 300,000 units for each. |
|
||||
| `Generator` | Current generator rate, maximum of `Generator Limit`. |
|
||||
| `Min Gen` & `Min Generator Limit` | Toggle and sets minimum generator rate. See [Managing Power](#managing-power). |
|
||||
| `Shutdown` | Will turn off all fuel chambers thus shutting down generators. |
|
||||
| `Battery` | Shows current battery charge of the batteries, maximum of 10,000 units. |
|
||||
| `HeatTransferRate` | Current heat transfer rate of the heat sinks, maximum of 100%. |
|
||||
| `StoredHeat` | Current stored heat in the heat sinks, maximum of 15,000 units. |
|
||||
| `Flow In` & `Flow Out` | Toggle flow modes of resource bridges. See [Refueling Propellant](#refueling-propellant). |
|
||||
| `Lights` | Turns on and off internal lights. |
|
||||
| `Canopy` | Opens or closes glass canopy. |
|
||||
| `Hatch` | Opens or closes ship entry hatch. |
|
||||
| `Chair` | Rotates pilot chair. |
|
||||
|
||||
</nord-table>
|
||||
|
||||
### Managing Power
|
||||
|
||||
By default the generator will only run and ramp up when the batteries need charging so there is minimum management needed. But you can set a minimum generate rate by setting the `Min Generator Limit` value using the switch for the minimum rate and turning on `Min Gen`.
|
||||
|
||||
### Refueling Propellant
|
||||
|
||||
All four resource bridges can be used for refuelling propellant. To refuel from another ship, turn off `Flow Out` on the pilot right side console and leave `Flow In` turned on. Then connect a resource bridge to the other ship. To refuel another ship, do the opposite, `Flow Out` turned on and `Flow In` turned off.
|
||||
|
||||
The two red propellant tanks behind the generators can also be used to refuel the ship. Connect the `Red` resource bridge to the `Green` resource bridge to transfer propellant.
|
||||
You can then unbolt the red tanks and craft refills for the tanks using ice and then bolt the tank back to the support. Rinse and repeat until full. The `Red` and `Green` buttons toggles the respective resource bridges.
|
||||
|
||||
Remember to turn `Flow In` and `Flow Out` back on if you are using the Endo to collect ore via any of the ship's resource bridges.
|
||||
|
||||
## Other Stuff
|
||||
|
||||
### Timer
|
||||
|
||||
On the pilot center console there is a `Timer` panel which acts as a timer. It will run when the ship is active and show total time in years, weeks, days, hours, minutes and seconds. To reset the timer, use your universal tool (`U` key) and clear the value of the `Timer` field.
|
||||
|
||||
### Odometer
|
||||
|
||||
On the pilot right console there is a `Odometer` panel which will keep track of the ship's estimated flight distance based on speed. To reset the trip odometer, use your universal tool (`U` key) and clear the value of the `Odometer` field.
|
||||
BIN
EGOTech/stocker/blueprints/stocker.fbe
Normal file
BIN
EGOTech/stocker/blueprints/stocker_v1.0.0.fbe
Normal file
BIN
EGOTech/stocker/blueprints/stocker_v1.0.1.fbe
Normal file
BIN
EGOTech/stocker/blueprints/stocker_v1.0.2.fbe
Normal file
BIN
EGOTech/stocker/blueprints/stocker_v1.0.3.fbe
Normal file
BIN
EGOTech/stocker/blueprints/stocker_v1.0.4.fbe
Normal file
BIN
EGOTech/stocker/blueprints/stocker_v1.1.0.fbe
Normal file
BIN
EGOTech/stocker/blueprints/stocker_v1.1.1.fbe
Normal file
BIN
EGOTech/stocker/images/build_cost.png
Normal file
|
After Width: | Height: | Size: 354 KiB |
BIN
EGOTech/stocker/images/pilot_center_console.jpg
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
EGOTech/stocker/images/pilot_left_console.jpg
Normal file
|
After Width: | Height: | Size: 142 KiB |
BIN
EGOTech/stocker/images/pilot_right_console.jpg
Normal file
|
After Width: | Height: | Size: 168 KiB |
BIN
EGOTech/stocker/images/stocker1.jpg
Normal file
|
After Width: | Height: | Size: 541 KiB |
BIN
EGOTech/stocker/images/stocker10.jpg
Normal file
|
After Width: | Height: | Size: 683 KiB |
BIN
EGOTech/stocker/images/stocker11.jpg
Normal file
|
After Width: | Height: | Size: 526 KiB |
BIN
EGOTech/stocker/images/stocker12.jpg
Normal file
|
After Width: | Height: | Size: 573 KiB |
BIN
EGOTech/stocker/images/stocker2.jpg
Normal file
|
After Width: | Height: | Size: 630 KiB |
BIN
EGOTech/stocker/images/stocker3.jpg
Normal file
|
After Width: | Height: | Size: 643 KiB |
BIN
EGOTech/stocker/images/stocker4.jpg
Normal file
|
After Width: | Height: | Size: 363 KiB |
BIN
EGOTech/stocker/images/stocker5.jpg
Normal file
|
After Width: | Height: | Size: 467 KiB |
BIN
EGOTech/stocker/images/stocker6.jpg
Normal file
|
After Width: | Height: | Size: 494 KiB |
BIN
EGOTech/stocker/images/stocker7.jpg
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
EGOTech/stocker/images/stocker8.jpg
Normal file
|
After Width: | Height: | Size: 1019 KiB |
BIN
EGOTech/stocker/images/stocker9.jpg
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
EGOTech/stocker/photos/20211013183139_1.jpg
Normal file
|
After Width: | Height: | Size: 729 KiB |
BIN
EGOTech/stocker/photos/20211013183158_1.jpg
Normal file
|
After Width: | Height: | Size: 850 KiB |
BIN
EGOTech/stocker/photos/20211020204006_1.jpg
Normal file
|
After Width: | Height: | Size: 381 KiB |
BIN
EGOTech/stocker/photos/20211020204010_1.jpg
Normal file
|
After Width: | Height: | Size: 382 KiB |
BIN
EGOTech/stocker/photos/20211020204018_1.jpg
Normal file
|
After Width: | Height: | Size: 437 KiB |
BIN
EGOTech/stocker/photos/20211020204317_1.jpg
Normal file
|
After Width: | Height: | Size: 415 KiB |
BIN
EGOTech/stocker/photos/20211020204320_1.jpg
Normal file
|
After Width: | Height: | Size: 428 KiB |
BIN
EGOTech/stocker/photos/20211020204321_1.jpg
Normal file
|
After Width: | Height: | Size: 430 KiB |
BIN
EGOTech/stocker/photos/20211020204329_1.jpg
Normal file
|
After Width: | Height: | Size: 371 KiB |
BIN
EGOTech/stocker/photos/20211020215236_1.jpg
Normal file
|
After Width: | Height: | Size: 618 KiB |
BIN
EGOTech/stocker/photos/20211020215238_1.jpg
Normal file
|
After Width: | Height: | Size: 609 KiB |
BIN
EGOTech/stocker/photos/20211020215245_1.jpg
Normal file
|
After Width: | Height: | Size: 870 KiB |
BIN
EGOTech/stocker/photos/20211020222130_1.jpg
Normal file
|
After Width: | Height: | Size: 1021 KiB |
BIN
EGOTech/stocker/photos/20211020222134_1.jpg
Normal file
|
After Width: | Height: | Size: 873 KiB |
BIN
EGOTech/stocker/photos/20211020222145_1.jpg
Normal file
|
After Width: | Height: | Size: 888 KiB |
BIN
EGOTech/stocker/photos/20211020223238_1.jpg
Normal file
|
After Width: | Height: | Size: 486 KiB |
BIN
EGOTech/stocker/photos/20211020223304_1.jpg
Normal file
|
After Width: | Height: | Size: 445 KiB |
BIN
EGOTech/stocker/photos/20211020223324_1.jpg
Normal file
|
After Width: | Height: | Size: 642 KiB |
BIN
EGOTech/stocker/photos/20211020223335_1.jpg
Normal file
|
After Width: | Height: | Size: 547 KiB |
BIN
EGOTech/stocker/photos/20211020223344_1.jpg
Normal file
|
After Width: | Height: | Size: 416 KiB |
BIN
EGOTech/stocker/photos/20211020223358_1.jpg
Normal file
|
After Width: | Height: | Size: 506 KiB |
BIN
EGOTech/stocker/photos/20211020223416_1.jpg
Normal file
|
After Width: | Height: | Size: 504 KiB |
BIN
EGOTech/stocker/photos/20211020223509_1.jpg
Normal file
|
After Width: | Height: | Size: 520 KiB |
BIN
EGOTech/stocker/photos/20211020223540_1.jpg
Normal file
|
After Width: | Height: | Size: 696 KiB |
BIN
EGOTech/stocker/photos/20211020223618_1.jpg
Normal file
|
After Width: | Height: | Size: 864 KiB |
BIN
EGOTech/stocker/photos/20211020223639_1.jpg
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
EGOTech/stocker/photos/20211020223656_1.jpg
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
EGOTech/stocker/photos/20211020223717_1.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
EGOTech/stocker/photos/20211022222630_1.jpg
Normal file
|
After Width: | Height: | Size: 782 KiB |
BIN
EGOTech/stocker/photos/20211022222641_1.jpg
Normal file
|
After Width: | Height: | Size: 712 KiB |
BIN
EGOTech/stocker/photos/20211022233219_1.jpg
Normal file
|
After Width: | Height: | Size: 942 KiB |
550
EGOTech/stocker/ship.json
Normal file
@@ -0,0 +1,550 @@
|
||||
{
|
||||
"name": "Stocker",
|
||||
"version": "1.1.2",
|
||||
"path": "stocker",
|
||||
"types": [
|
||||
{
|
||||
"type": "miner",
|
||||
"order": 2
|
||||
}
|
||||
],
|
||||
"blueprints": [
|
||||
{
|
||||
"filename": "stocker.fbe",
|
||||
"path": "blueprints/stocker.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker.fbe",
|
||||
"version": "1.1.2",
|
||||
"description": "",
|
||||
"current": true
|
||||
},
|
||||
{
|
||||
"filename": "stocker_v1.1.1.fbe",
|
||||
"path": "blueprints/stocker_v1.1.1.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker_v1.1.1.fbe",
|
||||
"version": "1.1.1",
|
||||
"description": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"filename": "stocker_v1.1.0.fbe",
|
||||
"path": "blueprints/stocker_v1.1.0.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker_v1.1.0.fbe",
|
||||
"version": "1.1.0",
|
||||
"description": "",
|
||||
"current": false,
|
||||
"shipShop": true
|
||||
},
|
||||
{
|
||||
"filename": "stocker_v1.0.4.fbe",
|
||||
"path": "blueprints/stocker_v1.0.4.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker_v1.0.4.fbe",
|
||||
"version": "1.0.4",
|
||||
"description": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"filename": "stocker_v1.0.3.fbe",
|
||||
"path": "blueprints/stocker_v1.0.3.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker_v1.0.3.fbe",
|
||||
"version": "1.0.3",
|
||||
"description": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"filename": "stocker_v1.0.2.fbe",
|
||||
"path": "blueprints/stocker_v1.0.2.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker_v1.0.2.fbe",
|
||||
"version": "1.0.2",
|
||||
"description": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"filename": "stocker_v1.0.1.fbe",
|
||||
"path": "blueprints/stocker_v1.0.1.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker_v1.0.1.fbe",
|
||||
"version": "1.0.1",
|
||||
"description": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"filename": "stocker_v1.0.0.fbe",
|
||||
"path": "blueprints/stocker_v1.0.0.fbe",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/blueprints/stocker_v1.0.0.fbe",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"current": false
|
||||
}
|
||||
],
|
||||
"photos": [
|
||||
{
|
||||
"filename": "20211013183139_1.jpg",
|
||||
"path": "photos/20211013183139_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211013183139_1.jpg",
|
||||
"description": "",
|
||||
"featured": true
|
||||
},
|
||||
{
|
||||
"filename": "20211013183158_1.jpg",
|
||||
"path": "photos/20211013183158_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211013183158_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020204006_1.jpg",
|
||||
"path": "photos/20211020204006_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020204006_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020204010_1.jpg",
|
||||
"path": "photos/20211020204010_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020204010_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020204018_1.jpg",
|
||||
"path": "photos/20211020204018_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020204018_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020204317_1.jpg",
|
||||
"path": "photos/20211020204317_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020204317_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020204320_1.jpg",
|
||||
"path": "photos/20211020204320_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020204320_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020204321_1.jpg",
|
||||
"path": "photos/20211020204321_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020204321_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020204329_1.jpg",
|
||||
"path": "photos/20211020204329_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020204329_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020215236_1.jpg",
|
||||
"path": "photos/20211020215236_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020215236_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020215238_1.jpg",
|
||||
"path": "photos/20211020215238_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020215238_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020215245_1.jpg",
|
||||
"path": "photos/20211020215245_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020215245_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020222130_1.jpg",
|
||||
"path": "photos/20211020222130_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020222130_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020222134_1.jpg",
|
||||
"path": "photos/20211020222134_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020222134_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020222145_1.jpg",
|
||||
"path": "photos/20211020222145_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020222145_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223238_1.jpg",
|
||||
"path": "photos/20211020223238_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223238_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223304_1.jpg",
|
||||
"path": "photos/20211020223304_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223304_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223324_1.jpg",
|
||||
"path": "photos/20211020223324_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223324_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223335_1.jpg",
|
||||
"path": "photos/20211020223335_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223335_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223344_1.jpg",
|
||||
"path": "photos/20211020223344_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223344_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223358_1.jpg",
|
||||
"path": "photos/20211020223358_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223358_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223416_1.jpg",
|
||||
"path": "photos/20211020223416_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223416_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223509_1.jpg",
|
||||
"path": "photos/20211020223509_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223509_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223540_1.jpg",
|
||||
"path": "photos/20211020223540_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223540_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223618_1.jpg",
|
||||
"path": "photos/20211020223618_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223618_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223639_1.jpg",
|
||||
"path": "photos/20211020223639_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223639_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223656_1.jpg",
|
||||
"path": "photos/20211020223656_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223656_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211020223717_1.jpg",
|
||||
"path": "photos/20211020223717_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211020223717_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211022222630_1.jpg",
|
||||
"path": "photos/20211022222630_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211022222630_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211022222641_1.jpg",
|
||||
"path": "photos/20211022222641_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211022222641_1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "20211022233219_1.jpg",
|
||||
"path": "photos/20211022233219_1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/photos/20211022233219_1.jpg",
|
||||
"description": ""
|
||||
}
|
||||
],
|
||||
"readme": {
|
||||
"path": "README.md",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/README.md"
|
||||
},
|
||||
"changelog": {
|
||||
"path": "CHANGELOG.md",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/CHANGELOG.md",
|
||||
"discord": "https://discord.com/channels/1013328685564178472/1025283071966195742/1235770493466972190"
|
||||
},
|
||||
"cost": 0,
|
||||
"images": [
|
||||
{
|
||||
"filename": "build_cost.png",
|
||||
"path": "images/build_cost.png",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/build_cost.png",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "pilot_center_console.jpg",
|
||||
"path": "images/pilot_center_console.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/pilot_center_console.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "pilot_left_console.jpg",
|
||||
"path": "images/pilot_left_console.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/pilot_left_console.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "pilot_right_console.jpg",
|
||||
"path": "images/pilot_right_console.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/pilot_right_console.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker1.jpg",
|
||||
"path": "images/stocker1.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker1.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker10.jpg",
|
||||
"path": "images/stocker10.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker10.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker11.jpg",
|
||||
"path": "images/stocker11.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker11.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker12.jpg",
|
||||
"path": "images/stocker12.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker12.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker2.jpg",
|
||||
"path": "images/stocker2.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker2.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker3.jpg",
|
||||
"path": "images/stocker3.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker3.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker4.jpg",
|
||||
"path": "images/stocker4.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker4.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker5.jpg",
|
||||
"path": "images/stocker5.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker5.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker6.jpg",
|
||||
"path": "images/stocker6.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker6.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker7.jpg",
|
||||
"path": "images/stocker7.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker7.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker8.jpg",
|
||||
"path": "images/stocker8.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker8.jpg",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"filename": "stocker9.jpg",
|
||||
"path": "images/stocker9.jpg",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/images/stocker9.jpg",
|
||||
"description": ""
|
||||
}
|
||||
],
|
||||
"videos": [
|
||||
{
|
||||
"channel": {
|
||||
"text": "Krawll Unchained",
|
||||
"url": "https://www.youtube.com/channel/UCCqloSZ0VHn0BCFhIlJNS8A"
|
||||
},
|
||||
"video": {
|
||||
"text": "Starbase - Community Ship Showcase - 3 Ships by \"Egomaniac\" ( The moon Crasher) 😉😁",
|
||||
"url": "https://www.youtube.com/watch?v=RXAccUqcWhI"
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildCost": {
|
||||
"materials": [
|
||||
{
|
||||
"ore": "aegisium",
|
||||
"label": "Aegisium Ore",
|
||||
"kv": 99886,
|
||||
"stacks": 57.8
|
||||
},
|
||||
{
|
||||
"ore": "ajatite",
|
||||
"label": "Ajatite Ore",
|
||||
"kv": 15741,
|
||||
"stacks": 9.1
|
||||
},
|
||||
{
|
||||
"ore": "arkanium",
|
||||
"label": "Arkanium Ore",
|
||||
"kv": 2995,
|
||||
"stacks": 1.7
|
||||
},
|
||||
{
|
||||
"ore": "bastium",
|
||||
"label": "Bastium Ore",
|
||||
"kv": 251725,
|
||||
"stacks": 145.7
|
||||
},
|
||||
{
|
||||
"ore": "charodium",
|
||||
"label": "Charodium Ore",
|
||||
"kv": 187109,
|
||||
"stacks": 108.3
|
||||
},
|
||||
{
|
||||
"ore": "exorium",
|
||||
"label": "Exorium Ore",
|
||||
"kv": 19465,
|
||||
"stacks": 11.3
|
||||
},
|
||||
{
|
||||
"ore": "glass",
|
||||
"label": "Glass",
|
||||
"kv": 2301,
|
||||
"stacks": 1.3
|
||||
},
|
||||
{
|
||||
"ore": "ice",
|
||||
"label": "Ice",
|
||||
"kv": 72000,
|
||||
"stacks": 41.7
|
||||
},
|
||||
{
|
||||
"ore": "karnite",
|
||||
"label": "Karnite Crystal",
|
||||
"kv": 226,
|
||||
"stacks": 0.1
|
||||
},
|
||||
{
|
||||
"ore": "kutonium",
|
||||
"label": "Kutonium Ore",
|
||||
"kv": 260,
|
||||
"stacks": 0.2
|
||||
},
|
||||
{
|
||||
"ore": "nhurgite",
|
||||
"label": "Nhurgite Crystal",
|
||||
"kv": 70838,
|
||||
"stacks": 41
|
||||
},
|
||||
{
|
||||
"ore": "vokarium",
|
||||
"label": "Vokarium Ore",
|
||||
"kv": 124761,
|
||||
"stacks": 72.2
|
||||
},
|
||||
{
|
||||
"ore": "total",
|
||||
"label": "Total ore",
|
||||
"kv": 847307,
|
||||
"stacks": 490.3
|
||||
}
|
||||
],
|
||||
"cost": {
|
||||
"assembly": 349943,
|
||||
"manufacturing": 880946,
|
||||
"total": 1230888
|
||||
},
|
||||
"discord": "https://discord.com/channels/1013328685564178472/1025283071966195742/1235742055440060447"
|
||||
},
|
||||
"links": [
|
||||
{
|
||||
"text": "Starbase Ship Shop Page",
|
||||
"url": "https://sb-creators.org/makers/Egomaniac/ship/%5BFREE%5D%20Stocker"
|
||||
},
|
||||
{
|
||||
"text": "Ship GitHub Page",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/tree/main/stocker"
|
||||
}
|
||||
],
|
||||
"saleType": "free",
|
||||
"slug": "stocker",
|
||||
"description": "The Stocker is a 232 ore crate capacity mining ship. It is designed as a direct upgrade for those who have outgrown the Rigger.\n\nThe Stocker is also available to buy in game at Scenery Showroom of Rando 4 Ship Shop at stations with Rando ship shops.",
|
||||
"shortDescription": "The Stocker is a 232 ore crate capacity mining ship. It is designed as a direct upgrade for those who have outgrown the Rigger.",
|
||||
"knownIssues": {
|
||||
"path": "KNOWN_ISSUES.md",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/KNOWN_ISSUES.md"
|
||||
},
|
||||
"faq": {
|
||||
"path": "FAQ.md",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/FAQ.md"
|
||||
},
|
||||
"features": [
|
||||
{
|
||||
"label": "Material Crates",
|
||||
"value": 232
|
||||
},
|
||||
{
|
||||
"label": "Mining Lasers",
|
||||
"value": 4
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
{
|
||||
"id": "rando-shop",
|
||||
"label": "Rando Ship Shop"
|
||||
},
|
||||
{
|
||||
"id": "t2-generator",
|
||||
"label": "T2 Generators"
|
||||
},
|
||||
{
|
||||
"id": "t2-thruster",
|
||||
"label": "T2 Thrusters"
|
||||
},
|
||||
{
|
||||
"id": "mining-laser",
|
||||
"label": "Mining Laser"
|
||||
},
|
||||
{
|
||||
"id": "isan",
|
||||
"label": "ISAN"
|
||||
},
|
||||
{
|
||||
"id": "auto-pilot",
|
||||
"label": "Auto Pilot"
|
||||
},
|
||||
{
|
||||
"id": "asteroid-avoidance",
|
||||
"label": "Asteroid Avoidance"
|
||||
},
|
||||
{
|
||||
"id": "basic-bench",
|
||||
"label": "Basic Crafting Bench"
|
||||
}
|
||||
],
|
||||
"featureList": {
|
||||
"path": "FEATURES.md",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/FEATURES.md"
|
||||
},
|
||||
"usage": {
|
||||
"path": "USAGE.md",
|
||||
"url": "https://github.com/EGO-Tech/starbase-ships/raw/main/stocker/USAGE.md"
|
||||
},
|
||||
"discord": "https://discord.com/channels/1013328685564178472/1025283071966195742"
|
||||
}
|
||||
16
EGOTech/stocker/yolol/approach_pid_basic.yolol
Normal file
@@ -0,0 +1,16 @@
|
||||
s=10 Kp=0.05 Ki=0.00 Kd=0.05 t=3 m=1000 g=1/m p=0 goto1+:Approach>0
|
||||
r=:Distance :Range=1 :Turtle=:TurtleRate :Avoidance=0 :Cruise=10
|
||||
e=r-s d=e-p i+=e/(d-g) i/=2 o=Kp*e+Ki*i+Kd*d p=e r*=r<m
|
||||
z/=:Approach*r*(d*d>g+e*e>4) :FCUForward=o/t :FcuBackward=-o*t goto2
|
||||
:Approach=0 :FCUForward=0 :FcuBackward=0 goto1
|
||||
|
||||
// PID approach uses a proportional-integal-derivative controller to
|
||||
// output FCU values appropriate to the distance and current speed.
|
||||
// It has several tunables:
|
||||
// s (setpoint) the distance we want to get to
|
||||
// Kp (proportional) how much we factor in our current distance
|
||||
// Ki (integral) factor of how long we've been at our distance
|
||||
// Kd (derivative) factor of prediction of where we'll be in future
|
||||
// t (thrust diff) account for disparity in forward/rev thrust power
|
||||
// CREDIT TO WHITESTRAKE
|
||||
// github.com/Archaegeo/Starbase/blob/main/Approach/ApproachPID.yolol
|
||||
20
EGOTech/stocker/yolol/autopilot/autopilot_advanced.yolol
Normal file
@@ -0,0 +1,20 @@
|
||||
if:AutoPilot<1 and :Nav<1theng=0 f=0 goto1end ap=:AutoPilot
|
||||
r=20 pt=5 yt=5 ep=1.05 ed=5000 et=5000 t=:Turtle :Cruise=0
|
||||
ifg>0then:Avoidance=1else:Avoidance=0end
|
||||
xD=:wx-:ex yD=:wy-:ey zD=:wz-:ez Dt=sqrt(xD^2+yD^2+zD^2)
|
||||
iff<1thenx0=:ex y0=:ey z0=:ez Do=Dt f=1 r=0end
|
||||
da=sqrt((:ex-x0)^2+(:ey-y0)^2+(:ez-z0)^2) d0=d1 d1=Dt v1=d0-d1
|
||||
dx=(Do-da)*ep+ed ifDt>dx or :cas>0thens=1 :cas=0end
|
||||
ifs>0then:FCUForward=0 ifabs v1<15thenf=0 g=0 s=0 goto1endend
|
||||
e=10^6 ds=e*sqrt((:fx-:ex)^2+(:fy-:ey)^2+(:fz-:ez)^2) Dd=ds/Dt
|
||||
xs=:ex+Dd*xD/e ys=:ey+Dd*yD/e zs=:ez+Dd*zD/e vr=xs-:fx vs=ys-:fy
|
||||
vt=zs-:fz vj=:gx-:ex vk=:gy-:ey vl=:gz-:ez va=:fx-:ex vb=:fy-:ey
|
||||
vc=:fz-:ez vx=vk*vc-vb*vl vy=-(vj*vc-va*vl) vz=vj*vb+va*vk
|
||||
pj=vr*vj+vs*vk+vt*vl px=vr*vx+vs*vy+vz*vt a=pj>-r b=px>-r c=pj<-r
|
||||
n="\n" :dd=Do-da+n+Dt+n+v1+"\npj:"+pj+" px:"+px+" r:"+r+" g:"+g d=pj>r
|
||||
ifDt<et then:AutoPilot=0 :FCUForward=0end ifg>0thengoto1end h=pj<r
|
||||
ifa*h*b*(px<r)theng=ap :FCUForward=t*ap :Nav=0 goto1end j=px>r k=px<-r
|
||||
ifc then:FcuRotationalPitch=pt end ifd then:FcuRotationalPitch=-pt end
|
||||
ifj then:FcuRotationalYaw=yt end
|
||||
ifk then:FcuRotationalYaw=-yt end goto1
|
||||
// Original by fixerid
|
||||
@@ -0,0 +1,3 @@
|
||||
n="\n" :target=n+n+"X: "+:wx+n+"Y: "+:wy+n+"Z: "+:wz
|
||||
if:load_ap<1thengoto1end
|
||||
:wx=:nx :wy=:ny :wz=:nz :load_ap=0 goto1
|
||||
13
EGOTech/stocker/yolol/autopilot/isan_3in1_basic.yolol
Normal file
@@ -0,0 +1,13 @@
|
||||
a="origin_" b=a+"north" c=a+"south" d=a+"east" :kt=b goto2
|
||||
a+="west" e=160000 f=8*e g=f*3/13 h=2*e i=h*13/19 j=f*3/19 k=h*13/3
|
||||
l=1000000 m=l-:ke m*=m n=l-:kf n*=n o=l-:kg o*=o :kt=c
|
||||
p=q r=s t=u
|
||||
v=l-:ke v*=v w=l-:kf w*=w x=l-:kg x*=x :kt=d
|
||||
:ex=(m+v)/f+y/g-z/j :ey=v/h-m/i+(y+z)/k :ez=(y+z-m-v)/e
|
||||
y=l-:ke y*=y q=l-:kf q*=q s=l-:kg s*=s :kt=a
|
||||
:fx=(n+w)/f+p/g-aa/j :fy=w/h-n/i+(p+aa)/k :fz=(p+aa-n-w)/e
|
||||
z=l-:ke z*=z aa=l-:kf aa*=aa u=l-:kg u*=u :kt=b
|
||||
:gx=(o+x)/f+r/g-t/j :gy=x/h-o/i+(r+t)/k :gz=(r+t-o-x)/e goto3
|
||||
|
||||
// based on ISAN v2.5 by Collective
|
||||
// Compass by Firestar99
|
||||
2
EGOTech/stocker/yolol/avoidance/alarm_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
a=:au+:ad ifa<1thengoto1end :alarmOn=1 :alarm=1
|
||||
if:alarmOn thengoto2end :alarm=0 goto1
|
||||
4
EGOTech/stocker/yolol/avoidance/avoidance_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
a=100 if:av<1thengoto1end :guide=1 :range=1
|
||||
f=:FcuForward b=:ru+:rm+:rd :FcuForward*=b==0 z/=b==0 goto1+:av
|
||||
b=4*:rd-2*:ru+:rm c=a*(b>0-b<0) :FUD=c :au=c>0 :ad=c<0 z/=:av*b goto3
|
||||
:FcuForward=f :FUD=0 :au=0 :ad=0 goto1
|
||||
@@ -0,0 +1,2 @@
|
||||
a=:au+:ad ifa<1thengoto1end
|
||||
b=:au+:ad ifb>0thengoto2end :cas=1 :lav++ :tav++ goto1
|
||||
@@ -0,0 +1,2 @@
|
||||
n="\n" p="Clear panel value to reset trip" a="Lifetime: " b="Trip: "
|
||||
if:Avoids==""then:tav=0end :Avoids=n+a+:lav+n+b+:tav+n+p goto2
|
||||
2
EGOTech/stocker/yolol/avoidance/avoidance_rd_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
k=1000 a=11*k
|
||||
:rd=:gd*((:r8+:r9+:r0+:c8+:c9+:c0+:d2+:d3+:l8+:l9+:l0)<a) goto2
|
||||
2
EGOTech/stocker/yolol/avoidance/avoidance_rm_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
k=1000 a=(12+:range)*k c=:distance*:range
|
||||
:rm=:gd*((:r4+:r5+:r6+:r7+:c5+:c6+:c7+:d1+:l4+:l5+:l6+:l7+c)<a) goto1
|
||||
2
EGOTech/stocker/yolol/avoidance/avoidance_ru_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
k=1000 a=10*k
|
||||
:ru=:gd*((:r1+:r2+:r3+:c1+:c2+:c3+:c4+:l1+:l2+:l3)<a) goto2
|
||||
1
EGOTech/stocker/yolol/backup_rods_switch_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:BackupRods=(:BackupRods+:brs)*(:BackupRods>=0)-:BackupRods>:mbr goto1
|
||||
4
EGOTech/stocker/yolol/backup_rods_time_advanced.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
n="\n" a="h" b="m" c="s" k="km" e="\n\nDistance:\n" p=300000
|
||||
s=t%60 m=(t-s)%3600/60 h=(t-m*60-s)/3600 d=:sp*t/1000
|
||||
:WithBackup=h+a+m+b+(s-s%1)+c+e+d+k f=:Fuel :bcw=19
|
||||
t=(:Fuel+:BackUpRods*p)/((f-:Fuel)/4) goto2
|
||||
1
EGOTech/stocker/yolol/cruise_safety_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
if:fcubackward==100then:cruise=10end goto1
|
||||
1
EGOTech/stocker/yolol/dynamic_generator_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:GenRate=:MinEPS*:Min_EPS+(10000-:Battery)/50 goto1
|
||||
4
EGOTech/stocker/yolol/fuel_time_advanced.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
n="\n" a="h" b="m" c="s" k="km" e="\n\nDistance:\n"
|
||||
s=t%60 m=(t-s)%3600/60 h=(t-m*60-s)/3600 d=:sp*t/1000
|
||||
:FuelTime=n+h+a+m+b+(s-s%1)+c+e+d+k f=:Fuel :fcw=19
|
||||
t=:Fuel/((f-:Fuel)/4) goto2
|
||||
1
EGOTech/stocker/yolol/isan_reset_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
if:isan_reset then:_="" :isan_reset=0end goto1
|
||||
4
EGOTech/stocker/yolol/material_point_scanner_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
n="\n" q=n+n s=1728 k=" stks"+q o=" Ore" c=" Crystal" d="Scanning..."
|
||||
i=0 r=q if:scr<1then:scan=q+"SCANNER OFF" goto2end :scn=1 r+=d t=q
|
||||
ifi<:sr then:ix=i a=:vl/s/100*100 b=:mt-c-o t+=b+n+a+k i++ goto3end
|
||||
ift!=q thenr=t end :scan=r goto2
|
||||
1
EGOTech/stocker/yolol/min_eps_switch_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:MinEPS=(:MinEPS+:mes)*(:MinEPS>=0)-:MinEPS>100 goto1
|
||||
1
EGOTech/stocker/yolol/mining/lasers_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
if:lasers<1then:lsr1=0 :lsr2=0 goto1end :lsr1=1 :lsr2=1-:leco goto1
|
||||
14
EGOTech/stocker/yolol/mining/lasers_bottom_basic.yolol
Normal file
@@ -0,0 +1,14 @@
|
||||
x=1.92 y=3.84 ry=3.84 r=57.296 dd=12 s=40 m=999
|
||||
if:lasers<1thengoto2end rd=:Distance d=rd+x
|
||||
ifrd<1 or rd>m thend=dd+x end lpc=y/d*r iflpc>s thenlpc=s end
|
||||
mh=:mh/2 :lp3=lpc :lp4=lpc :lr3=lpc :lr4=lpc lru=(ry+mh)/d*r
|
||||
lrd=(ry-mh)/d*r md=:md/2 lpf=y/(d+md+md)*r iflpf>s thenlpf=s end
|
||||
lpn=y/(d+md)*r iflpn>s thenlpn=s end :lcw2=1
|
||||
:lp3=lpf :lp4=lpn :lr3=lru :lr4=lrd :lcw2=3
|
||||
:lp3=lpc :lp4=lpc :lr3=lpc :lr4=lpc :lcw2=3
|
||||
:lp3=lpn :lp4=lpf :lr3=lru :lr4=lrd :lcw2=3
|
||||
:lp3=lpc :lp4=lpc :lr3=lpc :lr4=lpc :lcw2=3
|
||||
:lp3=lpn :lp4=lpf :lr3=lrd :lr4=lru :lcw2=3
|
||||
:lp3=lpc :lp4=lpc :lr3=lpc :lr4=lpc :lcw2=3
|
||||
:lp3=lpf :lp4=lpn :lr3=lrd :lr4=lru
|
||||
goto2
|
||||
1
EGOTech/stocker/yolol/mining/lasers_safety_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:lasers*=:fuel>2000 goto1
|
||||
14
EGOTech/stocker/yolol/mining/lasers_top_basic.yolol
Normal file
@@ -0,0 +1,14 @@
|
||||
x=1.92 y=3.84 r=57.296 dd=12 s=40 m=999
|
||||
if:lasers<1thengoto2end rd=:Distance d=rd+x
|
||||
ifrd<1 or rd>m thend=dd+x end lpc=y/d*r iflpc>s thenlpc=s end
|
||||
mh=:mh/2 :lp1=lpc :lp2=lpc :lr1=0 :lr2=0 lr=mh/d*r
|
||||
md=:md/2 lpf=y/(d+md+md)*r iflpf>s thenlpf=s end
|
||||
lpn=y/(d+md)*r iflpn>s thenlpn=s end :lcw=1
|
||||
:lp1=lpf :lp2=lpn :lr1=lr :lr2=-lr :lcw=3
|
||||
:lp1=lpc :lp2=lpc :lr1=0 :lr2=0 :lcw=3
|
||||
:lp1=lpn :lp2=lpf :lr1=lr :lr2=-lr :lcw=3
|
||||
:lp1=lpc :lp2=lpc :lr1=0 :lr2=0 :lcw=3
|
||||
:lp1=lpn :lp2=lpf :lr1=-lr :lr2=lr :lcw=3
|
||||
:lp1=lpc :lp2=lpc :lr1=0 :lr2=0 :lcw=3
|
||||
:lp1=lpf :lp2=lpn :lr1=-lr :lr2=lr
|
||||
goto2
|
||||
4
EGOTech/stocker/yolol/mining/mine_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
pd=10 e=3 x=pd+e k=999
|
||||
if:mine<1thenn=0 goto2end if:Distance>k then:mine=0end l=n+3 gotol
|
||||
:Approach=1 :scr=1 n=1
|
||||
rd=:Distance d=rd+e ifd<1 or rd>x thengoto2end :lasers=1 :mine=0 goto2
|
||||
@@ -0,0 +1 @@
|
||||
:md=(:md+:mds)*(:md>=0)-:md>:mdm goto1
|
||||
@@ -0,0 +1 @@
|
||||
:mh=(:mh+:mhs)*(:mh>=0)-:mh>:mhm goto1
|
||||
3
EGOTech/stocker/yolol/mining/ore_collector_basic.yolol
Normal file
@@ -0,0 +1,3 @@
|
||||
x=1.44 ry=-0.96 py=-2.4 r=57.296 if:Collect<1thengoto1end
|
||||
if:Distance<1thengoto1end d=:Distance+x :op=py/d*r
|
||||
:or1=ry/d*r :or2=-:or1 goto1
|
||||
5
EGOTech/stocker/yolol/odometer_basic.yolol
Normal file
@@ -0,0 +1,5 @@
|
||||
n="\n" p="Clear panel value to reset trip" k=1000 u="km" t="Trip:"+n
|
||||
if:Odometer==""then:odometer=n+"Reseting..." :odo_t=0end
|
||||
s=:sp :odo_l+=s/k :odo_t+=s/k
|
||||
if:Odometer==""thengoto1end :Odometer=n+:odo_l+u+n+t+:odo_t+u+n+p
|
||||
goto1
|
||||
4
EGOTech/stocker/yolol/prop_time_advanced.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
n="\n" a="h" b="m" c="s" k="km" e="\n\nDistance:\n" t=0
|
||||
s=t%60 m=(t-s)%3600/60 h=(t-m*60-s)/3600 d=:sp*t/1000
|
||||
:PropTime=n+h+a+m+b+(s-s%1)+c+e+d+k p=:Propellant :pcw=19
|
||||
t=:Propellant/((p-:Propellant)/4) goto2
|
||||
1
EGOTech/stocker/yolol/sensitivity_switch_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:sense=(:sense+:sss)*(:sense>=0)-:sense>100 goto1
|
||||
2
EGOTech/stocker/yolol/sloth_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
if:sloth<1then:sense1=100 :sense2=-100 goto1end
|
||||
:sense1=:sensitivity :sense2=-:sensitivity goto1
|
||||
12
EGOTech/stocker/yolol/timer_advanced.yolol
Normal file
@@ -0,0 +1,12 @@
|
||||
n="\n" p="Clear panel value to reset" q="y" j="w" k="d" l="h" o="m"
|
||||
u="s" g="Reseting..." a=60 b=a*a c=b*24 e=c*7 f=c*365 x=1000
|
||||
if:Timer==""then:ts=0 z=n+n+g end :Timer=z
|
||||
t=:ts s=t%a t-=s m=t%b/a t-=m*a h=t%c/b t-=h*b d=t%e/c t-=d*c w=t%f/e
|
||||
t-=w*e y=t/f z=n ify>0thenz+=y+q end r=w%1 d+=r*7 ifd>6thenw++ d-=7end
|
||||
ifw>0thenz+=w/x*x+j end v=d%1 ifv==0.999thend+=0.001end // rounding
|
||||
ifd>0thenz+=d+k+n elsez+=n end z+=h+l+m+o+s+u+n+n+p :ts++ goto3
|
||||
|
||||
// Outputs:
|
||||
// :Timer - Global for text panel
|
||||
// Inputs:
|
||||
// :ts - store timer in seconds, put in memory chip or device
|
||||
1
EGOTech/stocker/yolol/total_fuel_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:fuel=:f1+:f2+:f3+:f4+:f5+:f6+:f7+:f8+:f9+:f10+:f11+:f12 goto1
|
||||
2
EGOTech/stocker/yolol/transponder_ping_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
s=3 if:Ping<1thengoto1end i=0 :ponder=1 :idBlink=1
|
||||
ifi<s*5theni+=1 goto2end :Ping=0 :idBlink=0 :ponder=0 goto1
|
||||
1
EGOTech/stocker/yolol/turtle_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
if:Turtle<100then:Turtle=:TurtleRate end goto1
|
||||
1
EGOTech/stocker/yolol/turtle_rate_switch_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:TurtleRate=(:TurtleRate+:trs)*(:TurtleRate>=0)-:TurtleRate>100 goto1
|
||||
@@ -0,0 +1,2 @@
|
||||
k=1000 a=(3+:range)*k c=:distance*:range
|
||||
:w9=:gd*((:c2+:c4+:c6+c)<a) :w0=:gd*((:c1+:c3+:c5+c)<a) goto1
|
||||
@@ -0,0 +1,2 @@
|
||||
k=1000 a=(4+:range)*k c=:distance*:range
|
||||
:wa=:gd*((:c9+:c0+:d1+:d3+c)<a) :wb=:gd*((:c7+:c8+:c9+:d2+c)<a) goto1
|
||||