It has come to my attention that there is bug in this model, specifically in the code for the floor storage slot assignment strategy. At th-cam.com/video/3AQ-cjOS9tY/w-d-xo.html I show a piece of code to place in the slot assignment strategy. This code can cause errors if you run the model fast. To fix this, replace the expression "slot.hasSpace(item)" with "slot.slotItems.length == 0"
@@satoshinakamoto7253 No, as my disclaimer at the beginning of the video states, I'm not a Kiva engineer. I don't have access to the source code. I imagine some of the control logic might be similar in a real Kiva system, but in the end this is just my "estimation" of what the control logic might be.
Great tutorial, I can simulate a smaller AMR system with this. However on 58:24 I had tried with the trigger logic "On Draw" instead of "On Pre Draw" and it gave a better result on the original AGV. For the templates it is better to use "On Pre Draw". The animation of the shelf on top of AGV will be smooth instead of glitching.
It has come to my attention that there is bug in this model, specifically in the code for the floor storage slot assignment strategy.
At th-cam.com/video/3AQ-cjOS9tY/w-d-xo.html I show a piece of code to place in the slot assignment strategy. This code can cause errors if you run the model fast. To fix this, replace the expression "slot.hasSpace(item)" with "slot.slotItems.length == 0"
Is this like the source code for kiva systems or ? Pretty crazy
@@satoshinakamoto7253 No, as my disclaimer at the beginning of the video states, I'm not a Kiva engineer. I don't have access to the source code. I imagine some of the control logic might be similar in a real Kiva system, but in the end this is just my "estimation" of what the control logic might be.
Great tutorial, I can simulate a smaller AMR system with this. However on 58:24 I had tried with the trigger logic "On Draw" instead of "On Pre Draw" and it gave a better result on the original AGV. For the templates it is better to use "On Pre Draw". The animation of the shelf on top of AGV will be smooth instead of glitching.
Nice video., Kindly upload more case study videos like this 🙏👍
Creating a flow item under the Animation section:
Plane is no longer an available option in newer versions. What should I do?
Cool Demo!
Storage.Object current = ownerobject (c);
Object item = param(1):
Storage.Item storageItem = Storage.Item(item);
/**Random Bay, Level, and Slot with Space*/
while (true) {
int bayNun = duniform (1, current.bays.length);
Storage.Bay bay = current.bays [bayNum];
int levelNum = duniform (1, bay.levels.length);
Storage.Level level = bay.levels[levelNum];
int slotNum = duniform(1, level.slots.length);
Storage.Slot slot = level.slots [slotNum];
if (slot.isStorable " slot.hasSpace(item)) {
storageItem.assignedSlot = slot;
return 0;
}
}