Working in Haptic device (PHANTOM)
Hello
I am working with "sensable PHANTON Omni" & "Worldviz 5". I have created boundary for the car which will not allow the car to go beyond that walls (cube1 & cube2). I want to implement fillowing effects in the code 1) When car touch/strike with boundary, I want to generate opposite force in haptic device that give the feel of the wall. 2) I want to add spring effect from the point [0,0,0] in all direction Kindly give your suggestions to implement bounding ares for car. The code is: Code:
import viz |
1) Make sure the walls are added to the haptic simulation using the device.addNode(node) command. The front of the car (not center) should be aligned with the haptic device if you want resistance when the front touches the wall.
2) The following code should add a spring effect: Code:
import viz |
All times are GMT -7. The time now is 06:49 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC