Skip to content
Snippets Groups Projects
Commit e5ae144f authored by roangel's avatar roangel
Browse files

now we can see all Vicon ticked CFs in GUI

parent 4381a8fa
No related branches found
No related tags found
No related merge requests found
2,cfOne,0/76/2M,0,-4.33627,-2.87329,-0.2,4.64523,3.23321,2 2,cfThree,0/72/2M,0,-0.93219,-0.403366,-0.2,0.672297,0.619875,2
...@@ -225,7 +225,8 @@ int main(int argc, char* argv[]) { ...@@ -225,7 +225,8 @@ int main(int argc, char* argv[]) {
cfData.pitch = pitch; cfData.pitch = pitch;
cfData.yaw = yaw; cfData.yaw = yaw;
cfData.acquiringTime = totalViconLatency; cfData.acquiringTime = totalViconLatency;
if(!outputTranslation.Occluded) viconData.crazyflies.push_back(cfData); // if(!outputTranslation.Occluded)
viconData.crazyflies.push_back(cfData);
} }
viconDataPublisher.publish(viconData); viconDataPublisher.publish(viconData);
} }
......
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