WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-01-2005, 03:30 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Hi,
I'm still trying without sucess.
If I try this isolated piece below, I'm still up in the roof (about 2 m from the floor).

At least it tracks!


Code:
import viz
import vizmat
import time
import math
EYE_HEIGHT			=1.8
viz.go(viz.PROMPT)
if viz.get(viz.TRACKER):
	myTracker = viz.add('vizppt.dls')
	myTracker.command(6,'',1,1,1)
	myTracker.command(3,'',2,1,2)
	v = viz.add('intersense.dls')
	myTracker.reset()  # Reset the tracker
	viz.tracker()
else:
	tracking = 0
viz.eyeheight(EYE_HEIGHT)

#Create a room
myroom = viz.add('../resources/models/room.wrl')
if I try other approaches, I'm on the floor but cannot track!
What do I need to change?

I also don't understand the following in the help-file

Average position by N samples

ppt.command(5,"",3) # Average over 3 samples


Does this steady the movement?


Set the reset mask for each axis

ppt.command(6,"",0,1,0) # Reset affect Y axis only

What is reset Mask - is it how it started?

and in gallery I found

factor = 5.0

guess this seems to make movements quicker (if I move 2 cm it tracks 10)??

Sorry for the many questions but I'm already trying to figure this out for some hours...

Johannes
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:49 PM.


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