fixed RobotStatePublisher errors with groovy