Skip to content
Snippets Groups Projects
Commit 8cf271c7 authored by phfriedl's avatar phfriedl
Browse files

Change to ViconPublisher: not publishing if occluded

parent 20896760
No related branches found
No related tags found
No related merge requests found
3,cfTwo,0/69/2M,0,0,0,1,1,1
5,cfFour,0/99/2M,-1,0,0,0,1,1
3,cfTwo,0/69/2M,-2,-2,0,2,2,2
5,cfThree,0/72/2M,-2,-2,0,2,2,2
......@@ -216,8 +216,7 @@ int main(int argc, char* argv[]) {
cfData.pitch = pitch;
cfData.yaw = yaw;
cfData.acquiringTime = totalViconLatency;
viconData.crazyflies.push_back(cfData);
if(!outputTranslation.Occluded) viconData.crazyflies.push_back(cfData);
}
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