Trading Security for Control Performance in Distributed Robotic Applications