Active optical boundary recognition with boron powder injection in a magnetic confinement device | Synapse