NatNet SDK: Get list of all assets (including inactive)
NatNet SDK: Get list of all assets (including inactive)
Using Motive 2 and NatNetSDK 3.0.1, I need to get a list of all rigid bodies in the assets pane. Currently, GetDataDescriptions() returns a list of only active assets. Is there a way to get the entire list?
-
- NaturalPoint Employee
- Posts: 720
- Joined: Mon Jan 19, 2015 11:52 am
Re: NatNet SDK: Get list of all assets (including inactive)
Hi Rotem,
Unfortunately, Motive will not stream the assets that are not enabled, so these will not be listed in the data description.
You could try having all assets enabled at start, so they will be in the data description. Enabling and disabling the assets could then be handled through remote commands if you want to control this through your client.
Another option would be to save a Profile XML, from Motive, containing all assets. Your client could then read the XML to pull that information.
Cheers,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer
help.naturalpoint.com
support@optitrack.com
Unfortunately, Motive will not stream the assets that are not enabled, so these will not be listed in the data description.
You could try having all assets enabled at start, so they will be in the data description. Enabling and disabling the assets could then be handled through remote commands if you want to control this through your client.
Another option would be to save a Profile XML, from Motive, containing all assets. Your client could then read the XML to pull that information.
Cheers,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer
help.naturalpoint.com
support@optitrack.com
Re: NatNet SDK: Get list of all assets (including inactive)
Thank you Steven, I'll take this into consideration.