View Single Post
  #2   Spotlight this post!  
Unread 27-01-2014, 22:44
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Drawing Circle Over Image Feed Java

(assuming SFX and extending the camera viewer class, which is actually a bad idea that you should NOT DO)
in the registered method (don't forget to call super) snag the datacor eprovider and get the observable values from it (getObservable("path/to/vars")) which will automatically fire if you add change listeners

However, that is a bad idea. You really should create a moving shape control, which ironically is the next turorial we are going to put out so hold tight for a day or two.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote