Coder Social home page Coder Social logo

psychopy_tobii_controller's People

Contributors

hsogo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

psychopy_tobii_controller's Issues

Only one circle during Calibration step

Hi,
I am facing a strange issue when trying to adapt your code to my PsychoPy Template : It recognizes my gaze well, but when I entered in calibration step, it only displays a circle at the middle of the screen, and not continuing for next one.

Do you have any insights on this problem ?

Thank you for this wonderful template you provide!
Ilyass , PhD student at Paris Brain Institute

Tobii TX300 Eye-Tracker calibration fails

Hey
My Tobii TX300 eye-tracker is working perfectly fine thanks to your package, but I still have problems to detect everyone's eyes : it works perfectly well with me, but fail to calibrate with others persons.
I plugged the LAN directly to the system unit, and I use DVI cable not VGA. I don't use any USB adapter so I don't think I have a loss of power.

Do you have any ideas where this problem can come from ?
Regards, Ilyass

a negative number in TimeStamp when record Event

When I record the data of eye movement in Psychopy, I got a negative value in TimeStamp column at the the beginning of each trial. I think there's some missing data. At your convenience, would you please tell me how to fix it. Thank you for your assistance.
image
My Psychopy version is 1.85.6 in win10, eye tracker is Tobii-Tx 300. Here is some of the relevant code.
`

    # ------Prepare to start Routine "trial"-------
    t = 0
    trialClock.reset()  # clock
    frameN = -1
    continueRoutine = True
    # update component parameters for each repeat
    ptc_controller_tobii_controller.subscribe()
    ptc_controller_tobii_controller.record_event('Start Recording')
    main_sound.setSound('sounds/' + str(sound), secs=-1)
    main_image.setPos([picposition, 0])
    main_image.setImage('images/' + str(image))
    sec_image.setPos((picposition, 0))
    main_target.setPos([dotposition, 0])
    main_resp = event.BuilderKeyResponse()
    sec_resp = event.BuilderKeyResponse()
    
    # keep track of which components have finished
    trialComponents = [main_fix, main_sound, main_image, sec_image, main_target, main_resp, sec_resp]
    for thisComponent in trialComponents:
        if hasattr(thisComponent, 'status'):
            thisComponent.status = NOT_STARTED
    
    # -------Start Routine "trial"-------
    while continueRoutine:
        # get current time
        t = trialClock.getTime()
        frameN = frameN + 1  # number of completed frames (so 0 is the first frame)
        # update/draw components on each frame
        
        # *main_fix* updates
        if frameN >= 0.0 and main_fix.status == NOT_STARTED:
            # keep track of start time/frame for later
            main_fix.tStart = t
            main_fix.frameNStart = frameN  # exact frame index
            main_fix.setAutoDraw(True)
            ptc_controller_tobii_controller.record_event(int(str(trigger) + '0'))`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.