I tried using this code
Code:
def UpdateJoystick1():
#Get the joystick position
x,y,z = joy.getPosition()
#Move the viewpoint forward/backward based on y-axis value
if abs(y) > 0.0001: #Make sure value is above a certain threshold
viz.MainView.move(0,0,-y*MOVE_SPEED,viz.BODY_ORI)
#Move the viewpoint left/right based on x-axis value
if abs(x) > 0.001: #Make sure value is above a certain threshold
viz.MainView.move(x*0.1,0,0,viz.BODY_ORI)
#Turn the viewpoint left/right based on twist value
#if abs(twist) > 0.001: #Make sure value is above a certain threshold
# viz.MainView.rotate(0,1,0,twist,viz.BODY_ORI,viz.RELATIVE_WORLD)
#UpdateJoystick every frame
vizact.ontimer(0,UpdateJoystick1)
def MOVE_SPEEDCH():
MOVE_SPEED=0
vizact.ontimer(22,MOVE_SPEEDCH)
but it still made no difference - I'm sorry I must be coming across as really dense - it's been a long week and it's only Wednesday!