| 153 | std::vector<matrix<double,0,1> > object_properties(num_objects); |
| 154 | |
| 155 | void initialize_object_properties() |
| 156 | { |
| 157 | for (unsigned long i = 0; i < object_properties.size(); ++i) |
| 158 | object_properties[i] = randm(num_properties,1,rnd); |
| 159 | } |
| 160 | |
| 161 | // So here is our function that samples a detection from our simulated sensor. You tell it |
| 162 | // what object you want to sample a detection from and it returns a detection from that |