WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-26-2014, 02:52 AM
EKF EKF is offline
Member
 
Join Date: Aug 2012
Posts: 9
Hi
The problem is specific to this laptop. It works on a very similar laptop (although we initially had a speed issue and removed the antivirus software to solve this). I've also realised that the issue is in one direction only (we have a .txt file as input and east-west is working normalliy, but north-south seems to be exponentially speeding up along the path).

I've pasted our keyboard info below:
def checkKeyboard():
MOVE_SPEED_MULTIPLIER=0.6
ROTATE_SPEED_MULTIPLIER=0.6
tomove = 0
torotate = 0
#print 'viz.key',viz.key

if viz.key.isDown(viz.KEY_UP):
tomove = mazeExptParams.MOVE_SPEED*MOVE_SPEED_MULTIPLIER
elif viz.key.isDown(viz.KEY_DOWN):
tomove = -mazeExptParams.MOVE_SPEED*MOVE_SPEED_MULTIPLIER
elif viz.key.isDown(viz.KEY_RIGHT):
torotate = mazeExptParams.ROTATE_SPEED*ROTATE_SPEED_MULTIPLIE R
elif viz.key.isDown(viz.KEY_LEFT):
torotate = -mazeExptParams.ROTATE_SPEED*ROTATE_SPEED_MULTIPLIE R
elif viz.key == viz.KEY_F1:
torotate = -mazeExptParams.ROTATE_SPEED*ROTATE_SPEED_MULTIPLIE R
viz.move(0,0,tomove)
viz.rotate(viz.BODY_ORI,torotate,0,0)


Thanks
Emily
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
random speed and associated coding Saz Vizard 1 05-20-2010 04:03 AM


All times are GMT -7. The time now is 02:13 AM.


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