|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Target indication on dashboard
A couple years ago with Breakaway, WPI provided sample code to send the "target" vector info to the Dashboard and the video stream on the dashboard would overlay green outlines of the targets found. Does the Dashboard this year support similar feature? We can't seem to find any info about this. We also do not find any sample code that is equivalent to the Breakaway sample code. If there is no such support this year, how do teams get feedback on the Dashboard on what targets are found? Since there are four potential targets, we need to give drivers feedback so they can pick which target to shoot.
BTW, we also looked into the new SmartDashboard and couldn't even get the live video stream going. We "added" the "camera" object on the dashboard but it only shows a pink rectangle saying "no connection". We have set the camera IP correctly (10.te.am.11) but it just doesn't connect. Have anybody successfully gotten live stream on the new SmartDashboard? If SmartDashboard doesn't work, we will stick with the old Dashboard. If it does work, does it support target outline overlay? |
|
#2
|
|||
|
|||
|
Re: Target indication on dashboard
Quote:
http://www.chiefdelphi.com/forums/sh...d.php?t=101153 Quote:
http://firstforge.wpi.edu/integratio...02&view=markup |
|
#3
|
|||
|
|||
|
Re: Target indication on dashboard
That dashboard with the overlays was probably the default one written in LV.
The Rectangular Target Processing example has some annotation code you can place into your dashboard. It is in the RT code, but turned off, and it defaults to being on for the My Computer version of the code. It takes in the bounding box, scores, and other values, but you can easily strip out numbers and other code if you wish. The key will be getting the data needed for the overlay from the robot back to the dashboard. The WPI libraries contain tools for this. And you will then need to extract the data in the dashboard and hook it to the overlay functions. If you look at the dashboard code from a couple years ago, this was done the same way, just in the default code. Greg McKaskle |
|
#4
|
||||
|
||||
|
Re: Target indication on dashboard
Quote:
.Quote:
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: Target indication on dashboard
Quote:
Launch LabVIEW. Click the "Support" tab. Click the "Find FRC Examples..." link. Open "FRC Robotics", then under that open "Vision". You will find it there. Quote:
|
|
#6
|
||||
|
||||
|
Re: Target indication on dashboard
That's why. I don't have LabView installed. Need to find that credit card USB drive!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|