implemented emergency brake in robot client