A simple toy environment is designed where an agent's goal is to go from any given position on a 2D grid-world and accomplish several goals:
- Stay on the sidewalk
- Avoid obstacles
- Pick up litter
- Prefer moving forward
Four separate modules are trained independently and the resultant actions from each module are merged using by simply weighting them.
Below is two images showing each individual policy, then their weighted policy.