![]() |
|
#1
|
|||
|
|||
Sorry, one more comment for your reference - the viz.add('tracker.dls') doesn't work with intersense, so I had to go back to using viz.addSensor('intersense'). That does work for tracking, though the boresite still doesn't work.
|
#2
|
|||
|
|||
I did not expect that to work, it was just a placeholder since I didn't know what tracker you are using. Just replace it with your actual tracker. Please look at the example again. It performs the preTrans on the link object, not the sensor object. In your code you are performing the preTrans on the sensor. You might want to have a look at the documentation for using links. It should explain how they work.
To answer your first question, preTrans will perform the translation in the objects local coordinate system. |
#3
|
|||
|
|||
Thanks!
Ah, I understand now - I had linked the viewpoint with the tracker, but I hadn't initialized it as an object I could operate on. It seems to be working now. Thanks for bearing with me!
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|