NatNet SDK: Get list of all assets (including inactive)

NatNet, VRPN, TrackD, and Plugins
Post Reply
Rotem
Posts: 3
Joined: Sun Mar 18, 2018 12:39 am

NatNet SDK: Get list of all assets (including inactive)

Post by Rotem » Sun Mar 18, 2018 12:42 am

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?

steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 455
Joined: Mon Jan 19, 2015 11:52 am

Re: NatNet SDK: Get list of all assets (including inactive)

Post by steven.andrews » Mon Mar 19, 2018 2:42 pm

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

Rotem
Posts: 3
Joined: Sun Mar 18, 2018 12:39 am

Re: NatNet SDK: Get list of all assets (including inactive)

Post by Rotem » Tue Mar 20, 2018 2:51 am

Thank you Steven, I'll take this into consideration.

Post Reply