Added possibility to switch between UDP and ROS driven cycles