-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Peter Chacko edited this page Jan 25, 2019
·
1 revision
Welcome to the ChickenVision wiki!
- Raspberry Pi running WPILib image
- Bright, small (60mm), green LED Ring to surround camera (You can use different colors, but must change HSV Threshold)
- Microsoft Lifecam HD 3000 (You can use a different camera, but must update diagonal field of view line 32)
- (Optional) USB WiFi Adapter for Raspberry Pi. This allows Pi to wirelessly send stream over home network for testing
- Camera mounted in horizontal center of robot. Code can be updated to support offsets, but I currently do not know how to do that
- For Windows: Download NI Driver Station or iTunes (not Microsoft App). This is to install mDNS provider
- Exposure. You will need to adjust the exposure based on LED light ring. The lower you can set this value while still tracking vision targets, the better. Currently, for vision targets, it is set to 0. You can change this value on line 94, 132. Cargo tracking is set to use auto expose.
- HSV Threshold. Depending on LED ring and exposure level, may need to adjust HSV Threshold If using GRIP to find values: Adjust HSV Sliders until targets are white When you find the correct HSV values, input them into lines 175-181
- Resolution. Change this in both Web dashboard (address is frcvision.local) and in lines 51 & 52.