Guardian robot strategy:
Hit both activator switches with matching colors, then hit the generator lens that the pipes lead to. Repeat this process until you reach the next par. There will be one more generator lens and the guardian will have another move. Make sure not to get close to a target.