Home › Forums › Software Development › Interactor
- This topic has 10 replies, 4 voices, and was last updated 5 years, 5 months ago by Grant [Tobii].
- AuthorPosts
- 19/12/2017 at 05:08 #7708AnonymousInactive
Hi. I am trying the example in tobii tutorial but cannot make it work. It is showing me error [The behaviors dose not exist in namespace “clr-namespace:Tobii.EyeX.Wpf;assembly=Tobii.EyeX.Net”].
<Window x:Class=”Interactors.MainWindow”
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″
xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″
xmlns:local=”clr-namespace:Interactors”
xmlns:tobii=”clr-namespace:Tobii.EyeX.Wpf;assembly=Tobii.EyeX.Net”
xmlns:wpf=”clr-namespace:Tobii.Interaction.Wpf;assembly=Tobii.Interaction.Net”
mc:Ignorable=”d”
Title=”MainWindow” Height=”350″ Width=”525″PreviewKeyDown=”MainWindow_OnPreviewKeyDown”
PreviewKeyUp=”MainWindow_OnPreviewKeyUp”><Grid x:Name=”LayoutRoot”
tobii:Behaviors.IsGazeAware=”True”>
<Grid.Style>
<Style TargetType=”Grid”>
<Setter Property=”Background” Value=”White” /><Style.Triggers>
<Trigger Property=”tobii:Behaviors.HasGaze” Value=”True”>
<Setter Property=”Background” Value=”Magenta” />
</Trigger>
</Style.Triggers>
</Style>
</Grid.Style>
</Grid>
</Window>19/12/2017 at 06:16 #7709AnonymousInactiveI am developing authentication system using grid of interactors. I am working on this code for a week but cannot make it run. Please let me know the issue with code
19/12/2017 at 09:04 #7713Grant [Tobii]KeymasterHi @dawood154, can you kindly be more specific in terms of which example script you are running.. I assume the samples supplied as is (without modification) are running as intended? Thank you for the greater detail.
21/12/2017 at 12:47 #7727AnonymousInactivePlease go to the following link: https://tobii.github.io/CoreSDK/articles/wpf.html . I am trying example under example under GazeAware behaviour. I am trying example as given but still cannot run the code and it shows the error I mentioned above.
22/12/2017 at 14:09 #7728Grant [Tobii]KeymasterHi @dawood154, apologies, but there is a mistake in this sample code whereby the command
using Tobii.EyeX;
should now be replaced with
using Tobii.Interaction;
The code should run as expected from here, but let us know if you hit any further problems.
24/12/2017 at 08:32 #7731AnonymousInactiveUnfortunately this dose not solve the problem as I was already using Tobii.Interaction. I am still getting the same error and unable to run the code.
using Tobii.Interaction;
using Tobii.Interaction.Wpf;I am using these two libraries. I tried to put others but it shows me that they are unused. I found another code in example under “Getting Started with WPF Application” in following link : https://tobii.github.io/CoreSDK/articles/getting_started.html. which is using
using Tobii.EyeX.Wpf;
I tried this also but it show me error. Please let me know what should I do now.
27/12/2017 at 14:00 #7736Grant [Tobii]KeymasterHi @dawood154 sorry for the delay in reply during the holiday period.
I think it might be worthwhile for you to try running the pre-written WPF samples available online @
https://github.com/Tobii/CoreSDK/tree/master/samples/Wpf/Interaction_Wpf_101
The User Presence is a useful place to start and let’s see if you get the same errors. thanks.
07/02/2018 at 13:14 #7883DeviParticipantHello I am looking for some sample code in WPF based on “look and click” without any keyboard interaction in Tobii Core SDK. Thank you
08/02/2018 at 09:03 #7884Grant [Tobii]KeymasterHi @devi, the additional API samples for the Tobii Core SDK you can download @ https://github.com/Tobii/interaction-samples
which should hopefully point you in the right direction.03/05/2019 at 12:56 #11239NLParticipantThere’s still an error in the WPF example (https://developer.tobii.com/consumer-eye-trackers/core-sdk/getting-started/)
The line
xmlns:tobii=”clr-namespace:Tobii.EyeX.Wpf;assembly=Tobii.EyeX.Net”
should be
xmlns:tobii=”clr-namespace:Tobii.Interaction.Wpf;assembly=Tobii.Interaction.Net”05/05/2019 at 17:57 #11247Grant [Tobii]KeymasterHi @nlichtenberg, thank for catching this and letting us know .. now updated! Best Wishes.
- AuthorPosts
- You must be logged in to reply to this topic.