Home Forums Software Development Interactor

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #7708
    Anonymous
    Inactive

    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&#8221;
    xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml&#8221;
    xmlns:d=”http://schemas.microsoft.com/expression/blend/2008&#8243;
    xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006&#8243;
    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>

    #7709
    Anonymous
    Inactive

    I 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

    #7713
    Grant [Tobii]
    Keymaster

    Hi @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.

    #7727
    Anonymous
    Inactive

    Please 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.

    #7728
    Grant [Tobii]
    Keymaster

    Hi @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.

    #7731
    Anonymous
    Inactive

    Unfortunately 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.

    #7736
    Grant [Tobii]
    Keymaster

    Hi @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.

    #7883
    Devi
    Participant

    Hello I am looking for some sample code in WPF based on “look and click” without any keyboard interaction in Tobii Core SDK. Thank you

    #7884
    Grant [Tobii]
    Keymaster

    Hi @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.

    #11239
    NL
    Participant

    There’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”

    #11247
    Grant [Tobii]
    Keymaster

    Hi @nlichtenberg, thank for catching this and letting us know .. now updated! Best Wishes.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.