@@ -151,6 +151,7 @@ In Fred Martins code, arrays are preallocated to be able to contain ten processe
...
@@ -151,6 +151,7 @@ In Fred Martins code, arrays are preallocated to be able to contain ten processe
## Conclusion
## Conclusion
In this lesson we have worked with both single and concurrent behaviors. The single behavior control is relatively simple due to the mapping from a single sensor to the motors. When adding multiple behaviors a hierarchy needs to be implemented in order for the Lego car to prioritize between the tasks. When following this approach it is possible to create a more intelligent car in a structured way.