Stationeers

Stationeers

62 个评价
AIMeE base controller
3
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
111.535 KB
2021 年 1 月 11 日 上午 5:18
2021 年 4 月 3 日 下午 5:42
2 项改动说明 ( 查看 )

订阅以下载
AIMeE base controller

描述
Control AIMeE from a transmitter on your base.
Automatic return on low power.
Recall lever to keep AIMeE safe from storms.
Return and shutdown when there are no mineables.​

Note: a blank chip needs to be inserted into AIMeE for this to work. The program is exported to a chip on your base.
Use your GPS to set locations for the mining location, the unloading location and the home location.

The mining location is where AIMeE will go to mine. Make sure it is not too close to your base or she might want to mine something under your base.
The unload location is where AIMeE will go to unload when she is full. Inlet chute or bin. The further away from obstacles the better.
The home location is where AIMeE will go to shutdown. An area safe from storms.

d0: data transmitter
d1: LED display
d2: LED display
d3: LED display
d4: LED display
d5: Lever

This is using both the pathToTarget and moreToTarget movement modes to try and reduce misbehaviour. The default is to move straight line to target until she gets stuck and then change to the pathing mode to try and get around the obstacle.

If AIMeE does start behaving badly (getting lost, turning in circles), just reinsert the blank chip in her head.

Update 4/4/22:
Y location fix implemented (Thanks to Korin) AIMeE does not spend her days pole dancing anymore.
Recall lever will now interrupt mining rather than waiting until she has finished.

Updated version to work with wireless batteries can be found here:
https://psteamcommunity.yuanyoumao.com/workshop/filedetails/?id=2819545010
18 条留言
El Pidro 2023 年 3 月 10 日 上午 10:18 
If you have error on line 33 - check the transmitter mode
sugarle666 2022 年 8 月 26 日 下午 12:47 
Error on Line 33... wrong logictype... looks not working anymore without to fix the code
LDL 2022 年 8 月 1 日 下午 8:44 
so i been using this code for a bit, and For some stupid reason aimee would go, comeback emtpy and then park it, i would flash the code, she goes out, new location, comeback empty, and park it... i need a version where this robot doesnt stop trying to mine until its battery is zero before it can Park it. please and thank you T_T i dont code or know where begin
Vipzer|UK 2022 年 3 月 28 日 下午 9:44 
keep on getting error on line 35
Hoon 2021 年 9 月 21 日 下午 8:59 
The robot suddenly came back empty-handed. What's the problem?
ShadowFlux 2021 年 9 月 4 日 上午 8:30 
Good script; works well. AiMeE on the other hand has some personal issues. Like about every 3-4 restarts she wakes up with the uncontrollable urge to go to 0,0,0. This is NOT in the computer, she just wants to.

Also she is the worst at finding a door; we really need a large bay door or something. I have tried changing her back to PATH only, since 90% of the time she gets stuck for me is due to strait line movement. Tried changing all the 2's to 5's... but no joy.
Grimm Spector 2021 年 6 月 29 日 下午 10:40 
How do you keep her from getting stuck in every deep hole in the world? -.-
R'One 2021 年 6 月 3 日 下午 2:25 
error unknown at line 13
CowsAreEvil  [作者] 2021 年 4 月 25 日 下午 11:52 
The program will end once AIMeE has been recalled. The mode display should go to a grey zero to tell you this. This is deliberate as regular restarts make her behave better. Re-inset the chip to restart the code.
Battery recall is only tested after unloading. So increase the recall charge level if you are mining a long way away.
shiva chirr 2021 年 4 月 16 日 下午 2:53 
question anyone else finding triggering recall on the moment it reaches the home point it seems the ic on the base crashes and needs to pulled and replaced to fix it. also the battery based recall is not working