-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init problems see https://github.com/PlusToolkit/ndicapi/issues/40 #79
Comments
This error appears when using the Aurora system without having a programmed tool. There are three approaches to solve this:
I believe approach 3 is doable as long as the user has an SROM file to flash. The C++ combined API sample (provided by NDI support) has a function dedicated to doing this where it takes in the SROM file and converts it to a series of hex strings that are then sent with the PVWR command. |
As a quick experiment, could you let me know what happens if you try and initialise the tracker as a Polaris? Like |
I get some errors with reading the SROM file.
Code used import time
import six
from sksurgerynditracker.nditracker import NDITracker
def run():
SETTINGS = { "tracker type": "polaris", "romfiles" : ["DDRO-080-061-01_GENERIC.rom"] }
tracker = NDITracker(SETTINGS)
tracker.start_tracking()
six.print_(tracker.get_tool_descriptions())
for _ in range(20):
print(f"--- --- --- Timestamp - {time.localtime()}")
six.print_(tracker.get_frame())
time.sleep(1/60) # 60 Hz
tracker.stop_tracking()
tracker.close()
run() |
Thanks for posting the output, it looks like it isn't going to be straight forward. I'm struggling to spend any time to this issue and also don't think we have the right hardware to test at the moment. I'm going to leave this issue open in the hope that we can add this feature at some point, but it probably won't be any time soon. If you are able to do any development or testing we would happily accept any code contributions. |
I'll be working with this system for the next few weeks so I'll see what I can do in that time. |
No description provided.
The text was updated successfully, but these errors were encountered: