コード例 #1
0
ファイル: VisionSystem.cpp プロジェクト: katzchen/tortuga
void VisionSystem::cupidDetectorOn()
{
    addForwardDetector(m_cupidDetector);
    publish(EventType::CUPID_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #2
0
ファイル: VisionSystem.cpp プロジェクト: katzchen/tortuga
void VisionSystem::loversLaneDetectorOn()
{
    addForwardDetector(m_loversLaneDetector);
    publish(EventType::GATE_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #3
0
ファイル: VisionSystem.cpp プロジェクト: JasonHagler/tortuga
void VisionSystem::hedgeDetectorOn()
{
    addForwardDetector(m_hedgeDetector);
    publish(EventType::HEDGE_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #4
0
ファイル: VisionSystem.cpp プロジェクト: katzchen/tortuga
void VisionSystem::buoyDetectorOn()
{
    addForwardDetector(m_buoyDetector);
    publish(EventType::BUOY_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #5
0
ファイル: VisionSystem.cpp プロジェクト: JasonHagler/tortuga
void VisionSystem::barbedWireDetectorOn()
{
    addForwardDetector(m_barbedWireDetector);
    publish(EventType::BARBED_WIRE_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #6
0
ファイル: VisionSystem.cpp プロジェクト: JasonHagler/tortuga
void VisionSystem::windowDetectorOn()
{
    addForwardDetector(m_windowDetector);
    publish(EventType::WINDOW_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #7
0
ファイル: VisionSystem.cpp プロジェクト: JasonHagler/tortuga
void VisionSystem::targetDetectorOn()
{
    addForwardDetector(m_targetDetector);
    publish(EventType::TARGET_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #8
0
ファイル: VisionSystem.cpp プロジェクト: JasonHagler/tortuga
void VisionSystem::redLightDetectorOn()
{
    addForwardDetector(m_redLightDetector);
    publish(EventType::RED_LIGHT_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}
コード例 #9
0
ファイル: VisionSystem.cpp プロジェクト: JasonHagler/tortuga
void VisionSystem::ductDetectorOn()
{
    addForwardDetector(m_ductDetector);
    publish(EventType::DUCT_DETECTOR_ON,
            core::EventPtr(new core::Event()));
}