AR_Robot
AR_Robot copied to clipboard
Give me error :(
first of all, thanks for your shared this tutorial. I am giving an error like that;
AR_Robot-master/Assets/Scripts/RobotFollowBehavior.cs(24,24): Error CS1061: 'DefaultTrackableEventHandler' does not contain a definition for 'isTracking' and no extension method 'isTracking' accepting a first argument of type 'DefaultTrackableEventHandler' could be found (are you missing a using directive or an assembly reference?) (CS1061) (Assembly-CSharp)
I added this line to "using Vuforia;" to RobotFollowBehavior.cs but didn't solved. :(
vuforia 7.2.23 unity 2018.1.0f2
I solved this by using a TrackableBehaviour
instead of the DefaultTrackableEventHandler
. A post on the Vuforia forums provides more details.
I've provided a text file of the code showing the changes that I made.
Disclaimer: I've only tested this on an Android phone, and without having it attached to an Arduino, but it seems to be working fine.