'Why openmodelica give me this array dimension error?
I'm developing a system in modelica and i have a big problem. When i run the simulation in terminal, it display this error: "Dimension 2 has bounds 1...3, got array subscript 0". I suppose that an array declaration have an index out of bound, but no one of them have it. I don't know what to do. I'll leave the code here, i hope someone can help me https://github.com/BigMautone/Drones.git probably, the error is located in psoControllor.mo or drone.mo or collisionAvoidance.mo or System.mo
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
