The past week has been primarily focussed around re-factoring existing code and adding some new code in the NetLogo simulation file, including:
- Changing how the random walk operates to use the previous angle as part of calculating the next angle change.
- Removed the need to keep passing the scene table and to use a single view-scene call to get the view at the current heading, thereby allowing for saccades to be introduced (currently only at the idea stage).
- Addition of path integration algorithms, to determine an approximate heading and distance back to the nest. This work is still in progress as I am working on a way to define an accumulator.
All being well, the plan for the coming week is to continue with the implementation of path integration and develop a means of rotationally transforming a snapshot to determine a heading based on visual cues.