ROS Turtlesim predator/prey simulation controlled by erlang processes