Quote Originally Posted by Mario F. View Post
and does the argument robot->GetSamplesReadUsingRobot() output empty?
Just checked; No, it is not empty. I guess that the problem is the output of this method

Code:
const vector<int>& Robot::GetSamplesReadUsingRobot() const
{
	return samplesRobotToKalmanFilter;
}
Inside the method samplesRobotToKalmanFilter is empty, but passing it by reference to another vector, the new vector is not considered empty.