Skip to content
Snippets Groups Projects
Commit 58709f7b authored by Cesar Debeunne's avatar Cesar Debeunne
Browse files

debug

parent 6d7340ef
No related branches found
No related tags found
No related merge requests found
...@@ -172,7 +172,7 @@ int main() ...@@ -172,7 +172,7 @@ int main()
/////////////// ///////////////
double t_cur = 999; double t_cur = 0;
for (int i = 0; i < len; i++) for (int i = 0; i < len; i++)
{ {
std::cout << i << std::endl; std::cout << i << std::endl;
...@@ -185,14 +185,11 @@ int main() ...@@ -185,14 +185,11 @@ int main()
object_name = csv_values.at(idx_obj).second.at(i); object_name = csv_values.at(idx_obj).second.at(i);
double t; double t;
t = std::stod(csv_values.at(idx_t).second.at(i)); t = std::stod(csv_values.at(idx_t).second.at(i));
ObjectDetection det = {.measurement = isometry_to_posevec(*c_M_o), .meas_cov = cov, .object_type = object_name}; ObjectDetection det = {.measurement = isometry_to_posevec(c_M_o), .meas_cov = cov, .object_type = object_name};
if (t == t_cur){ if (t == t_cur){
// Capture on the current frame // Capture on the current frame
dets.push_back(det); dets.push_back(det);
} else if (t_cur == 999){
// Capture on the first frame
dets.push_back(det);
} else if (i == len-1){ } else if (i == len-1){
// Capture on the last frame // Capture on the last frame
dets.push_back(det); dets.push_back(det);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment