WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 25 of 38
Search took 0.01 seconds.
Search: Posts Made By: jelly
Forum: Vizard 11-23-2016, 04:20 AM
Replies: 4
Views: 8,106
Posted By jelly
Smile Jeff, thank you very much! It works perfectly, I...

Jeff, thank you very much! It works perfectly, I have adapted it for my script:

def delayTask():
global handstate
yield viztask.waitTime(2)
handstate = 1
print '2 seconds elapsed'
yield...
Forum: Vizard 11-22-2016, 10:02 AM
Replies: 4
Views: 8,106
Posted By jelly
I have tried this code but what it does is, it...

I have tried this code but what it does is, it triggers the action as long as the sensor is still entered, after 2 seconds and does not do that if the sensor is exited before 2 seconds have elapsed....
Forum: Vizard 11-21-2016, 03:32 AM
Replies: 4
Views: 8,106
Posted By jelly
delaying proximity reaction makes sensor unresponsive for the time of delay

In a recent post I had a problem implementing a delay in the proximity manager and Jeff has suggested the solution of using "vizproximity.waitEnter" and a while loop:

def proximityTask():
...
Forum: Vizard 11-18-2016, 08:48 AM
Replies: 4
Views: 8,638
Posted By jelly
Smile Thank you so much, Jeff, this works perfectly!

Thank you so much, Jeff, this works perfectly!
Forum: Vizard 11-17-2016, 02:45 AM
Replies: 4
Views: 8,638
Posted By jelly
Dear Jeff, thank you for the help, this...

Dear Jeff,

thank you for the help, this seems like the way to go! But I have some problems with it:

I noticed that adding the line

viztask.schedule(proximityTask())

makes the event happen...
Forum: Vizard 11-16-2016, 11:57 AM
Replies: 4
Views: 8,638
Posted By jelly
Proximity Manager - How to implement delay

Hello,

I have a timing issue in my script, as I am not sure how to implement a delay, in that when the proximity sensor is entered, a variable (handstate) changes only after 2 seconds have...
Forum: Vizard 06-13-2016, 11:34 AM
Replies: 4
Views: 10,089
Posted By jelly
For now, I think I have found the problem! It...

For now, I think I have found the problem! It explains why I had the issue with the motion tracker on or off. The cause was not the tracker itself but the way the function which was writing the...
Forum: Vizard 06-09-2016, 12:17 PM
Replies: 4
Views: 10,089
Posted By jelly
Dear Jeff, I have some code below, which is...

Dear Jeff,

I have some code below, which is also writing an output file. It only requires a sound .wav file as a cue, otherwise it should run on the spot and illustrate the issue.

When running...
Forum: Vizard 06-09-2016, 04:53 AM
Replies: 4
Views: 10,089
Posted By jelly
Dear Jeff, I will try to post some code...

Dear Jeff,

I will try to post some code later this evening, the script is so large by now, it really is difficult to tell what is causing it. So I will need to try and create a simpler version.
...
Forum: Vizard 06-07-2016, 01:29 PM
Replies: 4
Views: 10,089
Posted By jelly
motion tracker changes Vizard timing

Hello!

I am having very weird timing problems when running my script with the Polhemus motion tracker as opposed to without.

It only happens when I uncomment the section of the code that...
Forum: Vizard 05-17-2016, 07:21 AM
Replies: 1
Views: 7,835
Posted By jelly
Question Vizard scheduler vs Python scheduler

I have some code that is scheduling beeps respective to the onset of the script, but it seems to run everything before Vizard can load and I think that is because Vizard may not understand the...
Forum: Vizard 05-16-2016, 07:25 AM
Replies: 1
Views: 8,033
Posted By jelly
Question Scheduling action at different timings using time.time()

Hello!


I am trying to schedule an action (a beep sound) in Vizard. However, I want the beep to happen at certain timings since onset of the trial.

What I have so far gives me (for example,...
Forum: Vizard 05-05-2016, 09:13 AM
Replies: 2
Views: 8,270
Posted By jelly
Thank you very much! Indeed, this version seems...

Thank you very much! Indeed, this version seems fine. I really need to troubleshoot my scripts usign that maze more in detail. Not sure why I get these resetting problems that I have been writing...
Forum: Vizard 04-27-2016, 11:15 AM
Replies: 2
Views: 8,270
Posted By jelly
problem with yield statement and animation path

Hello!

I have an animation that goes through a maze in a loop (4 times).

I also have a yield statement that waits for an arrow key (see code below in red) but whenever I have it inside the...
Forum: Vizard 04-26-2016, 10:45 AM
Replies: 7
Views: 12,372
Posted By jelly
Unhappy problem resetting an animation path

I have a little problem that I have been stuck on for quite some time now. It is related to using several animation paths.

My trial function does the following: An animation is triggered right at...
Forum: Vizard 04-26-2016, 05:41 AM
Replies: 7
Views: 12,372
Posted By jelly
Perfect, it works! My intermediate solution was...

Perfect, it works! My intermediate solution was to try (None), as in "any key" in order to get rid of the "or" but this solution is perfect. Thank you!
Forum: Vizard 04-25-2016, 04:16 AM
Replies: 7
Views: 12,372
Posted By jelly
The arrow key problem seems to be a problem in my...

The arrow key problem seems to be a problem in my particular case, but not necessarily acoding mistake. This simple code shows that, for some reason only the left arrow key works.

import...
Forum: Vizard 04-22-2016, 09:23 AM
Replies: 7
Views: 12,372
Posted By jelly
I am afraid that the problem continues as soon as...

I am afraid that the problem continues as soon as I introduce further animation paths. I changed the one I had before to get the following: a trial triggers an animation that moves the viewpoint...
Forum: Vizard 04-22-2016, 09:14 AM
Replies: 7
Views: 12,372
Posted By jelly
Thank you very much! It worked now, though I...

Thank you very much!

It worked now, though I am not sure what did the trick! I simplified it and it now looks like this:



import viz #Needed to generate a world.
import...
Forum: Vizard 04-20-2016, 09:06 AM
Replies: 7
Views: 12,372
Posted By jelly
animation path problem - coordinates not resetting

Dear Jeff,

I am sorry, but I am still having problems with my animation path from here http://forum.worldviz.com/showthread.php?t=5695 Since it is a different problem, I decided to open a new...
Forum: Vizard 04-20-2016, 06:15 AM
Replies: 5
Views: 9,834
Posted By jelly
Exclamation Help again, coordinates not reset

Dear Jeff,

I am sorry, but I am still having problems. To simplify the issue I will explain the first problem I am having, as (once solved) it may solve the others as well.

The problem is that...
Forum: Vizard 04-18-2016, 07:18 AM
Replies: 5
Views: 9,834
Posted By jelly
Smile Thank you so much, this did the trick and it now...

Thank you so much, this did the trick and it now works perfectly!!
Forum: Vizard 04-18-2016, 02:53 AM
Replies: 5
Views: 9,834
Posted By jelly
I would really appreciate your help! :)

I would really appreciate your help! :)
Forum: Vizard 04-18-2016, 02:52 AM
Replies: 5
Views: 9,834
Posted By jelly
I noticed that it's not good to have a function...

I noticed that it's not good to have a function with the same name is an object "maze1" so I cahnged the fucntion name to "maze1trial". This, however still has not solved my problem. I wonder why the...
Forum: Vizard 04-16-2016, 11:42 AM
Replies: 5
Views: 9,834
Posted By jelly
problem with path animation

Hello!

I want to run a function 4 times. The function entails that the viewpoint is being animated as to look as it is moving through a maze. The problem is that, while it always loads the...
Showing results 1 to 25 of 38

 
Forum Jump

All times are GMT -7. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC