Actions

Difference between revisions of "AIMEe"

From Unofficial Stationeers Wiki

m (added some of the data types, not confident on the rest, so i left them blank until i double check them)
(add logic class to robot)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:MIPS Programming]]
+
[[Category:IC10 Programming]]
 
{{Itembox
 
{{Itembox
| name       = Robot
+
| name = Kit (AIMeE)
| image       = [[File:{{#setmainimage:Robot.png}}]]
+
| image = [[File:ItemKitAIMeE.png]]
| stacks     = 1
+
| prefabhash = 496830914
| createdwith = [[Electronics Printer]] '''MK2'''
+
| prefabname = ItemKitAIMeE
| cost        = 5g [[Gold]], 5g [[Copper]], 22g [[Steel]], 15g [[Electrum]], 7g [[Invar]], 8g [[Constantan]], 10g [[Astroloy]]
+
| stacks = 1
 +
| slot_class = SlotClass.None
 +
| sorting_class = SortingClass.Kits
 +
| recipe_machine1 = Electronics Printer (Tier Two)
 +
| recipe_cost1 = 5g [[Gold]], 5g [[Copper]], 22g [[Steel]], 15g [[Electrum]], 7g [[Invar]], 8g [[Constantan]], 10g [[Astroloy]]
 +
| constructs = [[AIMeE Bot]]
 
}}
 
}}
 +
{{Itembox
 +
| name = AIMeE Bot
 +
| image = [[File:Robot.png]]
 +
| prefabhash = 434786784
 +
| prefabname = Robot
 +
| stacks = 1
 +
| slot_class = SlotClass.None
 +
| sorting_class = SortingClass.Default
 +
}}
 +
==Description==
 +
<blockquote><q>Designed by - presumably drunk - [[Norsec (Faction)|Norsec]] roboticists, AIMeE (or Automated Independent Mechanical Entity) can be a [[Stationeers|Stationeer's]] best friend, or tiresome nemesis, or both several times in the same day.
 +
 +
Intended to unearth and retrieve ores automatically, the unit requires basic programming knowledge to operate, and [[Motherboard_(IC_Editor)|IC Editor Motherboard]].
 +
 +
AIMEe has 7 modes:
 +
 +
RobotMode.None =        0 = Do nothing<br>
 +
RobotMode.Follow =      1 = Follow nearest player<br>
 +
RobotMode.MoveToTarget = 2 = Move to target in straight line<br>
 +
RobotMode.Roam =        3 = Wander around looking for ores in 15 co-ords radius<br>
 +
RobotMode.Unload =      4 = Unload in chute input or chute bin within 3 meters / 1.5 large grids<br>
 +
RobotMode.PathToTarget = 5 = Path(find) to target<br>
 +
RobotMode.StorageFull =  6 = Automatic assigned state, shows when storage slots are full<br>
 +
 +
Connects to [[Logic Transmitter]]</q><br>
 +
'''- Stationpedia'''</blockquote>
 
AIMEe or Automated Independent Mechanical Entity is a small mining robot that can be automated to search, mine and retrieve ores. AIMEe does get damaged by storms and can not be repaired with [[Duct Tape]].
 
AIMEe or Automated Independent Mechanical Entity is a small mining robot that can be automated to search, mine and retrieve ores. AIMEe does get damaged by storms and can not be repaired with [[Duct Tape]].
 
{{Structurebox
 
| name            = Robot
 
| image            = [[File:Robot.png]]
 
| power_usage      = Unknown
 
| placed_with_item =
 
| placed_on_grid  =
 
}}
 
  
 
{{Data Network Header}}
 
{{Data Network Header}}
  
{{Data Parameters}}
+
{{Data Parameters|
{| class="wikitable"
+
{{Data Parameters/row|Power|Boolean|w=0|Can be read to return if the AIMeE Bot is correctly powered or not, set via the power system, return 1 if powered and 0 if not|multiple=2|0|Unpowered|1|Powered}}
|-
+
{{Data Parameters/row|Mode|Integer|The mode of the AIMeE Bot.|multiple=7|0|RobotMode.None|1|RobotMode.Follow|2|RobotMode.MoveToTarget|3|RobotMode.Roam|4|RobotMode.Unload|5|RobotMode.PathToTarget|6|RobotMode.StorageFull}}
! Parameter Name !! Data Type !! Description
+
{{Data Parameters/row|Error|Boolean|w=0|1 if device is in error state, otherwise 0|multiple=2|0|<p></p>|1|Error}}
|-
+
{{Data Parameters/row|PressureExternal|Float|w=0|Setting for external pressure safety, in KPa}}
| TargetX || || Set the target for <code>Mode RobotMode.PathToTarget & RobotMode.MoveToTarget</code>
+
{{Data Parameters/row|On|Boolean|The current state of the AIMeE Bot.|multiple=2|0|Off|1|On}}
|-
+
{{Data Parameters/row|TemperatureExternal|Integer|w=0|The temperature of the outside of the AIMeE Bot, usually the world atmosphere surrounding it}}
| TargetY || || Set the target for <code>Mode RobotMode.PathToTarget & RobotMode.MoveToTarget</code>
+
{{Data Parameters/row|PositionX|Integer|w=0|The current position in X dimension in world coordinates}}
|-
+
{{Data Parameters/row|PositionY|Integer|w=0|The current position in Y dimension in world coordinates}}
| TargetZ || || Set the target for <code>Mode RobotMode.PathToTarget & RobotMode.MoveToTarget</code>
+
{{Data Parameters/row|PositionZ|Integer|w=0|The current position in Z dimension in world coordinates}}
|-
+
{{Data Parameters/row|VelocityMagnitude|Integer|w=0|The current magnitude of the velocity vector}}
| Mode || Integer || 0-6
+
{{Data Parameters/row|VelocityRelativeX|Integer|w=0|The current velocity X relative to the forward vector of this}}
|-
+
{{Data Parameters/row|VelocityRelativeY|Integer|w=0|The current velocity Y relative to the forward vector of this}}
| On || Boolean ||  
+
{{Data Parameters/row|VelocityRelativeZ|Integer|w=0|The current velocity Z relative to the forward vector of this}}
|}
+
{{Data Parameters/row|TargetX|Integer|r=0|The target position in X dimension in world coordinates}}
 +
{{Data Parameters/row|TargetY|Integer|r=0|The target position in Y dimension in world coordinates}}
 +
{{Data Parameters/row|TargetZ|Integer|r=0|The target position in Z dimension in world coordinates}}
 +
{{Data Parameters/row|MineablesInVicinity|Integer|w=0|Returns the amount of potential mineables within an extended area around AIMEe.}}
 +
{{Data Parameters/row|MineablesInQueue|Integer|w=0|Returns the amount of mineables AIMEe has queued up to mine.}}
 +
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
 +
{{Data Parameters/row|ForwardX|Integer|w=0|The direction the entity is facing expressed as a normalized vector}}
 +
{{Data Parameters/row|ForwardY|Integer|w=0|The direction the entity is facing expressed as a normalized vector}}
 +
{{Data Parameters/row|ForwardZ|Integer|w=0|The direction the entity is facing expressed as a normalized vector}}
 +
{{Data Parameters/row|Orientation|Integer|w=0|The orientation of the entity in degrees in a plane relative towards the north origin}}
 +
{{Data Parameters/row|VelocityX|Integer|w=0|The world velocity of the entity in the X axis}}
 +
{{Data Parameters/row|VelocityY|Integer|w=0|The world velocity of the entity in the Y axis}}
 +
{{Data Parameters/row|VelocityZ|Integer|w=0|The world velocity of the entity in the Z axis}}
 +
}}
  
* robot. RobotMode.None = 0 <br> <i>Do nothing (Will automatically be assigned after arriving at target)</i>
 
* RobotMode.Follow = 1 <br> <i>Follow nearest player</i>
 
* RobotMode.MoveToTarget = 2 <br> <i>Move to Target in straight line</i>
 
* RobotMode.Roam = 3 <br> <i>Wander around looking for ores in 15 coords radius</i>
 
* RobotMode.Unload = 4 <br> <i>Unload in chute input or chute bin within 3 meters \ 1.5 large grid</i>
 
* RobotMode.PathToTarget = 5 <br> <i>Path(find) to Target</i>
 
* RobotMode.StorageFull = 6 <br> <i>Automatic assigned state that will show when storage slots are full (not stacks)</i>
 
  
 
{{Data Outputs}}
 
{{Data Outputs}}
Line 92: Line 121:
 
|}
 
|}
  
 +
[[File:Https://fastupload.io/6db74feb93cbbba0|400x300px|Example]]
  
 
{| class="wikitable"
 
{| class="wikitable"

Latest revision as of 11:21, 4 August 2024


Kit (AIMeE)
ItemKitAIMeE.png
Constructing Options AIMeE Bot
Properties
Stacks No
Recipes
Electronics Printer (Tier Two) 5g Gold, 5g Copper, 22g Steel, 15g Electrum, 7g Invar, 8g Constantan, 10g Astroloy
Logic
Item Hash 496830914
Item Name ItemKitAIMeE
Logic Classes
SlotClass.None
SortingClass.Kits


AIMeE Bot
Robot.png
Properties
Stacks No
Logic
Item Hash 434786784
Item Name Robot
Logic Classes
SlotClass.None
SortingClass.Default

Description[edit]

Designed by - presumably drunk - Norsec roboticists, AIMeE (or Automated Independent Mechanical Entity) can be a Stationeer's best friend, or tiresome nemesis, or both several times in the same day.

Intended to unearth and retrieve ores automatically, the unit requires basic programming knowledge to operate, and IC Editor Motherboard.

AIMEe has 7 modes:

RobotMode.None = 0 = Do nothing
RobotMode.Follow = 1 = Follow nearest player
RobotMode.MoveToTarget = 2 = Move to target in straight line
RobotMode.Roam = 3 = Wander around looking for ores in 15 co-ords radius
RobotMode.Unload = 4 = Unload in chute input or chute bin within 3 meters / 1.5 large grids
RobotMode.PathToTarget = 5 = Path(find) to target
RobotMode.StorageFull = 6 = Automatic assigned state, shows when storage slots are full

Connects to Logic Transmitter

- Stationpedia

AIMEe or Automated Independent Mechanical Entity is a small mining robot that can be automated to search, mine and retrieve ores. AIMEe does get damaged by storms and can not be repaired with Duct Tape.

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).

Click here to see/hide all the data network properties
Parameter Name Data Type Access Value Description
Power Boolean
Read
0 Unpowered Can be read to return if the AIMeE Bot is correctly powered or not, set via the power system, return 1 if powered and 0 if not
1 Powered
Mode Integer
Read Write
0 RobotMode.None The mode of the AIMeE Bot.
1 RobotMode.Follow
2 RobotMode.MoveToTarget
3 RobotMode.Roam
4 RobotMode.Unload
5 RobotMode.PathToTarget
6 RobotMode.StorageFull
Error Boolean
Read
0

1 if device is in error state, otherwise 0
1 Error
PressureExternal Float
Read
Setting for external pressure safety, in KPa
On Boolean
Read Write
0 Off The current state of the AIMeE Bot.
1 On
TemperatureExternal Integer
Read
The temperature of the outside of the AIMeE Bot, usually the world atmosphere surrounding it
PositionX Integer
Read
The current position in X dimension in world coordinates
PositionY Integer
Read
The current position in Y dimension in world coordinates
PositionZ Integer
Read
The current position in Z dimension in world coordinates
VelocityMagnitude Integer
Read
The current magnitude of the velocity vector
VelocityRelativeX Integer
Read
The current velocity X relative to the forward vector of this
VelocityRelativeY Integer
Read
The current velocity Y relative to the forward vector of this
VelocityRelativeZ Integer
Read
The current velocity Z relative to the forward vector of this
TargetX Integer
Write
The target position in X dimension in world coordinates
TargetY Integer
Write
The target position in Y dimension in world coordinates
TargetZ Integer
Write
The target position in Z dimension in world coordinates
MineablesInVicinity Integer
Read
Returns the amount of potential mineables within an extended area around AIMEe.
MineablesInQueue Integer
Read
Returns the amount of mineables AIMEe has queued up to mine.
ReferenceId Integer
Read
Unique Reference Identifier for this object
ForwardX Integer
Read
The direction the entity is facing expressed as a normalized vector
ForwardY Integer
Read
The direction the entity is facing expressed as a normalized vector
ForwardZ Integer
Read
The direction the entity is facing expressed as a normalized vector
Orientation Integer
Read
The orientation of the entity in degrees in a plane relative towards the north origin
VelocityX Integer
Read
The world velocity of the entity in the X axis
VelocityY Integer
Read
The world velocity of the entity in the Y axis
VelocityZ Integer
Read
The world velocity of the entity in the Z axis


Data Outputs[edit]

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
PressureExternal Float Read external pressure in Pascal
TemperatureExternal Float Read external temperature in Kelvin
PositionX Read current position
PositionY Read current position
PositionZ Read current position
VelocityMagnitude
VelocityRelativeX
VelocityRelativeY
VelocityRelativeZ
Mode Integer 0-6
Power Boolean
Error
On Boolean
MineablesInQueue
MineablesInVicinity

Data Slots[edit]

These are all parameters, that can be read with a Slots Reader. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them.

Number Name Description
0 Battery
1 IC10
2-9 Storage Internal storage slots.

Example

Name Data Type Description
Battery Slot 0
Occupied Boolean Returns whether the slot occupied. (0 for no, 1 for yes).
OccupantHash Integer Returns ItemHash of item in slot.
MaxQuantity Integer Max Size of stack.
Damage Integer Item durability in percent.
Class Integer Item class ID.
Quantity Integer Size of stack.
ChargeRatio Integer Ratio of charge 0-1.
Charge Integer Charge in joules.
PrefabHash Integer Returns ItemHash of item in slot.
Name Data Type Description
IC10 Slot 1
Occupied Boolean Returns whether the slot occupied. (0 for no, 1 for yes).
OccupantHash Integer Returns ItemHash of item in slot.
MaxQuantity Integer Max Size of stack.
Damage Integer Item durability in percent.
Class Integer Item class ID.
Quantity Integer Size of stack.
PrefabHash Integer Returns ItemHash of item in slot.
Name Data Type Description
Inventory Slot 2-9
Occupied Boolean Returns whether the slot occupied. (0 for no, 1 for yes).
OccupantHash Integer Returns ItemHash of item in slot.
MaxQuantity Integer Max Size of stack.
Damage Integer Item durability in percent.
Class Integer Item class ID.
Quantity Integer Size of stack.
PrefabHash Integer Returns ItemHash of item in slot.