Comments (6)
The variable m_targetDistance
creates some issues here, since it should likely be moved to Experiment.h but is used in the JumpingEntity::create()
call in App.cpp.
from fpsci.
There are a number of variables in Experiment.h that can also be removed/protected. These include:
m_app
(move to private)mResultFileName
(remove)m_lastMotionChangeAt
(remove, doesn't seem to be used)
from fpsci.
A recent commit fixes most of these issues, but leaves behind the targetDistance
as a public field to the App
so we can keep the JumpingEntity::create()
in the same place and w/ the same signature.
from fpsci.
On targetDistance
here, we should think carefully about how we want to deal with this parameter. If we are passing scene control to the developer via a config file, perhaps we want to include this in a config as well. Currently the call chain for producing targets is a bit complicated, the Experiment
calls the App
's spawn[X]Target()
method using parameters it has been passed from the PsychHelper
's Param
structure, which is created from the Experiment
's config.
I may create a separate issue or link this to issue #11 in an attempt to better understand where the "right" place to spawn targets is. With our new structure the App
doesn't necessarily seem like it should control much about spawned target location.
from fpsci.
targetDistance
was moved out of App.h as of a recent commit. By moving this value into the private member Experiment::m_targetDistance
we have paved the way for inclusion of this value in the experiment config.
If we choose to move forward with adding the true (i.e. not projected) target distance to the experiment config we should think about what the right level at which to do this is (i.e. target parameter or high-level parameter). Since the scene is specified at the high level, I assume this would make sense (keeps target parameters modular from scene controls).
from fpsci.
A recent commit cleans up the last few commented out/unused variables from the initial commit. Closing this issue in favor of moving all discussion regarding whether the app or experiment should own spawning targets to issue #11.
from fpsci.
Related Issues (20)
- Switch DB from text references to rowID foreign key references
- Performance hitch early in runtime HOT 3
- `allSessionsCompleteFeedback` doesn't work at startup if all sessions are complete HOT 1
- Issue with `'` character in experiment configuration
- Entry-style Question Problems
- Problem with experiment level parameter 'closeOnComplete.'
- Support for stopping motion/blanking display outside of trial/during feedback HOT 1
- Staircase Stimulus HOT 3
- Trial-level Configuration HOT 7
- Log scoring to database HOT 2
- Decals on preview targets HOT 1
- getenv("USERNAME") failures in some cases HOT 2
- Small Targets may not be hittable
- Test `weightByCount` behavior of imbalanced tasks and update documentation
- Setting `audioEnable` to false in startup config causes a crash
- Offscreen target indicator(s)
- Interaction of user menu and questions HOT 1
- Question response changes depending on answer method HOT 1
- Incorrect reference position when `clickToStart` is `false`
- `showReferenceTarget = false` appears to be broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpsci.