The following code snippets shows the general structure of a program that uses a rig configuration and enumerate / query sensor properties.
The rig module can be initialized from a rig file:
Afterwards we can easily access the vehicle properties:
As well as all sensors contained in the file:
Finally we can release all handles:
For the full implementation refer to Rig Configuration Sample