Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

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

NatNet, VRPN, TrackD, and Plugins

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?
Posts: 3
Joined: Sun Mar 18, 2018 12:39 am

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.

Steven Andrews
OptiTrack | Senior Customer Support Engineer
NaturalPoint Employee
NaturalPoint Employee
Posts: 449
Joined: Mon Jan 19, 2015 11:52 am

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

Thank you Steven, I'll take this into consideration.
Posts: 3
Joined: Sun Mar 18, 2018 12:39 am

Return to OptiTrack Data Streaming